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": "1e2cbeeb-74e6-4102-a300-45d194d3fd8f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "980ff063-9fca-4821-9a76-91b4d6d83238",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "db685f2a-e003-4ade-8f82-0dd8acb2285e",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5c3f7bcd-b45d-4fa1-bc33-e8a9a6b5df03",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6a8e409d-8fba-4201-b025-f04fc18ab376",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "45ca5dc3-31b8-4897-abec-f5d56bacdce7",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "fe0360fb-ca1e-454e-9021-feb9255ab5b2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "77895701-a957-4c41-8218-f74813c6961a",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "39ed9e82-34d0-4c89-abb6-fb9810de1aeb",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"StateType": {
"StateTypeId": "d8a7cc70-449b-4523-a20f-199db8d34c76",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "6a8e409d-8fba-4201-b025-f04fc18ab376",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "45ca5dc3-31b8-4897-abec-f5d56bacdce7",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fd8a8ac7-c56b-4549-95fb-1b850783010a",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2f663e83-48ec-4b54-b6f0-3188ff8c663f",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8b46ba09-8684-4d11-a25b-976cf1f4ebd6",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"StatusType": {
"StatusTypeId": "fcbc012c-57b9-425a-b831-9b91656827ed",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "6a8e409d-8fba-4201-b025-f04fc18ab376",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "45ca5dc3-31b8-4897-abec-f5d56bacdce7",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "64f3afce-66f1-4e73-ad19-eb5b4ca3311b",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "657fcdf0-e3ef-4776-b08c-4a64eea85cf6",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "adea5b0e-4e46-4220-84e3-f997ed14f87a",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "094b32a9-69e5-4059-a16f-39f1839eb126",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "815783f6-b2f9-47d4-b664-e5485bee1e8d",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2a495805-a77b-4863-b5bb-db063209d04b",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a4922666-6467-4678-bb6c-abc273a7f873",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-24T21:35:02.5926371-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d9278099-9272-4451-b59c-a0a79cef816f",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-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": "f0d7b26f-e0ca-458b-962b-2466a0b18df4",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "40a9ab1d-6699-41b5-81e3-0d770e135f92",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "83c04b5c-76e0-4a9e-8b10-80d9cd643847",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7f7cbb2a-9f72-4430-aca5-891739cf3dc7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f7f6496d-3b43-423c-acf6-76c4f968f783",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a41c940a-2aca-4d77-9ff4-3c8a658ff7cb",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "0cfe6fcf-a848-4179-9ea3-ebd9ae4d1b7c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fb0df8a1-bcf6-408e-a41f-2d94fc236431",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "0f8569f0-5234-4512-803b-4418cf62808a",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"StateType": {
"StateTypeId": "b255469c-728a-4ed6-9ac1-172b4488c1a0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f7f6496d-3b43-423c-acf6-76c4f968f783",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a41c940a-2aca-4d77-9ff4-3c8a658ff7cb",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e8024e08-4e5d-46b9-86c6-f814019d5bf3",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d31356d-5bbd-44ba-b279-398aa1456af1",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "323f2e07-1ab6-430c-b718-bb358ebd6514",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"StatusType": {
"StatusTypeId": "8fc13227-9935-491a-b95a-069a1fd8e77d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f7f6496d-3b43-423c-acf6-76c4f968f783",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a41c940a-2aca-4d77-9ff4-3c8a658ff7cb",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ea258719-5d47-4c8a-b1c8-47c445adaeb0",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c59b7c55-2181-47cc-93ed-79ef97aa6076",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6ed36a09-a45f-4563-bf61-9b9bd6480154",
"EffectiveDate": "2026-08-24T21:35:02.5926371-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9373eba6-c17f-4d8f-8102-80610981af50",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8bda1c14-79b3-49fe-94ca-d9f5077571f2",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f23687ca-5e76-4089-9074-d18df9c341e7",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:35:02.5926371-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f62cb80a-f195-4404-a4b8-d1ec4be32133",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-24T21:35:02.5926371-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "57dd6c34-060f-4f72-aabf-89b878d5a289",
"CreateDate": "2026-08-24T21:35:02.5926371-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:35:02.5926371-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}