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": "589f49e6-7b01-42ab-9a3c-01cdf729f6d5",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "04759c41-8c09-4735-a77a-d79396fa747c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f949b691-8a20-4c24-8a88-07e8a23678cc",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "42eabc53-16ba-415d-9550-8ed5e30c3a83",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8979ed8b-904c-4000-ae95-be6d4c8f7bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e6ac255-cd9b-4829-a71d-374ee3c9d2cf",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "25960161-8ab3-4be3-b7d6-38b76f3e9305",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3b913e87-5a6a-4dd6-a069-90a6391e995d",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "ecc8cdc8-0766-423c-ad86-179807e9c6a2",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"StateType": {
"StateTypeId": "57852d25-915f-4b61-8a35-d4ed017dd7e9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8979ed8b-904c-4000-ae95-be6d4c8f7bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e6ac255-cd9b-4829-a71d-374ee3c9d2cf",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a157abc5-0729-4e36-a77a-3c7f28300f63",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bb0cdfae-2a8a-45dc-9d50-77eb12322193",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "35e07144-c2c8-41f2-a67d-47126471150c",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"StatusType": {
"StatusTypeId": "671a052d-4824-49c7-b449-a8e3865a7a44",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8979ed8b-904c-4000-ae95-be6d4c8f7bab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9e6ac255-cd9b-4829-a71d-374ee3c9d2cf",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e49b14a3-e1f6-4061-be9e-840741a1dfb7",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d71dbc48-b7f9-4536-bd67-2e472277edd9",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2c5c2cba-1c45-4a9a-9a8e-889057c01398",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "994de2e0-04c8-4d7e-8058-47e75eebb1a1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5991e654-e286-49d7-bd8f-e74dc5e85016",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4ab0949b-b447-465e-b8ff-8d16d57c671f",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e53683a7-5dd6-492a-85b2-c3fd821568b0",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-15T18:04:52.9421828-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "992b833f-72c8-4f5a-b426-07916a72c97e",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-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": "08f91469-9b18-422c-a3a9-1aa1030d1e0f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9e511a79-eb3d-46e5-a521-93594bf05f66",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "380aca65-d627-4419-8b4f-20ea19257e15",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "49800bbe-32ff-4053-8078-36efc777c36a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "167f2dcb-e893-47aa-86c9-76d3581cdc92",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6186767f-7c3d-47a4-bd02-6d8afb25b1b6",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6d15523d-2bbc-4827-9637-9c94b2238306",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "57c2131c-5467-4780-b495-7bce1eab8d99",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "032ddb69-71f7-4737-8fb0-2704bd51de10",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"StateType": {
"StateTypeId": "a2c33fc8-78dd-452b-b9b0-46022661608d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "167f2dcb-e893-47aa-86c9-76d3581cdc92",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6186767f-7c3d-47a4-bd02-6d8afb25b1b6",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ea8f625f-0150-48e6-9e48-1ea46af8d10b",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7ea2d264-2433-4c54-b2df-0f1191462709",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "33a224ab-e6a5-469b-9088-dbc4a1f150bd",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"StatusType": {
"StatusTypeId": "16b73bb9-be8b-4de6-9d2e-ca5e4e6f9114",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "167f2dcb-e893-47aa-86c9-76d3581cdc92",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6186767f-7c3d-47a4-bd02-6d8afb25b1b6",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8808e14e-53b1-42de-b44a-02d72847c21b",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8bdb72d4-2096-461a-b571-1412efe9e5ec",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1c20d0e9-d6a4-46ce-aa45-353e41f53ca6",
"EffectiveDate": "2026-03-15T18:04:52.9421828-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "533767c1-94fd-49cd-bcd2-36f224d1a2cb",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "773585bf-40a4-4049-baaa-526944dc6d69",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ed59558a-a77c-4179-b36a-f2e02aab2201",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"MeasurementValueNeededDate": "2026-03-15T18:04:52.9421828-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9122b667-d865-48fd-9463-ec3ec9338073",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-15T18:04:52.9421828-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "ed90b6e6-45b1-4b07-b27d-5199b12750a5",
"CreateDate": "2026-03-15T18:04:52.9421828-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T18:04:52.9421828-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}