POST Auth/GetAuthKey
Gets the auth key from a corresponding request/link key
Request Information
URI Parameters
None.
Body Parameters
A model containing the request key
ServiceLinkModelName | Description | Type | Additional information |
---|---|---|---|
RequestKey | string |
None. |
|
Url | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "RequestKey": "abc123456e46f56g4s6f7s8g9s7tg6s5fg4sdg5", "Url": "http://www.eata.be/account/linkprinterservice?key=abc123456e46f56g4s6f7s8g9s7tg6s5fg4sdg5" }
application/xml, text/xml
Sample:
<ServiceLinkModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RequestKey>abc123456e46f56g4s6f7s8g9s7tg6s5fg4sdg5</RequestKey> <Url>http://www.eata.be/account/linkprinterservice?key=abc123456e46f56g4s6f7s8g9s7tg6s5fg4sdg5</Url> </ServiceLinkModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns a model the auth key
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "LogonKey": "sample string 1", "Secure": true }
application/xml, text/xml
Sample:
<ServiceAuthModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LogonKey>sample string 1</LogonKey> <Secure>true</Secure> </ServiceAuthModel>