Asset Search by Date
- 1 Minute to read
- DarkLight
Asset Search by Date
- 1 Minute to read
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
You can search for assets by specifying an upload date or other date criterias such as date created.
To search for assets, mention the following endpoint and hit Send.
POST
Query Parameters
Expand to see the parameters and description
Parameter | Parameter Type | Data Type | Accepted Values | Description |
skip | Optional | Integer | >=0; (skipCount+takeCount)<10,000 | Used in combination with taketo paginate large numbers of product records. Quantity of records to skip before you start taking products. Whatever value is used for the take, add to skip for the subsequent call. |
take | Optional | Integer | >= 0; Max: 500 | Sets quantity of results to return at one time. Used for parsing large numbers of product records. |
Specify the required values for params dataOwner and fileName.
Headers
Authorization: Specify required Auth Token in the header.
Request Parameters
Expand to see the parameters and description
Parameter | Parameter Type | Data Type | Accepted Values | Description |
OrderBy | Optional | String | Attribute GUID (Ex. Product Name, Date Created, etc.). | Sets return results order. |
Desc | Optional | Boolean | true/false | Determines sort order (ascending or descending). |
DataOwner | Required | String | GUID | Company ID GUID. |
DateRangeFilters | Required | Array of Strings | See example, includes: Name, IncludeMissing, Value, NegateOperations | Array (see example). Searched date field and defined. |
Name | Required | Enum | CreatedDate, RecordDate LastModifiedDate, DiscontinueDate, ObsolescenceDate, LastPublishedDate | Part of DateRangeFilters. |
Value | Required | String | Commonly acceptable string representation of a date/time | Part of DateRangeFilters. |
IncludeMissing | Required | Boolean | true/false | Part of DateRangeFilters. |
RangeFieldFilterOperations | Required | Array of Strings | Includes fields such as: Operator, Value | Part of DateRangeFilters. |
Request
{
"DataOwner": "{{companyId}}",
"OrderBy": "UploadDate",
"Desc": false,
"DateRangeFilters": [
{
"Name": "LastModifiedDate",
"IncludeMissing": false,
"NegateOperations": false,
"RangeFieldFilterOperations": [
{
"Operator": "GreaterThanOrEqualTo",
"Value": "2021-01-18T04:38:40.4106142Z"
}
]
}
]
}
Response 200 OK
{
"Results": [
"ef1fcd7a-a807-4f98-b936-6f2ec0387423"
],
"ResultCount": 1,
"TotalHitCount": 1,
"Aggregations": {}
}
Was this article helpful?