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
AttachmentName | 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": "a63f9177-308f-4133-bc63-deb849cf14dd", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "7f44e1f6-7f88-4ed6-87c9-760f294b4a4a", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8cc29042-bffc-41d9-96b5-15a97ce972de", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "dbe25e34-dd52-496c-98ef-06ca7940a9b4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5e5529f0-c461-47af-9e65-14a4ab6915b6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0bfaa765-6276-4dd1-92e4-579158358426", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "09d5113d-1587-41e9-a9dd-39a37a463a7b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "MeasurementValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8a2b467b-6b63-4660-82b3-b185c23f70de", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "MeasurementValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "053d6d49-4060-4316-9790-3310de07adb8", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-10T13:40:29.5078652-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "b6fece28-cf05-49b1-b652-0ba9c6bb7b1e", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T13:40:29.5078652-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": "09f5031b-db5f-4da3-bcb9-30eba097f027", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "dd93401d-f58d-4bc1-8ad1-65db905b571c", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "907aab84-fa00-4d62-b9e3-36e40efa283d", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "bafdad45-1b11-47d4-9275-5059d1802879", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d928e366-0329-460d-8134-bb1f5b317db5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "abd531e5-e93b-4b87-a6d0-1ebad89df1fb", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "5f36de1f-ead3-4bb0-af2d-20369cfd29dc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "MeasurementValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "SourceSystemId": "sample string 3", "CompanyId": "dd5f5999-8a97-45df-91a2-5d2579eb7d6b", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "MeasurementValueNeededDate": "2025-10-10T13:40:29.5078652-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1d86901a-2f45-4503-9f9c-6205375bad54", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-10T13:40:29.5078652-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "73022abf-a135-4170-98c8-5f1b5f332052", "CreateDate": "2025-10-10T13:40:29.5078652-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T13:40:29.5078652-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }