Hämtar dokumentinnehåll
Här ligger bland annat personers bilder. På /person finns de som attribut photodocumentid.
För att få ut personens bild med en nivå3 nyckel måste även personid skickas med som parameter.
...
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
ExempelExample:
APIURL/documentdata?id=1&apikey=338934897438 |
Hämta personbild med nivå3 nyckelRetrieve photograph with level 3 API key
APIURL/documentdata?id=19&apikey=338934897438&personid=12
|
Svar
...
Response
In contrast to other API requests the repsonse to this request is a data stream encoded as application/octet-stream innehållandes rådatan i dokumentet. Alla bilder är lagrade som jpgcontaining the raw data from the document. Alla photographs are stored in the JPG format.