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": "51894951-d32a-4507-aea7-dba23268cbc2",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "AttachmentCategory": {
    "AttachmentCategoryId": "519ba91f-4c18-441c-8d47-3e52c05b97ea",
    "Name": "sample string 1",
    "SourceSystemId": "sample string 2",
    "CompanyId": "06431800-82d2-4d80-9aa1-07dba06eee12",
    "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
    "CreateUser": "sample string 4",
    "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
    "LastModifiedUser": "sample string 5"
  },
  "Asset": {
    "AssetId": "f248d806-dc89-44e3-9abd-a0e7f87ce408",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "26c4a507-6c6b-436a-b045-b4105f6f9930",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "a98fe905-de35-403e-9ead-be8be98a0291",
      "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "05336c70-2c4c-40dc-8eba-6af6be2d4db4",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
      "MeasurementValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "42e1d7f0-e947-459e-8ce0-b24748519173",
      "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
    "MeasurementValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "7a323533-7ac7-43f7-9f90-00d0de27b00e",
    "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "FileType": "sample string 3",
  "FileSize": 1,
  "UploadDate": "2025-10-31T00:39:22.3997296-07:00",
  "Content": "QEA=",
  "SourceSystemId": "sample string 4",
  "CompanyId": "476c7892-f38f-431b-b237-52e25b149fd2",
  "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
  "CreateUser": "sample string 6",
  "LastModifiedDate": "2025-10-31T00:39:22.3997296-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": "650ad4bc-ce09-47f6-ad5a-04300191ca5c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AttachmentCategory": {
      "AttachmentCategoryId": "879a7f5a-5c02-4c59-a928-03ee05572570",
      "Name": "sample string 1",
      "SourceSystemId": "sample string 2",
      "CompanyId": "685fac48-8ea0-4e09-9dc2-360377ace768",
      "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
      "LastModifiedUser": "sample string 5"
    },
    "Asset": {
      "AssetId": "dcc1b6c7-fc20-492d-afd0-ba84b9ac2f0f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "35daf6e5-59db-467f-a67e-c44c15ec5aae",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "8dfb55b5-2ea3-4642-bb3f-2c8603c3b8ab",
        "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "AssetGroup": {
        "AssetGroupId": "3fa0ce62-a9a5-4ea1-a70f-df4d0b86c411",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
        "MeasurementValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "e4af2cd3-b00e-4e5d-80a5-53056fba1991",
        "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
      "MeasurementValueNeededDate": "2025-10-31T00:39:22.3997296-07:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "49d056f1-69b8-48fd-bb55-81ff5184bbc6",
      "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "FileType": "sample string 3",
    "FileSize": 1,
    "UploadDate": "2025-10-31T00:39:22.3997296-07:00",
    "Content": "QEA=",
    "SourceSystemId": "sample string 4",
    "CompanyId": "8c787663-17bd-410a-9328-fa9486006c5d",
    "CreateDate": "2025-10-31T00:39:22.3997296-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-10-31T00:39:22.3997296-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}