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": "d17f2109-f7cc-4717-b4be-60ae404d132b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "04d2408b-a1bc-4d47-9cb8-00ee2e56fd2c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "be9ae764-59d7-41f9-a30e-e67eec9a1065",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "140a9b0c-77e0-4851-8a84-680e7b51601e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "990cc293-1eb2-4a18-a561-0c0c8a9b14bc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7e29e165-b108-40de-88ee-f2cf5b652c79",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "8cf10732-5f7f-4533-89d9-6d5c20b5dbfb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"MeasurementValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4da77198-fd20-4626-b37d-a70ec63b3e68",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"MeasurementValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d44424d-e538-4e01-a3ab-bfd3c386de5f",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-15T15:08:55.6013679-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a9008102-7ee5-4ebd-85e7-9f85cf5dd1b1",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07: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": "5fe89cca-5aab-4325-9dff-2acaedd7c39b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ce80cff3-79f9-439b-9a06-937f1c9f0f95",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "874d4a1c-8365-4421-aaeb-2011d6b3b6ca",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "52dcabab-425f-4064-a9cd-31465a85862f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7b72db51-0001-4ea6-8f3f-9e43dc2c8234",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "95452481-e841-4d46-8c65-e0e20a30cb79",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "31cf5035-abe1-4549-a8e9-6b2839052700",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"MeasurementValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "19ec83ce-e0a3-44a4-8d89-931b7eb5aa92",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"MeasurementValueNeededDate": "2026-08-15T15:08:55.6013679-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "67cbe1cf-7dc7-45b4-9746-cc669c83c3c0",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-15T15:08:55.6013679-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ff616be3-9c11-4fc6-940e-40fb1e76c74a",
"CreateDate": "2026-08-15T15:08:55.6013679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-15T15:08:55.6013679-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}