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": "bea862ff-2840-4099-80b8-2d423d6968a6",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "224a8f16-95c9-4041-a4ab-383c7edbd461",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e2c03988-0ca4-48d1-bbd4-ecfe4f2c1289",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b192ab42-aa2c-4d56-af60-976557c7ba16",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f56165e0-6da0-425a-b3f0-00b493582b1c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22d07708-f5bc-4afe-8cc7-cf1cc2a23902",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ba6f3c42-3980-44c3-bd5b-06061e4239a4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-20T01:45:25.2293011-07:00",
"MeasurementValueNeededDate": "2026-05-20T01:45:25.2293011-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3d6e784b-0345-4799-a8ea-97232f39d4b4",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "98f64741-13ce-4db6-94cf-38fa9dc1d064",
"EffectiveDate": "2026-05-20T01:45:25.2293011-07:00",
"StateType": {
"StateTypeId": "017d6a95-2222-4ac1-b081-db011f9c6648",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f56165e0-6da0-425a-b3f0-00b493582b1c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22d07708-f5bc-4afe-8cc7-cf1cc2a23902",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "12d65ef8-dd85-43e8-8fc6-eeba28fa158c",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "387a0347-84db-4907-9fe0-0015052d931f",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b9add481-a1b1-4eed-aee8-709ae3542b3a",
"EffectiveDate": "2026-05-20T01:45:25.2293011-07:00",
"StatusType": {
"StatusTypeId": "87559be9-5b50-4b0f-9aaa-0cc6afc50817",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f56165e0-6da0-425a-b3f0-00b493582b1c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22d07708-f5bc-4afe-8cc7-cf1cc2a23902",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1488e2a4-37c2-4ed1-acbb-c03a83aa44f7",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ad7f9329-4a8d-4397-b8c9-084f8bae1786",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "0de57b54-796e-4e94-9947-974315b3de30",
"EffectiveDate": "2026-05-20T01:45:25.2293011-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "0c7beac9-282f-4016-8e94-a12662563956",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aa818f67-36ca-4607-8533-711a0ad3a150",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e419a6e1-be94-4710-ad78-3a96f1f2550c",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-20T01:45:25.2293011-07:00",
"MeasurementValueNeededDate": "2026-05-20T01:45:25.2293011-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "12e47004-d707-4535-8ade-076f1dfe0963",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-20T01:45:25.2293011-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "fa710adf-960d-424b-94a7-c6f07836f329",
"CreateDate": "2026-05-20T01:45:25.2293011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T01:45:25.2293011-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}