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": "f90530c9-79f6-478e-9597-a49d0577f366",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ce5f6eff-2171-4932-ba41-f47efa8ac834",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2bf2de3b-e501-49ad-9aad-a1ca696a3421",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c06842bc-1afe-4e4d-a2d6-2e05d3689e43",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3f22e395-5638-4c59-a39a-e3c45d3f05aa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b33ce20b-ab55-4885-adf5-d1861e51c99f",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a438b27a-d9fb-41b3-800c-a0e57e3d83ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "04d98588-f90c-42a6-a318-b25b6802f595",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d948df99-780c-4c48-8428-bc2844db58c0",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"StateType": {
"StateTypeId": "6debceb9-e9d6-4cd3-91a5-1d73098f03be",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3f22e395-5638-4c59-a39a-e3c45d3f05aa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b33ce20b-ab55-4885-adf5-d1861e51c99f",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "dac43fbb-3aaa-456b-b54f-43ce9d65593d",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f6f9a4ca-d05d-43d0-b4b4-0e1833fa2055",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7b05c68c-f393-42e3-825a-dc44ae9007a3",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"StatusType": {
"StatusTypeId": "08dbfb84-c090-46fe-813b-46f60e8416f6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3f22e395-5638-4c59-a39a-e3c45d3f05aa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b33ce20b-ab55-4885-adf5-d1861e51c99f",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4b5053fe-c350-4d97-8769-b39f419aa9c4",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "85913258-a519-4298-ba74-d2234d9be8fa",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e5661fe9-e8f3-4c7f-aef5-8bd1667807fa",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b7a5400c-1f75-4c9f-b272-a3a3a0e25635",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "09b533d5-52c0-44b9-814e-92b552c5d936",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ec43c0c7-f421-4221-88e7-0e5d35602eb8",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3c26940a-95d6-4d63-a80d-465643dfbd04",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-18T04:58:20.4857214-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "8ff29df7-b3ec-4bd3-a59e-11e3271c3871",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-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": "a6b213a2-5794-42b5-ac37-c286e1d457ff",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5c31c92b-8a35-49d2-b1d5-a46428365121",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a0bb28da-6b13-47c9-b3ab-75511ce5c0d9",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "46ba4ae6-abf3-4eb3-983f-5cd4d1c9d93e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0e95dac1-a0cc-4f44-b608-1ea9c40b7503",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddec5166-099f-4e6d-905a-13ce1be12d74",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "08c5b858-3958-4a4a-95eb-dd314f3e3d56",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "33a18ef3-b4c8-4c09-b344-fafc30910728",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "107b1a10-0c2e-4bd6-ae6d-436dccf08c29",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"StateType": {
"StateTypeId": "93ea392b-cd4a-4d50-ae66-b888177d4ecf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0e95dac1-a0cc-4f44-b608-1ea9c40b7503",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddec5166-099f-4e6d-905a-13ce1be12d74",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "13d8f8cf-5db6-4067-b680-1c62a9941576",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "88b74092-8d69-4151-ae15-a029a75001e4",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "58359d65-f2db-4b68-bb0b-a9350b16a530",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"StatusType": {
"StatusTypeId": "cc5b9338-170d-4af5-839c-aa725d8defff",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0e95dac1-a0cc-4f44-b608-1ea9c40b7503",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddec5166-099f-4e6d-905a-13ce1be12d74",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ae7cefbe-b119-4399-9fdb-73ddb69d4d47",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "eda81d4c-5089-4cd4-9207-4f89e930aca7",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "03e0113c-d6c8-488f-bbdb-4d9897d8c515",
"EffectiveDate": "2026-04-18T04:58:20.4857214-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "4fccbd85-59b9-4709-a1d2-57b7c2c0552a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "eb2c67bb-8f6a-4db6-ac97-1bdb4e66fea0",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "aa0c454f-22fc-4f88-9d98-2d2a2132158a",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:20.4857214-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "56de4e49-36fb-4c93-baab-d143894d2201",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-04-18T04:58:20.4857214-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a15b69ba-a060-473e-836b-699dbd11abc7",
"CreateDate": "2026-04-18T04:58:20.4857214-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:20.4857214-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}