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": "e041e824-f1f6-4903-8ca8-b842ed0c6e0f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "258a38b0-51cc-4cf2-a400-e6aa520cfa21",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ae66e372-538e-43ad-985b-a3dd4f8ea81c",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "6d598e46-ed73-4641-bf8b-83f5cf4af39a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "480b3e32-12d7-4a4e-98c1-9c954246e605",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec0cdec7-afae-429f-bce3-c2f1d8633d60",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c8e89765-9e69-42fc-91d3-7176620db9b3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-12T17:06:31.8200384-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:06:31.8200384-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2cd0bd73-0670-4224-8ca5-329ad882b76c",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "171e4022-cb91-4cc3-8b82-33ae56dd7ad0",
"EffectiveDate": "2026-05-12T17:06:31.8200384-07:00",
"StateType": {
"StateTypeId": "5d75c904-adff-44ff-bae5-633d5ce0ab3c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "480b3e32-12d7-4a4e-98c1-9c954246e605",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec0cdec7-afae-429f-bce3-c2f1d8633d60",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f516afb5-b141-4ff3-bc9a-bb9e59aa3685",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41862c58-36cc-473d-9844-b194817dda6b",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8b6802cc-8758-4284-98a2-341c8c277171",
"EffectiveDate": "2026-05-12T17:06:31.8200384-07:00",
"StatusType": {
"StatusTypeId": "bfaf086b-25be-4b6b-a325-bef27765cff1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "480b3e32-12d7-4a4e-98c1-9c954246e605",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec0cdec7-afae-429f-bce3-c2f1d8633d60",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3243e064-e622-4eee-9eeb-a76314835007",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "50cdc482-3339-49df-a76a-95c1f3ba7343",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a1ddcb8a-a915-4c1d-8e91-8cac1bc344e2",
"EffectiveDate": "2026-05-12T17:06:31.8200384-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "3525b111-b50f-4cf2-8da5-7e8c9d1977a5",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1a7abfb1-6e75-4b52-94af-891931f14ea6",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6653e266-7289-4521-aba6-a343ec08cc9c",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-12T17:06:31.8200384-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:06:31.8200384-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "304c0dc7-ecb3-4e47-ae3f-9e378de2aae7",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-12T17:06:31.8200384-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dced6290-4853-44f4-bcd3-689bae929933",
"CreateDate": "2026-05-12T17:06:31.8200384-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8200384-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": "447beb9a-bb84-4a11-b060-0c16538b971d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "c39f771a-81f8-407f-9f4a-324f6b118b7a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a249f670-5f24-4bec-8eec-0b58e8a4415f",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "ca2cc195-d1b9-40ae-bb13-afc8fa0dc412",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b564aa95-991f-4c5d-aebe-c135a584dd47",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25254319-043b-4974-9587-17d3e4aa5353",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9e3abbd6-88ee-4d11-ae32-8b4747a12032",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-12T17:06:31.8356627-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:06:31.8356627-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e157e78f-19b5-45c1-be15-0a6a4a70a2e5",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "51b7f079-50c3-4625-bcf4-1989ed67ac40",
"EffectiveDate": "2026-05-12T17:06:31.8356627-07:00",
"StateType": {
"StateTypeId": "5428e2ea-aa40-4cd7-9e05-9e4283007a9f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b564aa95-991f-4c5d-aebe-c135a584dd47",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25254319-043b-4974-9587-17d3e4aa5353",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "18b64fc7-e898-4bc5-a713-a10e86a8fdc9",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9c737452-5879-4647-a808-f824ffbaf0b2",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7c394d61-51b8-4159-9fca-176c8efab106",
"EffectiveDate": "2026-05-12T17:06:31.8356627-07:00",
"StatusType": {
"StatusTypeId": "049a36d0-2915-4388-b520-7eb837e3473a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b564aa95-991f-4c5d-aebe-c135a584dd47",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25254319-043b-4974-9587-17d3e4aa5353",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ba7c3df7-8806-4d32-8043-5a8cecdadc33",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "84b179b7-5ccf-4b8c-8695-d6011a9434e4",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "67b62215-6357-4a41-9143-09f029ecf15c",
"EffectiveDate": "2026-05-12T17:06:31.8356627-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0b576adf-c064-4422-8842-6535bd558308",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "26bd7a0c-97c6-4d9c-a80a-9817bd8ab2f8",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "91d48ab3-a7d5-4144-a203-af59d3a742d1",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-12T17:06:31.8356627-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:06:31.8356627-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "010f6322-6145-4557-b3ce-c406ef647d08",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-12T17:06:31.8356627-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c9eef357-f2c6-4969-ae6e-2c36ad895915",
"CreateDate": "2026-05-12T17:06:31.8356627-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:31.8356627-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}