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": "d2c2a32c-31cb-4d8c-b849-6db9d76a0c88",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3fcca4d3-e735-4843-b2d5-10fb46bd54d5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "90452733-66f6-425f-af6e-c9dc31c08f06",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "9cbfdcf8-7cb1-4e88-b9a8-3f4d3129e6b8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1397c3e9-522a-4ac1-b561-f7a87a6d415c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f9bb33-4aff-465c-bf4b-364b55fd66b1",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e8346a46-2030-45b7-b17c-2303bd81490d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "797214ca-cd16-456c-9835-9873e5b77179",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1666d4a7-6ad1-4e04-81c1-2111ad368194",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"StateType": {
"StateTypeId": "edde64fb-fc43-4b7b-86aa-e1130fd06d88",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1397c3e9-522a-4ac1-b561-f7a87a6d415c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f9bb33-4aff-465c-bf4b-364b55fd66b1",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ce59251d-6413-47c9-8c8b-6e90d7467752",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "065584a0-2bf6-4718-aed3-87c48762efb4",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "385cc67c-0ca6-4a35-9e6c-270aaaf036e6",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"StatusType": {
"StatusTypeId": "f3d8b65b-eaa6-4a49-b393-d07634e7570a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1397c3e9-522a-4ac1-b561-f7a87a6d415c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9f9bb33-4aff-465c-bf4b-364b55fd66b1",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "783dc533-37c0-47d0-8be5-1874cca8403b",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c495e06b-066a-4e7d-a74b-d7ab8fe9e5b3",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ee7c86f5-2fa1-44cb-8f86-a7380e783492",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5932d9fd-d84e-466b-83cc-00c5c9a6c8cd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3712cf44-18b6-4250-834d-3ae210685d85",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "43d2f83e-69a7-4a86-8bcb-1494812e89ee",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d0bcfddc-fd40-4fac-ad14-a8c017ce1c25",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-07T15:56:40.6230776-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "68668fec-fdc8-4e8c-a62b-ed8189786828",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08: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": "de4d0c6b-a532-484f-93ed-cd814fac52eb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fa60b176-6697-4518-a211-8aecd660afab",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f62a928a-23f2-44a9-b407-c1dba99bcd69",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5240bb5c-4192-4027-bcf0-d12fce4720ae",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "66c5411a-e669-4caa-b7ac-f5d03ab90f88",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba0d3534-8714-4454-b1bd-5583631d8bc2",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e4d391eb-a4c5-435d-9ddd-e058b208b7c9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "117bbfcd-c055-4a18-b8d3-6cb7bc075154",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "66668dc8-1170-4f1b-b5bf-f002d178cb95",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"StateType": {
"StateTypeId": "c877d375-9e1a-47d5-acdf-36fea23868e3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "66c5411a-e669-4caa-b7ac-f5d03ab90f88",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba0d3534-8714-4454-b1bd-5583631d8bc2",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ce9b078e-a721-41f6-912f-4453bdef3b32",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e480370c-cd4a-4a84-9faf-5da7fad7f070",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3ec04863-57bc-4851-b391-b6522867a063",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"StatusType": {
"StatusTypeId": "f2a93fbb-ac1e-4841-8fdb-5ecf93363411",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "66c5411a-e669-4caa-b7ac-f5d03ab90f88",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba0d3534-8714-4454-b1bd-5583631d8bc2",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ac66f71c-702d-4044-a416-79129be18fec",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6b602cf1-8bdc-4da9-881e-95b3fdabdb6f",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "72adaf3d-8a69-4918-8944-a246ebe25442",
"EffectiveDate": "2026-01-07T15:56:40.6230776-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "3806f980-a0de-4863-a734-ce5ca924a2a9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fe5190e6-b5f7-4dbb-ae01-5fd8fde2abc1",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "78fd1bbf-d247-41bf-b77e-c74fe19f174a",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.6230776-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "481ce3fc-a298-4ea5-860a-1ed527bfb18d",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-07T15:56:40.6230776-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "25de92f8-ffcc-492a-b0df-6edb4cfe685d",
"CreateDate": "2026-01-07T15:56:40.6230776-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.6230776-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}