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": "c15195ac-ea14-4b23-b841-a990a0133d50",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "dfc278fc-4c2a-4cd4-a0c7-69893dad0e6c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1976ec98-c9af-4d3e-99e9-82e4b606287e",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "094fb7e4-eeeb-4b3d-a9d9-712b8711a4bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1bf26c9b-d862-41ef-9ebb-c59d47a0cda6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a7d94f10-a864-48bd-a77e-b4c2d1ca20de",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ceb12729-4592-4339-a056-7bc06476b5cb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b1f54cc1-3bc3-4efb-b4d7-a975a0cb8f81",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "15f94b14-d1f1-4e63-b414-34a4b932b727",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"StateType": {
"StateTypeId": "d99b983e-9f3b-4401-b399-868ccddc6ec5",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1bf26c9b-d862-41ef-9ebb-c59d47a0cda6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a7d94f10-a864-48bd-a77e-b4c2d1ca20de",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "528c6fb4-43fa-436b-8aad-7539b20a5f49",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "40ca2e42-eb48-4943-8c80-c2ddd16a0263",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1f55e3ff-ba5f-4abe-9196-0f90c3510480",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"StatusType": {
"StatusTypeId": "8cca78f0-9cdf-452a-a93f-332468f84679",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1bf26c9b-d862-41ef-9ebb-c59d47a0cda6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a7d94f10-a864-48bd-a77e-b4c2d1ca20de",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "da848d94-cebc-4e5b-abf6-40a4f321f9fe",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6f1c8158-ad0f-4873-bd9c-a11cb75aa1c3",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "90bda111-184f-4a7e-a67e-f2ff5b825b44",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "94bd31c8-8899-4204-aeaf-369e5e37c2c1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8434f0b3-657e-4823-8267-618ad631dd2e",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9965d091-a942-4efb-901b-4b72ed20910b",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "353e9296-f63f-4c81-8403-fe733a8d01bb",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-13T23:38:22.2025679-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cbe38081-cfac-457a-9937-76cff1175168",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-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": "db80522d-b27e-485b-8952-85be5c44c0c6",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "acdc2181-df3d-4816-8387-5d589df24ede",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "85388b87-1a81-4ec6-98f6-8640069c38da",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "63054330-3cd5-43be-82b3-1f5bbad90042",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bf4a8893-ab5c-42ce-b670-48557080020a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "29f9e07d-6dad-4f7b-a3cf-19a28d2ed968",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8cb3494c-5e85-4987-852d-57157f1992df",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ee726427-2639-49a8-ba82-eb3e2561b8cd",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "893aa8df-0b3b-4b83-901f-d51ffbb43011",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"StateType": {
"StateTypeId": "e95e47d2-1e32-454f-b8fd-d1b7a63b4739",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bf4a8893-ab5c-42ce-b670-48557080020a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "29f9e07d-6dad-4f7b-a3cf-19a28d2ed968",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ccb39b33-4f2a-41bd-b59a-2067cb5cd15f",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c00755d1-4333-4685-937d-9ece0567beee",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "77022365-a051-471e-9772-71397ec7d313",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"StatusType": {
"StatusTypeId": "202f6df0-b847-45d0-ba02-8656de543557",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bf4a8893-ab5c-42ce-b670-48557080020a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "29f9e07d-6dad-4f7b-a3cf-19a28d2ed968",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "36cb76e4-92f0-45e1-9e32-3ca2b930587d",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1ec684d6-156f-4d45-bc19-878f22f12127",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d0377e20-03d9-4233-bd36-290c9e639dde",
"EffectiveDate": "2026-09-13T23:38:22.2025679-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f89c5d56-4309-44c1-9137-cdb55612bd93",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "56198aee-f0ed-4123-9163-a9f9d53fd49c",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c49cb637-fb0b-4052-861e-c8f02d2f21de",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:22.2025679-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4bba0df6-69fb-4359-92ad-99d1db03ac18",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-13T23:38:22.2025679-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "859dee07-4c2e-49ed-941a-029befded5cd",
"CreateDate": "2026-09-13T23:38:22.2025679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:22.2025679-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}