-
Notifications
You must be signed in to change notification settings - Fork 9
Get Contract Text
Anjesh edited this page Aug 5, 2015
·
15 revisions
It gives the page-wise text of contract pdf. There's an optional page filter, which is used to get the page text of that particular page. In absence of the page filter, it gives all the pages in one call.
Resource URI
/contract/{id}/text?page={page_no}
Resource Properties
Property | Description |
---|---|
id | A integer that uniquely identifies this Contract. |
page_no | Optional page number. |
Response Attribute
{
results: [{
contract_id: Integer,
id: Integer
text: String,
pdf_url: String
page_no: Integer,
}],
total:Integer
}
HTTP GET
Request
curl -GET http://rc-site-demo.elasticbeanstalk.com/api/es/contracts/32/text
Response
HTTP Status Code 200
Need to Update