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": "17a75c01-7d23-4ee2-89bb-e030fdf1fbb9",
  "Password": "e970e127-a30f-49da-a445-9528cb375cc7"
}

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": "1b6b7355-c318-4695-94c9-a4ee8c6ddca0"
}