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": "d8809373-86b4-4442-9232-0678f9d659eb", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b281d7a7-4c67-410a-93ac-ccf95521f296", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "779ba1d3-b6c3-4fd3-9ae6-4aee122189ef", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "eb674957-0263-448e-8af3-096c2aaf226b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "10c32777-d516-4411-b7b7-b635118357a6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "27d75b87-fb34-464d-85dd-2f3ba2ba3deb", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2606bd69-76a6-41d8-8983-ed97e98c08b9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "MeasurementValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8fbbc2c5-7143-4ce9-a9bb-6af766c7ecf4", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "MeasurementValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1d4b7790-7e08-4323-9a68-48d9d6e5de9d", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-25T06:46:18.2884369-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "2ff084cb-1f62-4b7e-a6e3-9070a6d47e4e", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:46:18.2884369-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": "f3f687d2-6e16-41ef-9913-c2bc29c75d41", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b394243e-b28e-4ed6-992f-694073bca6b1", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "433d238a-59bf-4064-aecc-f4627f497dce", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "821575ac-5ae5-468b-bbe4-51155baaa3ba", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3d3c01ef-e9d7-4d6b-be00-194fd5007252", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b33f4051-7c7e-4f60-8ed9-3a30738c0195", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "49902a77-24fd-465b-8bf8-ae6516a15632", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "MeasurementValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a0dbeff-b42b-47b1-b01f-4a156de33785", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "MeasurementValueNeededDate": "2025-06-25T06:46:18.2884369-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f8d35635-b394-414a-9608-df331c196175", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-25T06:46:18.2884369-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "a82a36ac-1264-4954-b6a1-2870a820debb", "CreateDate": "2025-06-25T06:46:18.2884369-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:46:18.2884369-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }