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": "ed589ed6-d812-4bfd-98a5-c5a5539fd05c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "7803af26-790b-44bc-90f4-74707672d378",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f2ad885c-a6f1-4b47-9d72-3c23417e0a59",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "8987982a-81a4-451d-b58e-3b64316418ab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ef1e77cc-a736-4416-a2a9-26db6eddd5bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d289e3a2-15e3-4cba-b4ba-d99682b8ac83",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c3326f79-91ee-4d5f-b556-cae807cd6f1c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8b1870df-0874-48dd-86a2-89370d0a3443",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "fb2059fe-f43a-42e2-a5b4-d4ac87fc87d6",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"StateType": {
"StateTypeId": "936e719e-9c9f-4fc4-af17-0dc2a74ab18f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ef1e77cc-a736-4416-a2a9-26db6eddd5bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d289e3a2-15e3-4cba-b4ba-d99682b8ac83",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3d6939d0-3558-4f9b-803b-e6bb6938c73e",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6a0a4cc7-f99f-4671-bec8-bde57e48cc1e",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "bacdc69b-274f-49c4-aa7f-ed27694ba97e",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"StatusType": {
"StatusTypeId": "452f8d7a-5e02-4781-97da-4da4fd07495e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ef1e77cc-a736-4416-a2a9-26db6eddd5bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d289e3a2-15e3-4cba-b4ba-d99682b8ac83",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e71e4334-bf48-4cc0-ae15-af4d03a489b0",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7a47992d-c03c-415a-8d2e-f0a59a2665b3",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "28b9c95b-7b62-495a-b9a2-cc41b5f80f00",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "674729bf-94ea-4d66-8b2b-9b87307e998e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5b9b9c7b-07c5-4737-a7dd-c5a59bb78110",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5c356593-08ab-4384-a7e4-5071b0a025f3",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a257b449-d90e-4165-a797-50d7a50c012b",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-11T22:26:03.7080607-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "90d043f9-69ea-4d12-b99e-1eccc80febb3",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-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": "89bd2531-9ece-47a8-9ed0-27f5a86c621c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d1c681a3-2449-4726-be05-58fe05fd9488",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7ae0a883-9fb0-4993-ad98-6b69f7b68c97",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1aa0fe36-e51c-4c81-a5f4-6ca193450933",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "822bce96-12e8-407f-853c-d7fe3195b1ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c294b372-e20e-40fe-ae0f-2bf05d2a40a6",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "85778faa-28e6-4283-9ff6-9e71d648c37b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e30ef14-1351-416e-a965-4fe201103011",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7895e9de-6d52-4dec-a2cc-33a20c4a1394",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"StateType": {
"StateTypeId": "2301f364-668d-44f9-8751-70c680301cfd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "822bce96-12e8-407f-853c-d7fe3195b1ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c294b372-e20e-40fe-ae0f-2bf05d2a40a6",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4a48edd4-40c6-4c31-868b-4a75dc93d583",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6c5ed361-9789-471e-9386-c7c208af3875",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "fff5f7a9-6085-4564-9e1a-2e2ad86d16e2",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"StatusType": {
"StatusTypeId": "b737cc3f-945a-477a-adf1-435456996351",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "822bce96-12e8-407f-853c-d7fe3195b1ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c294b372-e20e-40fe-ae0f-2bf05d2a40a6",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9241694d-5aaa-42d9-b077-2bce625fe45a",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5dcb1d3e-4434-4b5f-808b-6702f11cabdb",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ce29f860-4e25-4994-8f1e-0fa3b4eeeb79",
"EffectiveDate": "2026-08-11T22:26:03.7080607-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "4e9df4fb-7301-4a4c-8759-1317f13f9df6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "309157c2-05b8-4d62-907a-94a4ddb53e53",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "09054830-909e-4bc1-b83f-29cdc1b80d2e",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:26:03.7080607-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1571e3e9-15a7-4be9-b312-f9b25c96f279",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-11T22:26:03.7080607-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f37d248f-e56e-488a-964a-097170833528",
"CreateDate": "2026-08-11T22:26:03.7080607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:26:03.7080607-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}