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": "31a045ce-3e11-4a13-95d1-e0c03f3d0e82",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "cd724fc8-29bf-4133-b445-83477c1e1951",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "9a7afda7-6a31-4704-941e-9cfcd442da31",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "76b08231-7eb1-4208-b892-313b087701db",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6ea53fa3-703c-424a-9d1c-36afdb55edae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5b7ee944-d7ca-4736-a1bb-26b59fd08cfa",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "204ef0b4-0069-4b48-ba3e-7cfa93846cb8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "deb47af8-eb75-4ec9-98f6-0fdf7636ba6e",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7f0bf689-310d-48cf-832c-387b67414691",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"StateType": {
"StateTypeId": "83e215e9-401d-4573-9dcc-6d595ea990ec",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "6ea53fa3-703c-424a-9d1c-36afdb55edae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5b7ee944-d7ca-4736-a1bb-26b59fd08cfa",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "afc036c8-392a-495b-bce5-26f4f00b54d0",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "19793947-6c94-48ed-b913-292ce96dec33",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f71e7f12-c5bf-42dc-86de-d7f29819d05a",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"StatusType": {
"StatusTypeId": "0de36ccf-7c7e-48e5-a015-8368800a95db",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "6ea53fa3-703c-424a-9d1c-36afdb55edae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5b7ee944-d7ca-4736-a1bb-26b59fd08cfa",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0e63a111-dfd0-491a-88f8-1161e56ca89c",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "98da6239-e328-41dd-abb7-4156ec944304",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "89438317-9211-4e25-ab16-79a04d9b9681",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f14d8b41-b0d7-4e5d-9bcd-ef4cf457789b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3230d7c1-0449-4f30-9b86-ff8124450bd4",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e1b8352b-27e2-4f15-a13b-373a6c3d4a71",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "51b76546-c0dd-4903-a77a-97d7f6474ee2",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-01T08:55:16.3505764-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "594576d8-425f-47f1-9e95-ce89dffa3f04",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-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": "0a5f102a-8bc4-403d-a9aa-82abb55b2a81",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5646cb9a-fa1b-4b5c-9bbf-496818e6b16d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "99efe250-af02-443a-bb8a-cbd64838c23d",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4e7c0ee1-8e1c-4b90-8e9a-954aa802a49a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a6f80f96-09d2-4787-88cc-848ca7381430",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2326b9c-8645-40eb-b2d6-73e8bd5ac763",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8fc9b719-d1ed-4016-b849-525b01713d11",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f92e5360-a97f-4a5b-a3ef-8a7d87866db0",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e2cdbcb7-f26f-42a5-ae0e-c7a7977c3829",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"StateType": {
"StateTypeId": "14c526b3-d3d4-4e66-9c7e-4cded7fdc086",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a6f80f96-09d2-4787-88cc-848ca7381430",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2326b9c-8645-40eb-b2d6-73e8bd5ac763",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e81f8b1d-1b41-4c84-9924-1629f4c2fbe2",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a8d34b6f-997d-48d6-90a8-87dda9ac6395",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ecb312d6-aacc-432d-a1c2-a23d7db71533",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"StatusType": {
"StatusTypeId": "434e06d4-1ea0-444a-9ea0-9be3f12fddb0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a6f80f96-09d2-4787-88cc-848ca7381430",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b2326b9c-8645-40eb-b2d6-73e8bd5ac763",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6e747af5-d61d-4972-86ea-94940333afae",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a085148b-df24-42d6-bf26-e0cfa5094c31",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d5a0853e-ae4c-4c5f-bbb8-2739c1e8ecc5",
"EffectiveDate": "2026-11-01T08:55:16.3505764-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5c58bad3-6396-46fd-b318-43d8d8a53021",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5f7d586e-f743-48ac-aa9f-fa36cde00dac",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "550939fe-7d32-4907-afd6-e0cdd2c37e56",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:55:16.3505764-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d2e70863-a7ea-4ee3-91b0-67b96b584f95",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-01T08:55:16.3505764-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "85b21a41-5574-4bd1-8392-efdb12ba48ce",
"CreateDate": "2026-11-01T08:55:16.3505764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:55:16.3505764-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}