api/v2/idp
IDP REST API provides convenience wrapper calls around DocForm API in order to simplify usage of the IDP functionality available in the elDoc system.
API overview
Method | API endpoint |
---|---|
Get recognition document contents as text | GET api/v2/idp/{id}/text |
Common request parameters overview
Param | Type | Description | Sample values |
---|---|---|---|
{id} | Path param | Short id (stored in the _id_web property) or full id (24 hex-character value stored in the _id property) of the DocForm | F12, 59d4582e42a6273b107abcb0 |
Get recognition document contents as text
URL & Method & Description
GET api/v2/idp/{id}/text
Retrieves recognition document contents as text.
Request:
Request (sample)
GET https://eldoc.online/api/v2/idp/{id}/text
Param | Type | Description | Sample values (comma separated) |
---|---|---|---|
{page} | Query param | (Optional) Page index (0-based) | ?page=5 |
Response:
Response headers
Content-Type: text/plain;charset=UTF-8 X-Total-Count: 0
Response body (sample)
// Text contents
Last modified: August 19, 2022