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": "da1f7b1d-0101-4f17-94b3-6ecc7a0150ec",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e3f70f17-da25-4461-8c04-5ae5f908b2cf",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "89ad512e-5d69-47f6-8780-f1568608af5d",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "97ef3db3-ca0e-4024-ae5f-80859d47f8b6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bd9e0a0d-c0ac-4c95-b869-a08a372c7489",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09ed5adc-7ff7-44b4-807d-137d5d696609",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f9b0f265-99f6-4fe6-8d89-ceecbdda94a9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e4e5c623-771c-4e03-8dbb-8904bbdb7a07",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "03e2e9fb-41fa-44d2-abca-afb55f63271c",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"StateType": {
"StateTypeId": "80b0a917-3492-49c4-9fbf-981e7749e13f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bd9e0a0d-c0ac-4c95-b869-a08a372c7489",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09ed5adc-7ff7-44b4-807d-137d5d696609",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ec5afcd-15f4-4025-b4ac-78a14d985a91",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "27c51fe4-010d-4499-87da-1c58930314d5",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "37162cda-f5f9-463f-b10d-8832e32ba636",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"StatusType": {
"StatusTypeId": "a1c4b07f-c5cc-403f-b2e8-0561eaadf41a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bd9e0a0d-c0ac-4c95-b869-a08a372c7489",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09ed5adc-7ff7-44b4-807d-137d5d696609",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d65f6c60-e271-489a-850f-cd3eef926bcb",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f4ec252a-dbed-47b0-9f81-1ce552b6f580",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e85cbdce-35d6-4719-9534-4899667c60f8",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ef210243-7a5e-4177-b66b-2141881c175d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5512e9f8-ed69-4306-9f5f-8a3cc36aecc4",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2f11e40f-feac-4629-a06b-ae40a19d84cd",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c44794ff-cdc4-45ca-8c32-1f8bb802ee44",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-01T20:26:26.7055203-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "54a2483e-f6d5-4f58-8ec2-02b0bf6629ff",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-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": "5e77bdd5-3774-4392-9f1b-7c1342e48408",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9f15e354-4871-4ee7-b6dd-1fe6b2a150cd",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "867a0f0c-4df8-45bc-ad95-b68e92eff9e3",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4bdaaa21-73b5-4028-a717-9708c0631e88",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "54119006-23e7-4847-8af4-075badc6ee5e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b5112a9e-8b8d-45ad-819a-5fbe84734b0e",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "74ebbcf7-994a-4b0d-b02d-aa2ce38b5136",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4ec35e84-da88-40f5-a160-268f87c72c03",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "000d0088-291c-4604-9ae7-031ea7572906",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"StateType": {
"StateTypeId": "172aea9c-52f3-4814-b1f5-92b004f6190c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "54119006-23e7-4847-8af4-075badc6ee5e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b5112a9e-8b8d-45ad-819a-5fbe84734b0e",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f85e154b-102d-471f-8742-db9add50a4d0",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3c2aa4e4-0255-413e-aa5f-4459dae5744b",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7d1c67ed-672a-49e1-a3b6-02dded836ea9",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"StatusType": {
"StatusTypeId": "576e8139-61df-4846-9cc6-9b555bdf798d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "54119006-23e7-4847-8af4-075badc6ee5e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b5112a9e-8b8d-45ad-819a-5fbe84734b0e",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "996157ae-410f-47de-a16b-73469e45ed13",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f8731295-b0a8-442e-837a-f6d4295ec31d",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "22660ef8-4ac6-4b29-8312-6942c0d3729c",
"EffectiveDate": "2026-06-01T20:26:26.7055203-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "cecf7fd1-c095-4383-a053-c48b323b62cb",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6c695da3-2c67-4367-85a6-5d49df2e09a1",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "96ac3283-f911-46f8-9dc9-1b7ffab2fd1e",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:26:26.7055203-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c5c2d921-7ac7-4848-b96c-b481921ee7a6",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-01T20:26:26.7055203-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3b28c713-d1d3-4b20-9047-5c05b55ace7d",
"CreateDate": "2026-06-01T20:26:26.7055203-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:26:26.7055203-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}