GET api/Cards/RechteAbfragen

GET api/Cards/RechteAbfragen

Send client_id and client_secret; Server answers with AccesToken or RefreshToken

Request Information

URI Parameters

None.

Body Parameters

client_id,client_secret

RechteAbfrage
NameDescriptionTypeAdditional information
SiteNr

SiteNr

integer

None.

client_id

client_id

string

None.

client_secret

client_secret

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteNr": 1,
  "client_id": "sample string 2",
  "client_secret": "sample string 3"
}

application/xml, text/xml

Sample:
<RechteAbfrage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <SiteNr>1</SiteNr>
  <client_id>sample string 2</client_id>
  <client_secret>sample string 3</client_secret>
</RechteAbfrage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Token or Error_string

ResponseRechte
NameDescriptionTypeAdditional information
Token

AccesToken or RefreshToken

string

None.

Error_string

ID of the error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Error_string": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseRechte xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <Error_string>sample string 2</Error_string>
  <Token>sample string 1</Token>
</ResponseRechte>