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": "1594a003-61cc-4006-afe9-4776b6cbb91d", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "480ecad3-79dc-4f46-aa9f-b52f2203f878", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "baece186-1db3-4351-8e3f-a33b139b7a63", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2bb4fde1-55c6-4a05-b1e2-80815da3b0c9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9cbe8236-6b40-4685-bf45-3691088573af", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7da4fb83-1531-4fcc-80b5-ccdc164b2163", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ce1e5617-d4c8-4474-965f-25f433dd4f08", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "MeasurementValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6e0da5df-b7d5-4468-907e-5caf1d789910", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "MeasurementValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0a823a9f-1838-4df7-85c1-ab5abf6744da", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-16T13:45:47.9058714-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "86123264-b032-4349-8db5-68c42c39bf21", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:45:47.9058714-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": "fc4d5eb6-a11d-4359-89c0-37b979b511df", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "ae7db37c-c2bd-4261-beeb-9c5353973f92", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a007a56e-85d1-4324-9b39-739bc715b8c6", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "2821b4a8-e4ff-4c47-ac0a-c1e79dd757a6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "396cb500-54df-4790-a539-0de24cdcfe52", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "09fc159b-70fe-479c-9db8-7220045bbdae", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f636fe30-fe76-4e30-baeb-056d044a3046", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "MeasurementValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d8818395-6db3-444d-82ef-ef44faa9deab", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "MeasurementValueNeededDate": "2025-06-16T13:45:47.9058714-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6ca111ec-588f-4c80-9e3a-3c7cf2811c14", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-16T13:45:47.9058714-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "a4054c12-b038-4508-89c7-034bf56a4c48", "CreateDate": "2025-06-16T13:45:47.9058714-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:45:47.9058714-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }