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": "b4b74025-5698-4237-958d-b19d202a4c68",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "aa35707d-6b9d-4ba0-9398-2e74feb11303",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "44a77542-2bd5-4208-a64e-5bea08bf00bd",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "85e53e09-0b26-4231-abf4-2bf567bee5ce",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1b713e8f-2ed2-41f3-9db8-4e3e00233b8d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bcb2d1cb-e17b-4a00-bcad-db86ce9f2ae9",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "991f28a3-58ef-4093-aa9e-a06c5c791a64",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"MeasurementValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d5a58285-70e0-4517-9754-ffb337c26491",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"MeasurementValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a6b25888-2ec5-4e20-b643-fb5d4886e9bb",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-05T17:00:45.2297859-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "318c28aa-f610-4343-a557-ba4f6c055adf",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-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": "05b9c340-1fce-4277-a1ad-bfdba9e5d844",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e7f1dcfa-0d31-475c-a4f9-ad0eb3b41a1b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5c9e2147-1fcc-4321-b07d-39e48dbd25dd",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "be910299-af08-4a24-8c70-e6ce8ec6e41d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b8e724d4-5344-463d-946f-8dd99f92686e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e19048f7-9a56-44bf-a416-e0ec023cf3dc",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "7f2feefd-7c81-4f76-a32c-b4766cb0fecc",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"MeasurementValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c8034899-438b-4f37-a229-e85c8e5e1caf",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"MeasurementValueNeededDate": "2026-02-05T17:00:45.2297859-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fa218968-7535-4fe2-af68-00bae1a6a68c",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-05T17:00:45.2297859-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "86765348-2786-4e99-a4b6-cf8556953972",
"CreateDate": "2026-02-05T17:00:45.2297859-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-05T17:00:45.2297859-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}