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": "e75f8a7d-6c75-455d-9de3-2781be9d808b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5432b253-e861-4731-98e8-9ded794514a2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6770afbe-29b7-4f0e-92a4-12ed36787cc3",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6ce744cc-d2c9-495b-b12a-066c285c8209",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f11e8277-0bd8-4048-8da7-bcf4c5d6178b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fce0778f-5145-460d-80bd-1af229bbcab5",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "f33f2d77-fc28-4529-91b0-3ba8905a7cab",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "31116dbc-863c-4bd3-b036-4d3eacc15727",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "357e14ff-25c6-4ebc-a050-0c1c821d3b8a",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-21T16:05:28.6890422-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "80a37ece-1b81-453c-9dc5-d9d54ae7d10f",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-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": "c1910d36-20e0-4cc8-b364-f3b0c60ff163",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4417ebe0-597c-4c4e-a1f8-11fc13e9990f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "540e1363-1362-4aac-ae92-441d2b930d2e",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6ad7f2e5-fe03-41e1-a0a7-b5364ecbfe81",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "70414b68-7e65-49b2-889c-b5b38784ad1c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5527f242-3892-4645-a0fb-616776ba57ef",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "531d84b4-f848-4731-84b1-dc416c9436db",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "acda9b34-24ea-42b1-880c-ae5f2cb3519b",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"MeasurementValueNeededDate": "2026-01-21T16:05:28.6890422-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e4c3279e-bbec-4635-b4d8-3c731b264479",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-21T16:05:28.6890422-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5596f835-fa66-442d-94ba-8887e00bba0c",
"CreateDate": "2026-01-21T16:05:28.6890422-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-21T16:05:28.6890422-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}