Skip to content
Anjesh edited this page Aug 5, 2015 · 15 revisions

It provide the text of contract according to page.

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