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": "8448f4c2-a0a5-4372-9790-37f6e0cf6250",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "50c3a868-fb8c-4a81-8f01-07d07b2acad7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8434c327-a133-401b-b184-4a6f01684c52",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b60b2a7e-97bc-4043-9a86-73e245fad439",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "964a791a-63b9-4839-ab91-acfb2ded187f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "55f592ae-716e-4964-bd04-d412b9bbd534",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f3cc5c91-2a8e-4802-8c1b-e58c34da4b4c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "13dc811b-6772-4d25-a14c-68c14eac94e8",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e4dae75b-4318-402a-b7c6-921737d258ef",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"StateType": {
"StateTypeId": "0d3fb5ab-166d-4943-a815-ae6eecb93401",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "964a791a-63b9-4839-ab91-acfb2ded187f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "55f592ae-716e-4964-bd04-d412b9bbd534",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b1fc9660-3a0d-47e4-b690-1bb3ac9ae05b",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d55051f4-2477-44a6-85c7-e88d0dd8018d",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "82725086-efd1-4468-b70a-66ddf39a146d",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"StatusType": {
"StatusTypeId": "960f3d2b-8cb9-4c03-b8b1-0b29a4ed6b25",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "964a791a-63b9-4839-ab91-acfb2ded187f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "55f592ae-716e-4964-bd04-d412b9bbd534",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "39b2339d-fb06-4403-aaeb-c0c885aae09a",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a6aca279-08a7-43a2-b94d-78b634bc1b6b",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c3e5217d-dc6d-4c0f-9cb1-7a70095abba9",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "8cc0b3b1-7c99-4f8c-bbd3-14bc83ee8825",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bde3ead4-6e47-4ad8-a6bb-34c49dc5415e",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e54eac35-c801-4d6e-9357-84290f70046d",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b3f79504-5f5b-42c3-a407-f60b647a5451",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-30T16:55:01.3290334-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "f084992b-693b-4386-a2f7-98f4453a42f3",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-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": "c75f885e-253f-4da6-903f-d1c744164c57",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0a9543ab-2f09-4910-a307-ddfe942c2b35",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e0963e50-f8be-4a2a-b50a-3ae000485c94",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b5ed0e28-18b6-48e2-8d25-5acbdc8da618",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0112e2f1-2791-4c9c-b7ee-aa9b98854511",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5515b62e-062b-4fbe-ac2a-43dc283683d4",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3a24c755-bf17-4c74-adb3-a0806c3c7aa9",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "750621fe-ec0c-4ec4-8598-65ae8f95d686",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "19b205cc-9150-40ca-a53f-05233831198a",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"StateType": {
"StateTypeId": "479c91d1-0ebc-4278-a1d1-596076310261",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0112e2f1-2791-4c9c-b7ee-aa9b98854511",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5515b62e-062b-4fbe-ac2a-43dc283683d4",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7d9bd4da-1061-4de8-b76e-3c0e8927cf98",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d579475c-0aaa-4952-8a85-ae9f7803ad9b",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "afad9ef7-7878-4bbe-9694-203ceea81a68",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"StatusType": {
"StatusTypeId": "54e20056-8404-46ed-941f-ceeb4fe86895",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0112e2f1-2791-4c9c-b7ee-aa9b98854511",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5515b62e-062b-4fbe-ac2a-43dc283683d4",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "83095ed1-7d8e-401d-b3c1-6545450f5036",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b785d58c-fda5-4ec2-8a07-c42a96724d6c",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5db99cba-5a86-46b0-95ce-6cbf5361091f",
"EffectiveDate": "2026-03-30T16:55:01.3290334-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "33f22015-7be5-44f0-af42-cf966201fa5f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b231d1af-87ca-4141-a7ff-0d04c4bc6619",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5c32df01-70c5-401f-8dee-a93921693220",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:55:01.3290334-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f483e66e-ea95-4ca4-a9ad-43a38e8d2d73",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-30T16:55:01.3290334-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "15b7a248-f903-403a-a662-49f609968166",
"CreateDate": "2026-03-30T16:55:01.3290334-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:55:01.3290334-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}