PUT Attachments
Updates the given attachment. Only the Name and Description of the attachment may be updated.
Request Information
URI Parameters
None.
Body Parameters
The attachment to update
Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AttachmentCategory | AttachmentCategory |
None. |
|
| Asset | Asset |
None. |
|
| FileType | string |
None. |
|
| FileSize | integer |
None. |
|
| UploadDate | date |
None. |
|
| Content | Collection of byte |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": "62d27b34-c4a2-48b8-9723-f00f5928dc6f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "341e2d4d-09fb-4d21-99ce-4ff7297d6416",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "585f4a5c-f7d4-4d58-95f8-cb06a9f44509",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "984f4f66-4a41-4c9f-b0d4-c897e80cdbd0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5c001aa6-db0d-4629-a441-f5fef63bb77f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8fc39d40-f279-4ce8-9ee3-e438cd80768a",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bf7c1fd9-8b48-4678-98a3-b8833cfc1a0d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"MeasurementValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a981390d-66f4-492b-9d27-a8544233d5b2",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"MeasurementValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3943777c-e727-4a21-9b4a-9cae348bd1de",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-01T13:58:18.7569967-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "11a76680-f811-4af7-9ba7-928e8ab0756f",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the updated attachment. The Content of the attachment will not be filled in.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AttachmentId": "c98a5fdf-5158-4f89-a8fa-74c0bd634702",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2aad600e-b24f-4b92-9c64-7e6337ca129c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2b158924-323c-4aa4-81c4-2ac9da45951a",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ff37f38c-7f94-4626-9d68-2bbe6cd8525c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "50d08cc0-bc2a-4378-9171-e1f471a64c65",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1aac75fe-1597-4533-8173-e19911745926",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "a14e81b0-973d-43c2-9d62-938bcc904072",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"MeasurementValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cd0248a5-a0c4-4866-893a-d15efc051c02",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"MeasurementValueNeededDate": "2025-12-01T13:58:18.7569967-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3ad0989b-9f68-4530-905b-b654e12fa45f",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-01T13:58:18.7569967-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "4a1bcb2f-54b4-4430-bbc7-cf3fc06d1316",
"CreateDate": "2025-12-01T13:58:18.7569967-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T13:58:18.7569967-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}