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": "52e73bd4-f3f6-482e-9483-f24ca30f51cc",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d93fcb98-3900-4d5c-864d-61c34169b9e0",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6e6b2f23-2301-44a1-b3cb-a0093b82ef93",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e9e60d74-0b4a-4d7f-bb3c-5c11a9906212",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1cbae769-1faf-4df7-84f8-34c9c13cb0fb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18811c7e-5507-4505-ae76-46bea028b93d",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "9b867b2a-fd01-4524-91d5-6148d8fc9885",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-05T00:49:42.6298052-07:00",
"MeasurementValueNeededDate": "2026-08-05T00:49:42.6298052-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "50a34a09-d4b1-48e4-8a16-685e7022cf0f",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "0bfdd72f-f0ca-4af8-a5f7-71a768b1fee3",
"EffectiveDate": "2026-08-05T00:49:42.6298052-07:00",
"StateType": {
"StateTypeId": "e457345d-e69d-4228-8ffd-3947e2490085",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1cbae769-1faf-4df7-84f8-34c9c13cb0fb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18811c7e-5507-4505-ae76-46bea028b93d",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ba9d4b6-4079-4c95-9867-d1824aa01f3b",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6b716476-8801-43f3-91a9-e2804a04e7eb",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d0680785-c7ee-4694-b7bb-c3cacb3ffbf6",
"EffectiveDate": "2026-08-05T00:49:42.6298052-07:00",
"StatusType": {
"StatusTypeId": "657b8f5e-caca-48e1-a777-c1f9a8ba1dc0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1cbae769-1faf-4df7-84f8-34c9c13cb0fb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "18811c7e-5507-4505-ae76-46bea028b93d",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e090f5b4-ba2f-46d9-b988-e7b1114cc03d",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a6a2c0fd-55d2-4bab-9d43-e95ff407d5e9",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d9da2a4f-584c-40f9-a28a-eff276b79386",
"EffectiveDate": "2026-08-05T00:49:42.6298052-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e3f8a591-f846-490d-b74a-daf8659daa5b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a9648483-ca54-4c69-93db-1b4141e4813d",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f0bbb218-4473-41ce-b562-2733f197dd96",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-05T00:49:42.6298052-07:00",
"MeasurementValueNeededDate": "2026-08-05T00:49:42.6298052-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cef0ecf7-0709-4813-9203-15f59ac971b3",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-05T00:49:42.6298052-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d66ab12d-9491-4c7d-a5e1-4e992259daaf",
"CreateDate": "2026-08-05T00:49:42.6298052-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-05T00:49:42.6298052-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}