Retrieve date math

get
Get date math

https://api.rightsline.com/v3/:entityType/:entityID/date-math
This endpoint retrieves date math objects related to an entity.
Request
Response
Request
Path Parameters
entityID
required
integer
The unique ID of the entity that the date math is related to.
entityType
required
string
The type of entity that the date math is related to. ex: deal, catalog-item, table, etc.
Headers
x-api-key
required
string
Your company's API key.
Authentication
required
string
Authentication token.
Response
200: OK
Date math successfully retrieved.
[
{
"result": "Contract Term Start earliest of 1/27/2018 and Contract Term End.",
"dateMathCalcId": 2464929427129109,
"compareToDate": "2018-01-27T08:00:00.000Z",
"childCharacteristic": {
"type": "Earliest Of",
"entityTitle": "DealTest84",
"entityTypeId": 4,
"id": 3,
"tagLabel": "contract_term_start",
"label": "Contract Term Start",
"characteristicId": 22
},
"parentCalcs": [
{
"dateMathRelId": 13570,
"quantity": null,
"isPriorTo": null,
"frequency": null,
"dayOffset": null,
"sortOrder": 0,
"entityTitle": "DealTest84",
"entityTypeId": 4,
"id": 3,
"tagLabel": "contract_term_end",
"label": "Contract Term End",
"characteristicId": 26
}
]
}
]