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": "cae8ed69-10a2-42b9-b820-07e6cd67fc74",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "01ce8f79-7f6e-4a0e-b512-e0b60379cfab",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "eadce8d5-8231-48c9-a3be-b0a7c70ef567",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6410e95d-3c11-4378-bbcf-a4869424f226",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "75287c4b-61f4-4fe2-9e38-a8ca47f5156c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "eb8dfd36-3330-4daf-8c87-722c397b8820",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "118e25e8-cad1-462e-bce9-d826518b72dc",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"MeasurementValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c4801615-dff4-43ef-bb34-37983fb24df3",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"MeasurementValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "da9f8d4e-9854-4295-9ba4-5c994aacc82d",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-21T07:27:00.3425326-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c4c53653-cb4e-462a-bf48-335446c5c2e6",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-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": "3b600871-9e07-46f0-a53f-de23aecbcb3a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fb393ff9-e98a-4b8a-8e81-e5bf16f88cb1",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "67b97d31-e49f-471e-a435-07072a7535e2",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "cb44338c-60cc-49ad-8d64-3db29ab478d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "96d8dba0-7cf4-4650-b8e7-7b810ae6b1ea",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4c1f5770-7040-4e96-8e4a-7ad4d2fcf967",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c92e023e-bef5-4a8a-bbc2-1de5d6bc1ceb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"MeasurementValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a9184a0b-3be0-47be-8a03-1abd43d86fbc",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"MeasurementValueNeededDate": "2026-11-21T07:27:00.3425326-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fb17cf7a-199d-4192-be85-231f5e96c965",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-21T07:27:00.3425326-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8b18ded7-7f6b-4ea9-8426-edb810396013",
"CreateDate": "2026-11-21T07:27:00.3425326-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T07:27:00.3425326-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}