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": "22fae4f9-2930-4471-9194-ef6bd88f6506",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "b1bc1085-cecf-4d27-a76f-6b45dbcbffd7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0623835d-9f6e-4df6-b3c7-37a2c51a8a21",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e30361d1-f6bf-4bab-9025-d4ddf79d4c90",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "de824bf5-8ae1-470c-b8f7-c8f42ba5c5d1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b98df189-5cb9-416e-8d1e-9c2d45cbe1fd",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f375561f-1b21-4b3a-8506-2b729c3a1391",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-09T03:49:03.9947895-07:00",
"MeasurementValueNeededDate": "2026-08-09T03:49:03.9947895-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f365f76d-65c7-43e6-a80e-0cc916b18154",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4eda38ef-cf02-4415-8987-923f6919bd6a",
"EffectiveDate": "2026-08-09T03:49:03.9947895-07:00",
"StateType": {
"StateTypeId": "906a749e-b0cb-44a1-bd30-9bd00caadbd0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "de824bf5-8ae1-470c-b8f7-c8f42ba5c5d1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b98df189-5cb9-416e-8d1e-9c2d45cbe1fd",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e253b4b2-21c5-4a28-8a85-d9e36ff7e2a0",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c9e171e3-fda4-424e-9995-5984ccd5046f",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b544820d-a022-4894-a0d9-daf423719ef1",
"EffectiveDate": "2026-08-09T03:49:03.9947895-07:00",
"StatusType": {
"StatusTypeId": "f3f17b74-c9c1-4e14-b385-831bb8350f91",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "de824bf5-8ae1-470c-b8f7-c8f42ba5c5d1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b98df189-5cb9-416e-8d1e-9c2d45cbe1fd",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a9e44573-9f26-40ae-9bb5-72ce44784ac9",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9b2cf35b-dd54-4574-848a-84e55e558f82",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "715afbc7-7532-41ef-997e-024b968ebe69",
"EffectiveDate": "2026-08-09T03:49:03.9947895-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "1b847625-2fa8-4659-9122-4944985b3ec1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c991d021-59fc-4b63-9832-c91e261f4ee6",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "71f834bc-de79-4dbb-85dc-86dd64c0c25b",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-09T03:49:03.9947895-07:00",
"MeasurementValueNeededDate": "2026-08-09T03:49:03.9947895-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "607a6ed0-ce7f-425b-b393-a01a621fd56d",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-09T03:49:03.9947895-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d8b99ef7-d534-43c3-80ac-28ddc16411ea",
"CreateDate": "2026-08-09T03:49:03.9947895-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T03:49:03.9947895-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}