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": "8a2f6e2e-46fa-47de-8691-1f0bf8221dcb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e9a61d64-7297-4c17-ad7e-e7e40e05a4c3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f9d59569-5e8d-4d90-8a74-05d8b2673910",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "72fe4a37-c9e3-4a1b-8c5b-2824e06a9ef2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "00b2d1d6-9c25-4a12-9b52-7eda7ffd9e2f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "971306bf-249e-4cf1-89ca-7224c0ab6e8a",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "98203bdc-e478-4e08-b5af-1de666d2340e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5791d4e8-5929-4e9e-a5a0-9611b5d5658c",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "dceb851a-92fa-47d1-83b8-90b39b4cf185",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"StateType": {
"StateTypeId": "3174e6bb-1c54-47c3-8b3a-f721f97d856f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "00b2d1d6-9c25-4a12-9b52-7eda7ffd9e2f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "971306bf-249e-4cf1-89ca-7224c0ab6e8a",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e6e83edb-f2ce-4691-bce6-6ea8547e2abc",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "28040b3a-f448-43ea-8766-9324eec08516",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "196353ed-2d1d-4568-96f2-a8a6d8fdfef5",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"StatusType": {
"StatusTypeId": "b4d13929-b7b9-4947-bb0c-8b4da97e5b62",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "00b2d1d6-9c25-4a12-9b52-7eda7ffd9e2f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "971306bf-249e-4cf1-89ca-7224c0ab6e8a",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "606ee76d-ac89-478d-a9cd-142706cd0ada",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "02220331-e648-42ef-9933-3e906121cf77",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3e3486c2-5169-4f73-a0fb-abc9d9375d13",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "3f03d10c-1b9a-49f3-9526-47211b46173b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "374eaa24-c448-4ef1-aa44-673f3e27ef30",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a3b1932c-86e3-4369-b806-710104997879",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4049f996-055c-47f4-813b-de78903479e7",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-17T17:28:02.9268165-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f3a88845-86ee-4e17-b2bb-13c971f9334b",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-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": "a6795691-eec6-4f09-b746-a1b2db4f44bb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ed0c83c4-75f7-4632-b0da-b524d1d89280",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "36906072-0d05-409d-9077-0aa798a1302b",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7ce22fd3-646e-4b93-8a68-dc96593b18fc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "01571f0b-0285-430f-b5c9-68cae27363c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8cbeeb8a-3353-4889-965c-9eb1a57b7b25",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "034bcf9d-31b0-4390-9397-6f8c95b2df08",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6ce427a2-0d2b-48e9-a5e1-c2b673a9b786",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "902398a8-e092-4787-bb93-1d27327d339d",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"StateType": {
"StateTypeId": "570db899-dcfc-4401-b07b-a213536ba818",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "01571f0b-0285-430f-b5c9-68cae27363c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8cbeeb8a-3353-4889-965c-9eb1a57b7b25",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "07aa2c44-791c-4c97-8c1f-97af89232fea",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8042e68b-903b-4f95-a660-61785911ffab",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d4ee79c6-5fa8-4e69-be83-d287f00beef3",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"StatusType": {
"StatusTypeId": "c0d4cb48-894b-4c92-a88c-edbaa6707d13",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "01571f0b-0285-430f-b5c9-68cae27363c1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8cbeeb8a-3353-4889-965c-9eb1a57b7b25",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "53b70a5a-3d0f-4b13-90d0-238e8ce96905",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "130ca766-a332-4dd0-8bc8-b9baf3aee9c2",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "bb7b484d-118d-4946-8116-d6a12ae3d51e",
"EffectiveDate": "2026-06-17T17:28:02.9268165-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e77337e5-e4d4-4c86-b5e2-7750eb4f94f6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3909a99d-f2ce-4f8e-aee0-13a479935e09",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5a9d306c-2184-4e38-bdfa-001155a36200",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:28:02.9268165-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "748cbfc5-43b5-4b86-8db8-53c1dfc1a102",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-17T17:28:02.9268165-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "e763ac40-cca1-4b4c-9afa-43c7472f6562",
"CreateDate": "2026-06-17T17:28:02.9268165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:28:02.9268165-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}