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": "21d6306d-d71d-45f9-ac34-a1553a2bc96c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b23771c6-7bb3-483b-aded-8a0c8075b18d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "869a5eb6-a5ae-4539-8fef-2763747948c8",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b39e1396-eff3-4bf2-a900-ffa2940b0d0e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ac25f10c-283c-4b99-8424-3a94a88e1dd1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1a96fec-862a-4449-86ab-b7564ed06909",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "fee66a03-debe-4d4c-a6c3-79137827c482",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b08b7085-3954-4f58-acd7-dde4ac3740ec",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6f823681-a6a1-4879-b39b-de646c7706af",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"StateType": {
"StateTypeId": "d188ec09-6c33-4a55-b0f5-2abcfed9ed6c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ac25f10c-283c-4b99-8424-3a94a88e1dd1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1a96fec-862a-4449-86ab-b7564ed06909",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c937ed8a-1156-439c-b28f-c9177f0edc35",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0d0f702a-6e55-476e-aa0b-36e785c28c37",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e2249ed9-330e-4766-bbbb-dd21c8e9b295",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"StatusType": {
"StatusTypeId": "920a8a34-82b6-493a-b520-56d2bc68ec4c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ac25f10c-283c-4b99-8424-3a94a88e1dd1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f1a96fec-862a-4449-86ab-b7564ed06909",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8f5500e8-4f9e-4807-9785-27b8504f35bf",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5e208104-bb6a-4c85-b53d-7549ce0192fc",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "55d63be1-d024-4e50-8454-bdfc2af125ca",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5729a38b-f4a1-431a-a603-982ce65e8880",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "12c3e83c-9f31-4ce1-811d-c2150dacf413",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "59702730-d298-4817-b152-e0a21b223757",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4dbcc993-2401-42b1-b560-9db7f5f55e05",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T02:41:04.3590287-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "7e62135d-c9ba-4c4a-8f34-8dd7bf339a49",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-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": "1dcf5cf6-d3bf-4fc8-9f3c-18ff60326821",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b2b51c51-cbe9-4e92-8291-bf6f5958bb6c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0974e216-061e-4539-97df-c8ea070e0fd2",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4b1205e8-c9d2-4c50-afc5-4a921a467b74",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7b3ffe4f-9266-4640-a268-e2a28e8d9cfe",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3c3893b7-1c36-4b83-b13f-71d4c630e56b",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "901ce6fe-d30b-4617-add2-d8a89cdde387",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "380f7ffc-144b-4592-88fd-70503f557edf",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f649432b-9f4f-4389-ace6-7fb759004405",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"StateType": {
"StateTypeId": "d7e86d4f-4c6a-4696-b761-f45fbb8b5b56",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7b3ffe4f-9266-4640-a268-e2a28e8d9cfe",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3c3893b7-1c36-4b83-b13f-71d4c630e56b",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0ed1487a-796f-4b58-99ae-a8ca08880235",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0190b154-65fc-4736-ba70-d3a22db7b935",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "6d46957c-99d7-49a4-9b32-1578d3347a3a",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"StatusType": {
"StatusTypeId": "5d524784-ca5c-4277-bbdc-3c9677299388",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7b3ffe4f-9266-4640-a268-e2a28e8d9cfe",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3c3893b7-1c36-4b83-b13f-71d4c630e56b",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1f7a9b62-306c-4c2f-b238-dc2035b2556c",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "857a1565-cfaf-4ab5-9fa9-a77066331426",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "eb6618b5-cd23-42f2-9f85-65d02c66ce35",
"EffectiveDate": "2026-10-04T02:41:04.3590287-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "72fd8189-946e-4a85-9c24-9cc17a269ad5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b975cb0d-02c5-4177-8394-c745c4e87c4b",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ba8e403f-d56b-4601-9987-1c36cdc0af85",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"MeasurementValueNeededDate": "2026-10-04T02:41:04.3590287-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f911aa39-d146-46e6-bdff-099e32feb256",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T02:41:04.3590287-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f9250dbc-5714-4459-9c3a-0864e7c141a7",
"CreateDate": "2026-10-04T02:41:04.3590287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:41:04.3590287-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}