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": "ecc9f839-b530-4a53-9d22-42eb2cc2e77f",
  "Password": "ead89247-e0f6-4a73-9497-2a33efbf9a3d"
}

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": "73227920-f30a-4521-8cf8-b7bcbaddb97d"
}