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": "2ab39ca4-b7b8-4f72-84a2-0f424c2524b1",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5b7cd179-cfac-4f06-a860-660c548025cf",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "bb566234-de80-4ebe-83ca-cfcb9682a035",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "349a0f54-67c7-4afc-a2d0-c20a0bcd8c16",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9a1ec46d-6b6a-46e2-a826-602996e8eb1f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3439cc6a-67b6-4b9b-a6f5-784d02970a4d",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d4de6bd6-b264-4691-a1a3-8e526c1ee1ef",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-10T04:38:54.3690999-07:00",
"MeasurementValueNeededDate": "2026-07-10T04:38:54.3690999-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "07d9b09e-bb1b-4f97-8c9d-8ccd4854b218",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "2d6adcf3-ca3e-4b5c-937f-ae3e1cd3ceb6",
"EffectiveDate": "2026-07-10T04:38:54.3690999-07:00",
"StateType": {
"StateTypeId": "72a2fe66-01dd-4673-a4b4-c2e678beb221",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9a1ec46d-6b6a-46e2-a826-602996e8eb1f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3439cc6a-67b6-4b9b-a6f5-784d02970a4d",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ecbac600-5023-4864-9862-30e99d829005",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d7c32875-62f7-4b66-9d3b-0b16d1eb754e",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0aa445d6-87da-425d-8024-ec7e56a396ad",
"EffectiveDate": "2026-07-10T04:38:54.3690999-07:00",
"StatusType": {
"StatusTypeId": "4c0e0205-513e-42a2-8f45-d580ac61e2cc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9a1ec46d-6b6a-46e2-a826-602996e8eb1f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3439cc6a-67b6-4b9b-a6f5-784d02970a4d",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f8e7a9a4-18c4-4bcc-99cd-39f584762633",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1f969cc1-193b-4503-9cc4-4ebdbdd4d586",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c36fc61a-5650-47d3-9624-082284f41e78",
"EffectiveDate": "2026-07-10T04:38:54.3690999-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6eafdcea-0811-4381-b41f-3936807541ff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b382271b-6ca2-43d3-a8f9-093bc8e1b154",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bad73d59-af1c-4b73-ae60-03606725f795",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-10T04:38:54.3690999-07:00",
"MeasurementValueNeededDate": "2026-07-10T04:38:54.3690999-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bdea1ab8-1019-406f-b02c-b36b0ebee5c7",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-10T04:38:54.3690999-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d4ae2799-de9d-4184-a873-85d4dd12313b",
"CreateDate": "2026-07-10T04:38:54.3690999-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-10T04:38:54.3690999-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}