Modified Document API

 

This API returns all the modified documents created, updated or deleted by Pramata for the specified date range.

 

API Request

Request Type: GET

API Endpoint: https://{customer}-api-{environment}.pramata.com/services/data/v1/documents/modified?start_date_timestamp={start_date_timestamp}&end_date_timestamp={end_date_timestamp}

Example: https://demos-api.pramata.com/services/data/v1/documents/modified?start_date_timestamp=2022-11-14 22:33:11&&end_date_timestamp=2022-11-14 23:33:11

 

Input Parameters

  • start_date_timestamp (optional)
  • end_date_timestamp (optional) 
    • If input parameters are not specified it would be return the list of Pramata #s modified for last 1 day.

API Response

HTTP status code 200

{
"data": [
{
"pramata_number": 2894037
},
{
"pramata_number": 2894039
},
{
"pramata_number": 2894040
},
{
"pramata_number": 2894146
}
],
"meta": {
"start_date_timestamp": "2022-11-15T00:00:00+00:00",
"end_date_timestamp": "2022-11-15T05:33:40+00:00",
"total_records": 4
}
}
{
"data": [],
"meta": {
"start_date_timestamp": "2022-11-17T00:00:00+00:00",
"end_date_timestamp": "2022-11-17T16:47:21+00:00",
"total_records": 0
}
}