GET Attachments?attachmentId={attachmentId}
Retrieves an attachment by its Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| attachmentId |
Id of the attachment |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AttachmentId": "8787640f-b00a-434c-b5b1-f345b2783c38",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0835728c-b118-48e9-9837-dbaf16146100",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0b6cda00-b398-46a4-a0ef-4f4334729b24",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "2a1378f8-8f84-47a3-8660-ac5371f829df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8c6a7629-89bd-424a-9f6d-b267d178292f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1822e6b-da65-4484-94b0-05bae4d9abfc",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "187b9343-962b-4a80-a8f8-1b58cfd3ea1a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-13T03:47:46.4789229-08:00",
"MeasurementValueNeededDate": "2026-11-13T03:47:46.4789229-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d8a14f75-8bc9-4424-9ec6-626f9cc0b372",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "df5d0faa-6984-4373-bb91-a3bfc74504d0",
"EffectiveDate": "2026-11-13T03:47:46.4789229-08:00",
"StateType": {
"StateTypeId": "f90941c0-4d1d-4f60-9666-8ebc1393ce53",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8c6a7629-89bd-424a-9f6d-b267d178292f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1822e6b-da65-4484-94b0-05bae4d9abfc",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4cbc9674-8717-4867-83ef-08e0d64560d2",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "94c9127d-4f11-48bd-b7ed-b0919f0709c8",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d8cd2a04-8d3c-4e43-b0ad-db9a807a2543",
"EffectiveDate": "2026-11-13T03:47:46.4789229-08:00",
"StatusType": {
"StatusTypeId": "c5615ae3-2a30-4129-a88f-81322f933b46",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8c6a7629-89bd-424a-9f6d-b267d178292f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b1822e6b-da65-4484-94b0-05bae4d9abfc",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "684cfd49-0ca2-4ced-8b84-1e18e803ecc0",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f6e33ea3-c551-4692-be01-c045912a0e63",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6d722159-f5f5-49c7-afa2-c55845cc1b70",
"EffectiveDate": "2026-11-13T03:47:46.4789229-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a09fe54a-80f9-4d87-8b47-38df37639772",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a0156219-701b-458d-8583-89bb30a734d0",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b803a0be-686b-4446-8f3f-f061836dbfa7",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-13T03:47:46.4789229-08:00",
"MeasurementValueNeededDate": "2026-11-13T03:47:46.4789229-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ff40279f-60a7-45f8-9534-f68177aa91ef",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-13T03:47:46.4789229-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "871dffaa-e69e-45a1-81c8-184bce6a4519",
"CreateDate": "2026-11-13T03:47:46.4789229-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-13T03:47:46.4789229-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}