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": "123a4fe1-ca4c-4eec-a0c3-f4df26aa4ebc",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6b27836d-8cc2-4c31-9cfe-438e7b3be856",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "93446180-5229-4442-905a-b69575d73eb2",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7fdd8c1f-4f12-4943-b451-c4031167b71c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f782f922-bf4c-4d3a-b29c-a3e583ffaed7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71db795c-da47-48f8-ba2a-492938393424",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "38745cbc-4723-428a-8d19-bcf3bcc805c4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-16T03:39:46.9607901-08:00",
"MeasurementValueNeededDate": "2025-12-16T03:39:46.9607901-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "623e6161-0eb5-4f86-bda2-c3e76f3e785f",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9eb7b967-9539-4856-a7ea-3036d1a0f883",
"EffectiveDate": "2025-12-16T03:39:46.9607901-08:00",
"StateType": {
"StateTypeId": "e4d7cf35-9eba-4782-be96-8b0aa2fa70eb",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f782f922-bf4c-4d3a-b29c-a3e583ffaed7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71db795c-da47-48f8-ba2a-492938393424",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "85c4d03a-93ed-4e2d-9bf8-dd4cf54add99",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0cef4da5-c18d-4ae9-aae4-02b5d295e6af",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "37a1d549-38a4-4ffe-9d36-dee761b34f64",
"EffectiveDate": "2025-12-16T03:39:46.9607901-08:00",
"StatusType": {
"StatusTypeId": "80482365-64ac-4a11-9e8a-21137c6f56b8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f782f922-bf4c-4d3a-b29c-a3e583ffaed7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71db795c-da47-48f8-ba2a-492938393424",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b514968f-a2e4-40dc-a708-490e0946d01d",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c15b42bc-3d68-4173-a8cb-3db2cdd2cf35",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5a5e4c9f-e446-4028-99cb-5081b94701d2",
"EffectiveDate": "2025-12-16T03:39:46.9607901-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "ad87ef74-dbe2-4aff-b9a5-2fb68349e220",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "436a3d3d-1356-475a-9a31-52159b4315be",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "46bff6aa-0ad2-439f-aff3-8e9c45b223ff",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-16T03:39:46.9607901-08:00",
"MeasurementValueNeededDate": "2025-12-16T03:39:46.9607901-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "462d174d-dc70-4905-87f2-17909830b462",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-16T03:39:46.9607901-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "93e1452b-2107-48a9-a130-4e512c8da017",
"CreateDate": "2025-12-16T03:39:46.9607901-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9607901-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": "ffc2c04a-a6ae-4daa-99cc-571eacd743a9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "62c18e6b-4ec6-4d43-929f-f8c3d1631b23",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e4d9b0bd-6738-4bfc-b16e-f0d04167d71d",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a99c8aee-e5d7-429f-bf05-8f616d95e8e7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2d200995-0da3-4b0d-9904-10466d21b1a7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7a17256e-3588-4d2f-9634-2206d106a8ff",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3f8de87b-e7fb-4ee8-9fb5-4fa6b398a558",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-16T03:39:46.9763929-08:00",
"MeasurementValueNeededDate": "2025-12-16T03:39:46.9763929-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "889dbc5f-a64b-4168-968b-ede4b6f4c582",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d9541d2f-131c-4266-b110-3d08b3009443",
"EffectiveDate": "2025-12-16T03:39:46.9763929-08:00",
"StateType": {
"StateTypeId": "f8847f22-094e-4f85-ac08-85d40434e87b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2d200995-0da3-4b0d-9904-10466d21b1a7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7a17256e-3588-4d2f-9634-2206d106a8ff",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e1b7b7f3-8459-451b-9276-0ded3ea9ee70",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8c94ac10-523f-4172-8e99-b2ee9998011a",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "16b90dbc-04c7-4b61-8d6b-e5046ea7fbdb",
"EffectiveDate": "2025-12-16T03:39:46.9763929-08:00",
"StatusType": {
"StatusTypeId": "78bf0adf-af0a-4c52-a012-237745d3286c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2d200995-0da3-4b0d-9904-10466d21b1a7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7a17256e-3588-4d2f-9634-2206d106a8ff",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ae3dc8bc-aa4c-447b-ac74-7c3c861741ad",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ae9c39cf-96e4-4b63-b93c-75fc8efa2b62",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "dcc5b675-f847-42ac-ba11-d5a0b43a9ad4",
"EffectiveDate": "2025-12-16T03:39:46.9763929-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "7f79713a-ac07-4e71-b413-e922383d89af",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ce14b62f-7071-4b29-afad-070374df3f67",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "12b278c0-ae1f-4181-960a-8f20cf2c8c06",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-16T03:39:46.9763929-08:00",
"MeasurementValueNeededDate": "2025-12-16T03:39:46.9763929-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1cdf5cc0-ddf5-4394-95a6-4f50de5a2bd0",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-16T03:39:46.9763929-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "31a4f5d3-f478-4837-b0f6-93419cf90162",
"CreateDate": "2025-12-16T03:39:46.9763929-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-16T03:39:46.9763929-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}