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": "9a5a92f7-bef7-4c01-9fdd-78f6f1ebdcbd",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ea14d894-2e5a-424d-a060-914799ce36a2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "90a39807-9d22-49e6-8083-c838391dec20",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "aefb4141-0623-47dd-9c56-c2a2df8adc16",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6bbce96b-3730-4691-b31b-191a5f7e4dbf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c9625631-0a91-41c5-92ab-57a6a845fedc",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "843edd68-964a-4d1f-9e03-b2ea58855a12",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:46.2223348-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:46.2223348-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8c93d489-de7f-4337-900c-6f1b69159dd8",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "fba810cb-2e2c-4ba7-a2d5-fa57ef7b2639",
"EffectiveDate": "2026-08-04T17:26:46.2223348-07:00",
"StateType": {
"StateTypeId": "3b085504-9552-4c22-9481-602f4dbf9748",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "6bbce96b-3730-4691-b31b-191a5f7e4dbf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c9625631-0a91-41c5-92ab-57a6a845fedc",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "147fdc2c-c988-4d43-a2cc-5129af1e6054",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "62c5dde0-1e6a-4268-af12-7afc6f5e9f81",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7a6a66f2-b836-4306-b171-90b194ea5f32",
"EffectiveDate": "2026-08-04T17:26:46.2223348-07:00",
"StatusType": {
"StatusTypeId": "6fd1cdec-f764-47ce-a873-482cd2afec5f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "6bbce96b-3730-4691-b31b-191a5f7e4dbf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c9625631-0a91-41c5-92ab-57a6a845fedc",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0d587dc4-a278-4c99-8a36-d1f70bbe44fd",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6ab0b3a3-845a-42f6-8cfc-59ee6622c81b",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "db11cbfa-2205-47a8-b5d3-4e073985a645",
"EffectiveDate": "2026-08-04T17:26:46.2223348-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9f5a764f-b462-40bf-b3dc-f06f3cb1d3c5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e10ec9ba-0ab2-4c09-9032-16fbd04aa6ff",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ab306e09-df32-4a85-8f12-f04a42485eb0",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:46.2223348-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:46.2223348-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4237ddec-71c1-4aba-809d-b3d420da7e2e",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-04T17:26:46.2223348-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5cde3758-6862-42ce-8bf0-f2da9a60ee04",
"CreateDate": "2026-08-04T17:26:46.2223348-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2223348-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": "314eeef8-2039-4452-a0e9-5e839f78e9ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fd4fa161-4409-44da-9429-e1010846d7eb",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "93b5bbad-2e78-4337-b8e9-07943fa81536",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "0f36496a-7812-44ca-b1c3-4c4d91b4834e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "16ed5bf4-15f6-4417-8f53-b09636bdf0b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c3f2ccdc-68d9-42ef-8f38-a2bc5c926d0e",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bb3dd5c4-0920-4d4c-b4d2-cb85898130ea",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:46.2379589-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:46.2379589-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8defd22e-17ea-4364-a1ec-b97e85e2bc95",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "033f7c96-6690-4e6a-9ee3-538cdd63d5f8",
"EffectiveDate": "2026-08-04T17:26:46.2379589-07:00",
"StateType": {
"StateTypeId": "e23d978f-0153-4f15-a739-8ce8d38d6699",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "16ed5bf4-15f6-4417-8f53-b09636bdf0b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c3f2ccdc-68d9-42ef-8f38-a2bc5c926d0e",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "573e16ed-dd2e-462f-8416-84a76211e2cd",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c75863c1-26c5-4367-be42-394f1fc528d2",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "35a3ccb1-a883-4a97-ba42-1a25423a9a58",
"EffectiveDate": "2026-08-04T17:26:46.2379589-07:00",
"StatusType": {
"StatusTypeId": "908e41b2-8484-4a00-860a-059fc7d9368a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "16ed5bf4-15f6-4417-8f53-b09636bdf0b4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c3f2ccdc-68d9-42ef-8f38-a2bc5c926d0e",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f853466b-922e-4fd2-be5a-0eb19a6cbd92",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3df06354-bb59-41e3-ab05-d9fe192f451a",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "92a80e90-84ba-4b95-b451-d407489c2915",
"EffectiveDate": "2026-08-04T17:26:46.2379589-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "45df2ddf-dd85-432e-8791-b3c7099d201f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bfadc29b-c7a2-428a-982f-1729a8355066",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "018251c6-4e47-4d1e-bb64-09a4c9f2ede6",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:46.2379589-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:46.2379589-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1fad63c4-920e-4f3a-a053-77e9498a5b17",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-04T17:26:46.2379589-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0f5db8cc-fcce-4237-a334-fad995c328a1",
"CreateDate": "2026-08-04T17:26:46.2379589-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:46.2379589-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}