/
documentdata
documentdata
Retrieves document contents
Among other files a commonly accessed file is the photograph of the customer. They are located at /person with an attribute named photodocumentid.
To access a phototgraph for a customer with a level 3 API key the personid must sent as a parameter.
Request
HTTP GET /documentdata
Example:
APIURL/documentdata?id=1&apikey=338934897438 |
Retrieve photograph with level 3 API key
APIURL/documentdata?id=19&apikey=338934897438&personid=12
|
Response
In contrast to other API requests the repsonse to this request is a data stream encoded as application/octet-stream containing the raw data from the document. Alla photographs are stored in the JPG format.