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": "a291f049-9002-4fe1-931d-27e315888441",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d26d60b7-e261-4bf5-b5aa-496b1fdb328f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cf21e389-3e6d-46c9-9dfe-3a4a3d5b1b62",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "7225a56a-b6e0-4311-becf-4c093d502167",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8f95137b-3f4c-45c6-aff1-6535c56178ef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d4fd4e-f950-4d11-9137-3ff69b2579c4",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "742719db-7954-4405-a904-7f5ae553a5c2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-24T03:45:00.7289594-07:00",
"MeasurementValueNeededDate": "2026-06-24T03:45:00.7289594-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "23c26640-cf9a-41a4-81b9-f7102f359092",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "b72936d4-dabf-4e6e-b69d-112a16e7b162",
"EffectiveDate": "2026-06-24T03:45:00.7289594-07:00",
"StateType": {
"StateTypeId": "8152c7be-e3cf-49bd-810c-fb6c76594a28",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8f95137b-3f4c-45c6-aff1-6535c56178ef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d4fd4e-f950-4d11-9137-3ff69b2579c4",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4486648d-f8ac-444f-a771-53eb2a24e339",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c05a20a9-848e-447e-ae37-48b14378e362",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "11a61409-80c8-482a-b3f8-7c2afc1b7b55",
"EffectiveDate": "2026-06-24T03:45:00.7289594-07:00",
"StatusType": {
"StatusTypeId": "dde8b80e-19ce-4ea7-91a5-0a8f7e312f02",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8f95137b-3f4c-45c6-aff1-6535c56178ef",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d4fd4e-f950-4d11-9137-3ff69b2579c4",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "91bbbd53-9e9f-48f4-95c3-87cbbb9902c0",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8f9b63fa-6c57-435d-97d9-2cf46e160256",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7af06f16-c193-4641-81bc-9559ff5aa992",
"EffectiveDate": "2026-06-24T03:45:00.7289594-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b19b36b4-cbd1-4fc9-8b91-2f45844cbc67",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "14c607c4-fcae-4faf-82e9-c0f745579b3e",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e9013ff5-425e-4cb3-8812-20b61649faf0",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-24T03:45:00.7289594-07:00",
"MeasurementValueNeededDate": "2026-06-24T03:45:00.7289594-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0bff5bc4-a956-4b41-8bfa-390ad70f2fd5",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-24T03:45:00.7289594-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a84c2cf0-b0d2-4e3a-85a9-03da7a16988f",
"CreateDate": "2026-06-24T03:45:00.7289594-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-24T03:45:00.7289594-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}