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": "9bb94bd4-fd43-4639-a57c-ba94ccb30735",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "cc92c619-4fea-44e3-9ab4-19046e8dbdee",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fdfe19fc-fecc-445a-b83f-4a7f94ff90ff",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d3a6ef36-a808-42a4-9d53-892ed5400be8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f8a8ad1e-a0a8-489a-9d3f-5ff406f352ce",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4ede1170-0f49-4d8a-a256-44a4202250ae",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6c79a659-fce5-4ec7-aa06-ee8c6b393d74",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"StateType": {
"StateTypeId": "1ecd8b52-eb06-4fa4-b4c4-4b412cbf062d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "20fad912-454b-4e6f-8cd3-28dd3ef9f3f0",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5d3761d5-77c3-4ebd-a8e8-d17830eeeed5",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3e894222-bf01-4f81-939a-8300b3cbff6c",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"StatusType": {
"StatusTypeId": "469a0cbb-d61b-4906-b063-78b699a9cfc1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "33ef5d9e-e2b8-4aa7-9a2e-41272fef7eee",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e871960f-7ff2-46ca-8c10-1f6d03557d04",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7b1f14b1-cc32-465a-b284-3a2549a58511",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "21d98c36-ca68-4932-b0e6-09f90c89280c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dcf01037-b339-4886-9fed-e06054edd1f3",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cd52ca52-2637-4925-922b-2ae48581b045",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3b3ecc74-002c-4013-8d15-47897f9e5351",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-24T21:38:21.0631929-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cbc7d3b7-3e8a-4111-bec3-00ddf761bf3d",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "9bb94bd4-fd43-4639-a57c-ba94ccb30735",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "cc92c619-4fea-44e3-9ab4-19046e8dbdee",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fdfe19fc-fecc-445a-b83f-4a7f94ff90ff",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d3a6ef36-a808-42a4-9d53-892ed5400be8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f8a8ad1e-a0a8-489a-9d3f-5ff406f352ce",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4ede1170-0f49-4d8a-a256-44a4202250ae",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6c79a659-fce5-4ec7-aa06-ee8c6b393d74",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"StateType": {
"StateTypeId": "1ecd8b52-eb06-4fa4-b4c4-4b412cbf062d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "20fad912-454b-4e6f-8cd3-28dd3ef9f3f0",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5d3761d5-77c3-4ebd-a8e8-d17830eeeed5",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3e894222-bf01-4f81-939a-8300b3cbff6c",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"StatusType": {
"StatusTypeId": "469a0cbb-d61b-4906-b063-78b699a9cfc1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2f6d5d03-c2f0-4f97-9321-b78b0e311cb1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ba4cedf5-e5a4-45a5-90db-9ef28334a927",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "33ef5d9e-e2b8-4aa7-9a2e-41272fef7eee",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e871960f-7ff2-46ca-8c10-1f6d03557d04",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7b1f14b1-cc32-465a-b284-3a2549a58511",
"EffectiveDate": "2026-08-24T21:38:21.0631929-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "21d98c36-ca68-4932-b0e6-09f90c89280c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dcf01037-b339-4886-9fed-e06054edd1f3",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cd52ca52-2637-4925-922b-2ae48581b045",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:21.0631929-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3b3ecc74-002c-4013-8d15-47897f9e5351",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-24T21:38:21.0631929-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "cbc7d3b7-3e8a-4111-bec3-00ddf761bf3d",
"CreateDate": "2026-08-24T21:38:21.0631929-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:21.0631929-07:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}