GET Attachments/ByUploadDate?assetId={assetId}&beginDate={beginDate}&endDate={endDate}&includeContent={includeContent}
Retrieves attachments for the given parameters. All parameters are optional.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| assetId |
Id of the asset |
globally unique identifier |
None. |
| beginDate |
Beginning upload date of the attachments to retrieve |
date |
None. |
| endDate |
Ending upload date of the attachments to retrieve |
date |
None. |
| includeContent |
Include the file contents of the attachments |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success, a list of attachments.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"AttachmentId": "3db82e41-959a-45be-83ba-364290efb2ba",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "81031918-c9ce-4810-b6da-78522301ab7c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5d8a4789-4544-4613-9e93-ac1c9e2cd3ba",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "536397b6-c776-40f4-bb3b-e5f15a941ee1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d22d5837-2c20-46b7-acdd-145609f4f4f7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "31311b8a-6867-446f-b527-e3cfc1b6af72",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6e394e03-ee00-4483-8c92-c9d917a2e595",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"StateType": {
"StateTypeId": "9ead6796-00fe-413c-b009-18ce175114bb",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f8386044-b880-47a8-bccc-10740b6ed72c",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "669b4831-72cc-434f-88ea-a3d97ae2254d",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "571d8079-802a-4f21-bf22-3ff4092419c2",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"StatusType": {
"StatusTypeId": "28c52051-ebab-489d-9bb6-698d265e4fc4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d3ddfaf1-f6a3-44ec-9b00-91da56e26d70",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0101955e-4bdb-4973-ab91-d6f6c4f49653",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "bbc2fcc4-6011-415b-8698-392f3e265776",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e2fdb7d9-5a36-4596-8579-763f02e648be",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a6521d48-160d-40b9-9659-4ca42e0964e3",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9f1021df-b067-49b8-81f9-e083453335e6",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cbe6b718-a895-49d5-85fe-a3c563b67014",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-04T17:29:09.9239701-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "79839fc0-b2d9-4137-88d0-fb30646c16d3",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "3db82e41-959a-45be-83ba-364290efb2ba",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "81031918-c9ce-4810-b6da-78522301ab7c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5d8a4789-4544-4613-9e93-ac1c9e2cd3ba",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "536397b6-c776-40f4-bb3b-e5f15a941ee1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d22d5837-2c20-46b7-acdd-145609f4f4f7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "31311b8a-6867-446f-b527-e3cfc1b6af72",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6e394e03-ee00-4483-8c92-c9d917a2e595",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"StateType": {
"StateTypeId": "9ead6796-00fe-413c-b009-18ce175114bb",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f8386044-b880-47a8-bccc-10740b6ed72c",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "669b4831-72cc-434f-88ea-a3d97ae2254d",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "571d8079-802a-4f21-bf22-3ff4092419c2",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"StatusType": {
"StatusTypeId": "28c52051-ebab-489d-9bb6-698d265e4fc4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "20852511-a122-4c28-b092-e38aefdc02eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "375ff45e-320c-4071-ac7b-3152d37b4fd9",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d3ddfaf1-f6a3-44ec-9b00-91da56e26d70",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0101955e-4bdb-4973-ab91-d6f6c4f49653",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "bbc2fcc4-6011-415b-8698-392f3e265776",
"EffectiveDate": "2026-08-04T17:29:09.9239701-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e2fdb7d9-5a36-4596-8579-763f02e648be",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a6521d48-160d-40b9-9659-4ca42e0964e3",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9f1021df-b067-49b8-81f9-e083453335e6",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:29:09.9239701-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cbe6b718-a895-49d5-85fe-a3c563b67014",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-04T17:29:09.9239701-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "79839fc0-b2d9-4137-88d0-fb30646c16d3",
"CreateDate": "2026-08-04T17:29:09.9239701-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:29:09.9239701-07:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}