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": "cc27bfa0-1fcd-4c04-abdc-16893f60f7fa",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "50ac5a28-31d3-4f8b-9c3c-788fa31d951d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d3620980-9c99-4ca1-8d02-08afdc58cd0e",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "8ad01c19-e9c9-4ada-8ca8-b7abadfdaaab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "804281f5-91d9-4e50-a1be-d35b5046cd8c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8439656f-7de0-4890-9249-9a759b7cf7e6",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4026f13c-cb10-4516-833e-495f2d08401b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "181c79ac-3b3e-4bbc-a466-55efc9e6e5f7",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "41ad5a25-6e57-4b16-b849-f4223966db77",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"StateType": {
"StateTypeId": "52859a0c-0a48-4613-b8ed-04bbee8152ae",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "804281f5-91d9-4e50-a1be-d35b5046cd8c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8439656f-7de0-4890-9249-9a759b7cf7e6",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b4569f42-687e-4f0a-beae-5beb3879c261",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2793539b-e97c-4880-823a-4d7d2013f0d8",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "19462c66-63ef-43b9-a19d-c0a362ba2322",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"StatusType": {
"StatusTypeId": "8f357d98-8a2c-4e25-9460-7d594544778c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "804281f5-91d9-4e50-a1be-d35b5046cd8c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8439656f-7de0-4890-9249-9a759b7cf7e6",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c7ada9f0-0387-47ae-bfda-e59846afc8cb",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "56f3578e-4b56-44cc-b9f3-dfc43f76fbbf",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "b81fa7bd-299a-4deb-9118-f12c2294673f",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e08aafc6-0948-4a7e-877b-0e33c89c5381",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "df4c4aa5-9be6-4b20-b2be-1695bcc77661",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e397efb0-9caa-46b4-aa1b-06ffae598635",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "80f66cf1-948d-4f66-8be0-23743e1a0dab",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-15T13:21:36.2374455-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "efd005d0-7a74-4048-9954-1fcd4f50e071",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-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": "81d5ed10-1f56-470d-894d-eb4e20d360b9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "94c71830-8f54-436b-bfa0-79bc47676bea",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "751a2aa1-e2c2-47ac-ad43-8a91f69e0857",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f37117fb-1dec-4326-a1bc-58776bd3f605",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "bfd68c3b-1234-4e4d-92ee-d8bb39d3155e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f7e01ccb-700c-4a59-8ad2-abadcadeb0d7",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "fe70801d-56ca-4409-bd80-35de162fdd9c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7633bc5f-0ab9-443e-97ad-57d483095354",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d220af60-2d34-422c-bac1-f6fc886b2705",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"StateType": {
"StateTypeId": "90bec914-f36c-4036-ae20-6b4b1d865968",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bfd68c3b-1234-4e4d-92ee-d8bb39d3155e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f7e01ccb-700c-4a59-8ad2-abadcadeb0d7",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9fea61aa-2d2a-462d-a6cc-0a1689ab2310",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "54713bef-9dca-4db8-871f-20cbd1c1d8ce",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "67dbbff7-3bcf-44ad-bede-7558ee722dff",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"StatusType": {
"StatusTypeId": "c9b60958-8df2-4ad6-88ae-b249b5d5354a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "bfd68c3b-1234-4e4d-92ee-d8bb39d3155e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f7e01ccb-700c-4a59-8ad2-abadcadeb0d7",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "583b695c-f247-4e89-abc6-249fa062bb92",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8d0e0680-625a-473b-a31f-2a85472f6e80",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9c86e351-b272-44b0-b433-367fe0d8cfd2",
"EffectiveDate": "2026-07-15T13:21:36.2374455-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "dcf64ea8-81cc-4f43-994d-5c4489141ee2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3c9d3733-f9cc-4e96-a534-a0cc652e7f55",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c32bc8c9-8da8-40a0-9b10-62edd7803805",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:36.2374455-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "19b84f73-1e54-4465-8426-92717f0ba237",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-15T13:21:36.2374455-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "698d310a-b864-4134-897e-9658a3d59249",
"CreateDate": "2026-07-15T13:21:36.2374455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:36.2374455-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}