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": "d76d535c-230f-4d02-8e48-0882ef706599",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "6f52dcfe-8a19-4e6e-876f-59b8cc9a83e3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "455c97e4-d3ee-4f80-a37c-e011d59b6772",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4d8b21bf-60ef-4dc0-8026-8769c7f4b194",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "044c239d-26a2-44bc-af5b-887425e73edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5dc01d94-8319-40fe-90fb-bd97318d56b2",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "0cf23419-45c8-47d6-8023-bdcf90ac322c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "5380fbd8-d28a-4561-a57f-3abd3554ce9c",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "8716706b-420d-481e-854b-2b64682c59e4",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"StateType": {
"StateTypeId": "fa331eff-4407-4ac5-992e-c24e3035937d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "044c239d-26a2-44bc-af5b-887425e73edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5dc01d94-8319-40fe-90fb-bd97318d56b2",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9a313675-ad6f-4e96-a990-6a7ac838d13c",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6705c49c-1e8e-4bf1-b590-9481cf28b344",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f809e0c9-e3a5-4eae-9b16-58e091730fca",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"StatusType": {
"StatusTypeId": "2dc59a3e-8d95-4b7d-92a6-d86e7ccf24d0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "044c239d-26a2-44bc-af5b-887425e73edd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5dc01d94-8319-40fe-90fb-bd97318d56b2",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d7082bf9-48c9-4557-b20f-caefcbcf6063",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2a95a812-5ad3-4df1-ad40-372491fd7eff",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c592b8b2-6082-422a-86b9-ee6f83bd7071",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f5990d1b-538c-4a3c-ae78-5d8d4ade39d2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a3fa51c4-be77-451b-ac0c-28889bc97752",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f951cbc4-cb33-4c5a-a1d7-16cd1622c67b",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d10872f8-5d30-4aee-8e38-705b329e5faa",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-26T13:59:01.3782566-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "40c78724-0bcf-4052-83d5-3ebeafac141e",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-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": "9dfbf342-1045-4767-b448-388048dead75",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "de6a0f47-740b-4860-87ec-0ce7d134ce7a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f5298ead-9c11-45ee-af24-cf09b56325cd",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5983c58d-8dd2-4eef-b262-4b141c6d77e4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5c3d7dce-4260-40ef-a648-ad721aa0ec5d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "685c1258-8ea2-4bc3-92e6-6f2a13e4b45d",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "68a8f623-7a5f-4643-bf54-b8d483a7b417",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "465909ce-13b2-464f-934c-4f5b5a58e480",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9a729b4d-fc76-45b7-b5ab-df184a64d80e",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"StateType": {
"StateTypeId": "2fb54dfb-88c2-46ac-851d-505481733e27",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5c3d7dce-4260-40ef-a648-ad721aa0ec5d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "685c1258-8ea2-4bc3-92e6-6f2a13e4b45d",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9e4ce5db-06ef-4289-bbe4-4d81ad43639d",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "acfc55cf-2561-4ec3-9f00-af254c0a926c",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "074d5c77-b991-4c60-997d-382c0ffdec8a",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"StatusType": {
"StatusTypeId": "e24d806c-1afd-47b5-bfed-f77ddf89be94",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5c3d7dce-4260-40ef-a648-ad721aa0ec5d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "685c1258-8ea2-4bc3-92e6-6f2a13e4b45d",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fbb1db5d-ab9f-4366-ac72-b54b978ef422",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5268abee-04b5-486a-9118-35e6cf053485",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "0617d5f9-4952-477f-8c5c-1ddc0d4f1eba",
"EffectiveDate": "2026-09-26T13:59:01.3782566-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "671603b8-e78f-4134-b5b0-2e6332186d1d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0f649e4d-c570-40f7-be37-07a67327841a",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ccc4f0f9-70fa-4320-8503-b03c41093560",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:59:01.3782566-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a02e8711-ba12-40c1-be33-1debfb8af459",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-26T13:59:01.3782566-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0c8a0110-85ae-45e8-88f5-aba304d3e28b",
"CreateDate": "2026-09-26T13:59:01.3782566-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:59:01.3782566-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}