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": "5d5547f2-9b82-4241-9058-6b16c2ce0a5a",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "86a2f40d-99ac-493e-b575-504ce7cf8578",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "38b25a3c-51b9-4f3d-8b76-3e7284d64d87",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "abbdfcb0-da1c-4cad-addd-c9ba3d5f9d37",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "95731198-7dae-47b9-92a0-57dffa6be507",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "20739130-a9bd-435a-bcd6-7a9b5c663ef7",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "4d75b429-4b9d-47e8-bc06-4ad74e390911",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-14T08:56:40.7938106-07:00",
"MeasurementValueNeededDate": "2026-07-14T08:56:40.7938106-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7bf716eb-eb16-4868-9290-06b8d62a6187",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "704f6925-aa35-4b2e-a829-1670c68e8c7f",
"EffectiveDate": "2026-07-14T08:56:40.7938106-07:00",
"StateType": {
"StateTypeId": "5c66f18c-f232-4b62-a7be-2e46c4f6727a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "95731198-7dae-47b9-92a0-57dffa6be507",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "20739130-a9bd-435a-bcd6-7a9b5c663ef7",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c7f8debb-9ebd-4651-bd91-dbc37b7e975c",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3142dbe1-e787-4e81-8f49-5c1b48b336c7",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "135f5c4c-28ed-47d9-8ce0-00f8d4f149ec",
"EffectiveDate": "2026-07-14T08:56:40.7938106-07:00",
"StatusType": {
"StatusTypeId": "6510c77f-61f9-4506-ac78-f9b264c71bdc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "95731198-7dae-47b9-92a0-57dffa6be507",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "20739130-a9bd-435a-bcd6-7a9b5c663ef7",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "bf76137e-1cf2-4280-9fe1-f782a2a3459c",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "35585c24-c489-4fef-9bd6-66842423ade2",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9398b489-4704-4255-8490-3411507d7356",
"EffectiveDate": "2026-07-14T08:56:40.7938106-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "1a0d7200-551c-4b95-8725-8effa1ef162e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "73a0dbc4-0d60-418e-8b46-9fdd400c6511",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d225bdff-4cc3-4a72-98c5-0e3bdf687080",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-14T08:56:40.7938106-07:00",
"MeasurementValueNeededDate": "2026-07-14T08:56:40.7938106-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "678c47eb-f818-4e0d-a8f5-73cfb7a83822",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-14T08:56:40.7938106-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "27db6664-7a5b-456d-852a-a332aa918fb1",
"CreateDate": "2026-07-14T08:56:40.7938106-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-14T08:56:40.7938106-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}