You can access our API with a personal apikey, wich can be requested through info@expodoc.com
Once you received this apikey, you can use this to get a token
Send a get request to
https://ws.expodoc.com/api/token/[ApiKey]
You will receive a token that will be valid for 2 hours, after which you can request a new token. With this token you can access our api.
With each get, put or post request you make you should send the following in the headers:
KEY: 'Accept'
VALUE: 'application/json' or 'application/xml'
If you prefer to get or post a json use 'application/json' For xml use 'application/xml'
For the second header
KEY: 'Authorization'
VALUE: 'bearer ' followed by the token you've received
In the following example, you can see how to get a certain organisation. (Taken that you allready got your token as stated above)
(headers)
Accept: application/json
Authorization: bearer SI6ImludGVybmFsIiwidmlkIjowLCJtYWluaWQiOjEsInJvbGUiOlsib3JnYW5pc2F0b3IiLCJleHBvcnRfb3JkZXJzIiwib25saW5lcGF5IiwiaW1wb3J0X29y...
And then send a get request to the following url:
api/crm/company/get/{customerCode}