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": "d9b0b2b7-cf85-4a41-8035-bdc47c4cea4d",
  "Password": "8fdf1483-24ba-4828-b9f8-cb95cb88c8a8"
}

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": "9ca8fea0-415e-4ced-96ff-52d0c484328d"
}