Method :POST

URL: https://apiv1.publicators.com/api/Authorization/SetCustomerAuthorization

Set Customer Authorization

Request Information

URI Parameters

None.

Body Parameters

Json format: AuthModel

AuthorizationBindingModel
NameDescriptionTypeAdditional information
Username

Username

globally unique identifier

Required

Password

Password

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Username": "e5d461ea-8da1-4079-a037-4be88a14c94d",
  "Password": "24fc45de-2187-4c54-a13e-b5269012ca48"
}

Response Information

Resource Description

Json format: New AuthRequestTokenModel with token

AuthorizationTokenViewModel
NameDescriptionTypeAdditional information
Token

Token

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "3bef526c-51fe-4b3c-b97f-50c266667c43"
}