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": "748b5a32-7b04-496f-9ce2-6678310aa43e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3ec5a239-18b6-43a4-ace4-1d20c88c59c5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fec51695-b660-44f8-8771-a88357c547c9",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "69b5a87b-010a-48d2-9ad5-5d1385aad9a5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "aff294ac-e764-47c4-901a-c92742c84fa1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9672b070-8f24-4ecb-a950-ac20f5249016",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "407c83b0-76cd-4bde-b0e2-e5b6fcc5a8a9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f7165390-9da0-46a5-b9c9-b008b2a36b4d",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e7723591-84de-492e-95b5-9086576ec23e",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"StateType": {
"StateTypeId": "1f118ecf-4da4-4507-b3f1-03d1e316b7ce",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "aff294ac-e764-47c4-901a-c92742c84fa1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9672b070-8f24-4ecb-a950-ac20f5249016",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2954a091-a2cb-4525-846c-b99d67d2cf40",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b63724a9-314e-48af-98e9-1a6caca42101",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b45742b1-7a82-4bd9-b3c9-ebd5618957f4",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"StatusType": {
"StatusTypeId": "3b18c802-17ab-4339-b4e5-8b140fd4a849",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "aff294ac-e764-47c4-901a-c92742c84fa1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9672b070-8f24-4ecb-a950-ac20f5249016",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "296d7a4c-2e25-4379-aea7-b8e31056deb6",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6f080030-f61e-4676-a558-0cd8d490070b",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9d176160-b978-4c88-9ed2-52263721e63d",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b55abfbd-b535-4376-976e-c632a09387ce",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7248a6f1-9af5-40eb-a8dc-c2bec20aa9d5",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "869c37a3-a120-4515-b5ce-922dbc5511ba",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "16c4fa0d-444e-47d4-830c-31c3d2abbef4",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-22T01:43:10.7675559-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "57ea7697-9834-4b8a-9278-4160216e8324",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-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": "4a80dfb0-9103-4903-9c84-ff58df06791e",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "bfbacf8a-ac6f-42a4-80e0-24d0a6e16ec8",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "42ae7235-8633-4e17-a46d-6697d5c645e4",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "720b6b9b-7077-45d5-95c5-920e1387464f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0a003794-d61a-4680-a6f7-eaeb72819d65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f5f53af9-4e0d-403f-bf04-2c26faddf085",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9044479c-a659-4cc6-9047-2f71a8c33b29",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c57aa20a-c8ac-4b76-9576-6851341d1d2b",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a8194ce3-0334-4b64-bb67-9908938c7d90",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"StateType": {
"StateTypeId": "4423f23c-19af-42e5-a68d-bc73fcd8a059",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0a003794-d61a-4680-a6f7-eaeb72819d65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f5f53af9-4e0d-403f-bf04-2c26faddf085",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4fb64958-77d2-4ac2-918c-abad7db8d2c6",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3ce47b10-ff23-4aca-86b6-582dea520698",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8c18b436-8ae6-4855-ada1-bb11dbae7072",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"StatusType": {
"StatusTypeId": "7e4c9f3a-aea3-413b-82df-96029d05d80f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0a003794-d61a-4680-a6f7-eaeb72819d65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f5f53af9-4e0d-403f-bf04-2c26faddf085",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "bff65ef9-ed0e-475f-b936-0a789df17ecf",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "430422e7-c8f6-4da4-800c-5d11313d71b5",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6b7d7203-fc8e-461a-bb9d-70b757405070",
"EffectiveDate": "2026-06-22T01:43:10.7675559-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0ae14152-c3b0-4b04-a0dc-d2356dda6042",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d1365a3c-9928-4aab-a5ae-22c7cf40ab41",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7f2b993c-7cfc-47cd-95ab-7d8168a89fb7",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"MeasurementValueNeededDate": "2026-06-22T01:43:10.7675559-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1d8309e7-8686-4b52-8458-e905530021cf",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-22T01:43:10.7675559-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8d42406d-4b6d-4b8a-b59a-4ac243d15b91",
"CreateDate": "2026-06-22T01:43:10.7675559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T01:43:10.7675559-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}