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": "519aa555-d49e-43ff-9312-28b9ffa72c47",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "49147b3a-f189-4d47-8588-d97e207d16ef",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ec27486b-f3c0-4894-97bd-b206de394abc",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "23f4099a-b580-4b47-a8ca-22494511dc9b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b0c719c1-c637-4272-af30-259bd3c1a608",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac474e02-5846-4e89-9da9-4465d7c9b205",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "679eec4e-b52d-48b4-b77d-a119d6e89e55",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ed56bfbf-0b84-4d7c-9a2f-5be6fd1f62df",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "112a5d2c-d364-42d2-aeef-f453f75571bf",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"StateType": {
"StateTypeId": "91cd6354-e7ea-4f64-a3e9-3f9a680663f1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b0c719c1-c637-4272-af30-259bd3c1a608",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac474e02-5846-4e89-9da9-4465d7c9b205",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "202ae7b1-0fe4-4439-aa09-8d3b9a690364",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c9c69cc2-5370-4bc0-b563-349c79212ff2",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ab076553-8c8e-4c54-a15f-cb21c9a5c876",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"StatusType": {
"StatusTypeId": "2b82f6cf-4165-424d-8a0f-de02c7815f7a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b0c719c1-c637-4272-af30-259bd3c1a608",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac474e02-5846-4e89-9da9-4465d7c9b205",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "218db930-b068-421d-b926-265a9135d3bf",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "003a3e66-f2da-45cb-8110-284d7dfde4e9",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "68f11738-58fd-4509-bcae-e0fbfff29ee2",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "8f46117b-ec91-41e5-9e5a-2608d26072ad",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a4522361-4b5c-4ad1-a58f-74bc2f2d0c8c",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "33aa09a8-72d5-41a7-8128-1d9d0d5b5a08",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "adf97e6f-9cca-4f6c-a040-c02507ea8ce3",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-17T04:33:37.2563641-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "22e59944-eda7-4d45-8edd-9a3de0303951",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-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": "c5a14325-b4a4-4f0a-bd79-b07986c13862",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "8435981f-5ed3-4b64-8065-8c6bc7b0f299",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8cfc7c0b-8721-47c9-a220-ee28cd33bb8c",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e68f1e23-797c-4a96-bb65-7c4342a02aaa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0c31be04-5e85-4cf2-aaae-4915a21b0631",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "92de4315-8dc4-4dc1-bc9f-61323267c7f7",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "540f3af2-e3bc-4cd0-8d15-2e6d6dea5b50",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "016e0691-8a3e-459b-b299-26032531510d",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "78ec15a1-8d7f-4eeb-a7d8-a27dc2ec4f9a",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"StateType": {
"StateTypeId": "9f704322-cfad-40fc-b0e8-8c6f1c9ce772",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0c31be04-5e85-4cf2-aaae-4915a21b0631",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "92de4315-8dc4-4dc1-bc9f-61323267c7f7",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "39e90ed0-16f4-4e98-87e9-5377725b8aa0",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a6017280-c4e9-437f-97c4-d390c00d5c83",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cf1c8c81-f773-4b00-b8f2-649ca8fe084c",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"StatusType": {
"StatusTypeId": "2c90ca15-c2bf-4aeb-8c47-43e9cfeded0e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0c31be04-5e85-4cf2-aaae-4915a21b0631",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "92de4315-8dc4-4dc1-bc9f-61323267c7f7",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8ad8b364-0922-47e8-a65f-a4ccc1f1975f",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3dfb6b00-3eb5-40d7-89a6-692c1f07c4d7",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "bf0c284c-afcf-4c04-bfa3-fcbb2b95d5cc",
"EffectiveDate": "2025-12-17T04:33:37.2563641-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "993251bf-1180-4577-b258-c8c3381fafd8",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5aaa9ad0-feee-4e90-bd3b-7ae068d6d3bd",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5ccbd653-f8bf-45ce-93a8-040b17b2877d",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:33:37.2563641-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1cd5cbc7-d841-4edd-a260-2a2a455a946f",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-17T04:33:37.2563641-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "37bd154a-1cbe-4faa-946f-432668dcc680",
"CreateDate": "2025-12-17T04:33:37.2563641-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:33:37.2563641-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}