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": "26891dbc-bed0-412d-8780-692c425822d2",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "43cc2dd2-42f4-40f4-b56c-e3e6e6905b98",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "19a67ff8-fb45-40be-9a3c-e6d54890c3de",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7fe1803f-317f-48bf-9102-2045e8c0dc2d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "28719dfa-9dc0-4953-8380-7b3c7e690602",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1e2f73bc-0000-49b8-b1b6-e62342dc415d",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "459e17b9-60da-4d37-9a5c-f9cf18842b7e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-23T01:48:09.567938-08:00",
"MeasurementValueNeededDate": "2026-02-23T01:48:09.567938-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b43d87c9-0595-410b-b27a-6a19dd15d10f",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9fc7b5f4-44d6-4d5f-8a4b-9db4caa19161",
"EffectiveDate": "2026-02-23T01:48:09.567938-08:00",
"StateType": {
"StateTypeId": "acef0845-45a8-4b2d-bed8-456137ca9b4b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "28719dfa-9dc0-4953-8380-7b3c7e690602",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1e2f73bc-0000-49b8-b1b6-e62342dc415d",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0171bae2-d09d-4759-b059-3014bd5db702",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6b79ccc2-9f0e-4852-b1b8-f4f0df1a4a43",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8866abad-5a5f-442d-ad59-cfed61e10fd3",
"EffectiveDate": "2026-02-23T01:48:09.567938-08:00",
"StatusType": {
"StatusTypeId": "a50f11b9-4938-43fb-83db-97d0c22d35fe",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "28719dfa-9dc0-4953-8380-7b3c7e690602",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1e2f73bc-0000-49b8-b1b6-e62342dc415d",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4330e44b-bcae-445c-8e7d-da8273948c84",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b281d0f6-76ff-4365-9d6f-c57d97a6ea8c",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2fffd958-0df7-4570-b093-7e3a1ebc43a4",
"EffectiveDate": "2026-02-23T01:48:09.567938-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "e9c84d30-7711-49e2-8d45-9c2b6cd1a038",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5a11f23d-d52f-49e8-ad51-6b1631162ab8",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "61031175-6db3-4ee4-aacf-ca892029c66a",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-23T01:48:09.567938-08:00",
"MeasurementValueNeededDate": "2026-02-23T01:48:09.567938-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3e9ab1b8-b292-4cea-8f80-724ac2207c8e",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.567938-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-23T01:48:09.567938-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "452f8925-737a-4b45-889e-3e0fc2bbf7f1",
"CreateDate": "2026-02-23T01:48:09.567938-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.567938-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": "64c065aa-dbc8-4f6e-9bc0-a1bfdc60d8ee",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a8c10ccb-11e1-46eb-a0c0-30c8f0e51715",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6b8b1754-88dd-4f7f-86ef-f64002fd934b",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "55885aab-3120-4279-88b6-432ee247643f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "031575f6-e314-4e3e-a860-e4a4d652227c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "486b9107-acdb-4fac-aaf7-4ad6f98cefa5",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a2895dd3-0896-4b6d-86f2-3547af731cf9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-23T01:48:09.5835563-08:00",
"MeasurementValueNeededDate": "2026-02-23T01:48:09.5835563-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "48308453-d0f2-4ad8-8899-677e6ef0910f",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f52399be-1f32-4582-83c0-17cbb6b96526",
"EffectiveDate": "2026-02-23T01:48:09.5835563-08:00",
"StateType": {
"StateTypeId": "2d916a84-0c6a-478c-9795-aab4aefb0e78",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "031575f6-e314-4e3e-a860-e4a4d652227c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "486b9107-acdb-4fac-aaf7-4ad6f98cefa5",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "06ee6744-5af5-48df-8dcd-b32726ba33a3",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "beae27ef-2b39-4ad1-bac4-6ba87abe8cc3",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5e419f3b-d15e-4d5c-80e3-785b9319a032",
"EffectiveDate": "2026-02-23T01:48:09.5835563-08:00",
"StatusType": {
"StatusTypeId": "0930ecce-471b-43e8-b259-1c0329e8eca8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "031575f6-e314-4e3e-a860-e4a4d652227c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "486b9107-acdb-4fac-aaf7-4ad6f98cefa5",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "05973383-971f-454c-aa47-3a1f01a3e5ce",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1ecc06ec-1d11-4a2d-88a2-3394467ee589",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5e471764-4873-4d07-8d8d-4a045ec75766",
"EffectiveDate": "2026-02-23T01:48:09.5835563-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "2cbe8097-642b-45d9-81ff-4beb51e91737",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7c470be2-8db9-4f10-b8da-e63a1b3ea5b3",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6c7e2a0c-c51e-45d4-8bae-1452785d9b8b",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-23T01:48:09.5835563-08:00",
"MeasurementValueNeededDate": "2026-02-23T01:48:09.5835563-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "75531b4d-d0f6-4b8f-b791-72d2c2fb25cf",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-02-23T01:48:09.5835563-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "812bacbc-e5cd-4cee-9110-b0aa8fe41800",
"CreateDate": "2026-02-23T01:48:09.5835563-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T01:48:09.5835563-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}