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": "f9ae717c-a896-44a9-a43f-ef4d03353c83",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "daf14645-5d49-4f6a-bde5-debbbf4f7634",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d64888e4-e6f1-442d-b97f-623da71735bf",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e563ee59-8fdc-4e71-80f9-3f640734d7cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7cc64b8b-581b-49f6-9674-34f6dea3076c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "acf04b6b-49ce-4db6-8dff-b00410cc9eb5",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "32be0e40-1f09-4eec-9169-94e5f62adeaa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T17:15:01.4612067-08:00",
"MeasurementValueNeededDate": "2025-11-04T17:15:01.4612067-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "48b99ee4-f558-4d60-8f4e-7ab2ed32b03b",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "637a9321-ffc2-4f4c-a0f1-6982fef4d2f4",
"EffectiveDate": "2025-11-04T17:15:01.4612067-08:00",
"StateType": {
"StateTypeId": "6376186d-7205-4a3e-b0ba-a57c19bc015e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7cc64b8b-581b-49f6-9674-34f6dea3076c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "acf04b6b-49ce-4db6-8dff-b00410cc9eb5",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "83950ee7-7098-4a9b-8aba-c918733f5599",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "27259d99-a94a-4db2-bab4-f99b1631c7fe",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d9b86764-0297-4b1e-b5d0-b74f7b413181",
"EffectiveDate": "2025-11-04T17:15:01.4612067-08:00",
"StatusType": {
"StatusTypeId": "95869c16-0c7e-4c8c-ba58-448fb3fa8147",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7cc64b8b-581b-49f6-9674-34f6dea3076c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "acf04b6b-49ce-4db6-8dff-b00410cc9eb5",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "379b97c1-b526-4759-a602-3ca6aad6990a",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "df6518c1-3ff8-4eca-a8d8-e675721920fb",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f81aeceb-3065-4f81-acc9-b43a7a194857",
"EffectiveDate": "2025-11-04T17:15:01.4612067-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b8374774-7c50-4f0a-8da5-cae625549464",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bc7f3196-12fd-442f-821d-307b077ab84d",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "06005d46-91d6-420e-9e30-b18809f82a72",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T17:15:01.4612067-08:00",
"MeasurementValueNeededDate": "2025-11-04T17:15:01.4612067-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "26862f77-bc5d-4b3e-b986-f608ae657e11",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-04T17:15:01.4612067-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "3fb54e4f-2593-4c76-8da6-184ce102c02b",
"CreateDate": "2025-11-04T17:15:01.4612067-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:15:01.4612067-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}