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": "6bf7787b-7895-4228-8a7c-0f5123f97ec8",
  "Password": "88ab2c1a-50c5-446e-805a-45fa0aa1bf4e"
}

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": "07dbe773-a59b-43a8-a601-7c23888f469b"
}