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": "6b8c2ba1-8e16-4fff-8e7d-919f8d1f5cbb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a0372eed-2c6c-4192-956b-81fad8e0cbab",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "ef010fc5-ca53-4ebd-9286-cf28caa4b7a2",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "eafe4221-5641-45c4-9c8b-67e4da5fdc7e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "71789b77-0ad8-4b99-ba3f-89ffeaa138a3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5fd069f5-b5e4-4c0e-aa79-a1bc89f85eb6",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "855d6350-11b4-4847-b5b2-1f15adde4d6b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-03T23:13:02.9413205-07:00",
"MeasurementValueNeededDate": "2026-07-03T23:13:02.9413205-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f7578a5f-15b6-451c-bcee-ca35969835c7",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "778a6da5-d644-495b-bbde-0cd273cf1252",
"EffectiveDate": "2026-07-03T23:13:02.9413205-07:00",
"StateType": {
"StateTypeId": "015b9dc0-4e83-4d6d-9c77-81f493e97873",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "71789b77-0ad8-4b99-ba3f-89ffeaa138a3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5fd069f5-b5e4-4c0e-aa79-a1bc89f85eb6",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "23ade32f-986e-417e-9edb-29af2ae5d7a7",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "576f0d66-91a9-4b6d-a819-56d229bee893",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "45a0039b-4a51-43bf-83e2-176c256856b8",
"EffectiveDate": "2026-07-03T23:13:02.9413205-07:00",
"StatusType": {
"StatusTypeId": "34a77033-a4ba-47ff-b5ce-84a7f470d8a5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "71789b77-0ad8-4b99-ba3f-89ffeaa138a3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5fd069f5-b5e4-4c0e-aa79-a1bc89f85eb6",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "37feaf7f-3a83-4439-ba9e-960cc062f448",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "340a3dea-caab-447c-afb5-50d384091c50",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8813b65e-d7d8-49ca-9614-5c067cc67681",
"EffectiveDate": "2026-07-03T23:13:02.9413205-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c0c83c2a-aa46-49e4-8a7c-a1c4322ac2ec",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4427da4e-bf27-4e7a-8cee-b9d5157879c5",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f7d828ca-ebe1-4df3-831a-7ec3850224bf",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-03T23:13:02.9413205-07:00",
"MeasurementValueNeededDate": "2026-07-03T23:13:02.9413205-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f871750a-c489-44a9-9aff-d194f56cad72",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-03T23:13:02.9413205-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dee21b83-4c21-4175-881f-843410b65916",
"CreateDate": "2026-07-03T23:13:02.9413205-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-03T23:13:02.9413205-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}