PUT api/Assets/{id}
Updates an asset.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the asset to update. |
globally unique identifier |
Required |
Body Parameters
The asset model to update with.
AssetDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdString | string |
None. |
|
| Name | string |
None. |
|
| UserId | string |
None. |
|
| FileName | string |
None. |
|
| FileType | string |
None. |
|
| Height | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| ByteCount | integer |
None. |
|
| NumberOfPages | integer |
None. |
|
| CreationDateUtc | date |
None. |
|
| IsInLibrary | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CampaignIds | Collection of globally unique identifier |
None. |
|
| FolderId | globally unique identifier |
None. |
|
| ViewPermissionGroupId | globally unique identifier |
None. |
|
| EditPermissionGroupId | globally unique identifier |
None. |
|
| DeletePermissionGroupId | globally unique identifier |
None. |
|
| CanEdit | boolean |
None. |
|
| CanDelete | boolean |
None. |
|
| OrganisationId | globally unique identifier |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| AuditLogs | Collection of AssetAuditLogDto |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.