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": "715fafee-f403-4a67-a3f5-ec85fedd0beb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "33ed3e0b-bb44-41e0-9667-fe9005e425d3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3a2ae0c6-b707-4f0b-8d2b-00a1cb548d87",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c3167093-b261-4757-b469-7fa0f78c6c18",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7fc021d0-969e-4e0a-82e1-16e5af9249f5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "197ecbf2-0620-46e2-ba6a-91bd387a4792",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f35c172b-0fd6-4afa-87f9-894258827547",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T10:28:14.8322287-07:00",
"MeasurementValueNeededDate": "2026-09-15T10:28:14.8322287-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a1f31dff-e3d3-42ab-8379-e919b0628ecb",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6e43f780-5eb8-43ea-86bd-9283c2a99ccf",
"EffectiveDate": "2026-09-15T10:28:14.8322287-07:00",
"StateType": {
"StateTypeId": "64ee1978-b0bc-4c0a-bd6d-65a18db9e0b8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7fc021d0-969e-4e0a-82e1-16e5af9249f5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "197ecbf2-0620-46e2-ba6a-91bd387a4792",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0f72dfd0-00cb-4cb8-a1d2-f5e4d50ecdc7",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f963aed5-69e5-411f-a77d-954a5da3dc92",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "95dcbdbc-6670-475b-928d-530e5ecc966f",
"EffectiveDate": "2026-09-15T10:28:14.8322287-07:00",
"StatusType": {
"StatusTypeId": "bc67d3bb-0ef0-4445-88ef-ceaee8366c0c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7fc021d0-969e-4e0a-82e1-16e5af9249f5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "197ecbf2-0620-46e2-ba6a-91bd387a4792",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6c33877e-dec6-4e2d-aec0-49a86349859d",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "30e4da80-5830-492d-b706-2fa631871fc6",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "cef72e35-5ed6-4825-bd00-c67636a9679f",
"EffectiveDate": "2026-09-15T10:28:14.8322287-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9e8a1ab0-7a90-4b0f-ade4-6998968b60d6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3a5bdd89-4fb8-4d5c-a1e6-4a481af2e14f",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4e2416bd-a861-4fa5-a88a-573f75de80ef",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-15T10:28:14.8322287-07:00",
"MeasurementValueNeededDate": "2026-09-15T10:28:14.8322287-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0e401270-0b62-41cf-839e-0f13186b41b0",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-15T10:28:14.8322287-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "c619a5e6-86bc-40f7-8597-3c991f19db69",
"CreateDate": "2026-09-15T10:28:14.8322287-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T10:28:14.8322287-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}