Hello Web Services

<back to all web services

OauthTokenRequestBase

The following routes are available for this service:
GET, POST/api/client/oauth/oauthtoken

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/OauthTokenRequestBase HTTP/1.1 
Host: dinumero.modernekonomi.se 
Content-Type: application/xml
Content-Length: length

<OauthTokenRequestBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Client">
  <AuthorizationCode>String</AuthorizationCode>
</OauthTokenRequestBase>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OauthTokenBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.Client">
  <AccessToken>String</AccessToken>
  <RefreshToken>String</RefreshToken>
  <ValidUntil>0001-01-01T00:00:00</ValidUntil>
</OauthTokenBase>