Method :POST
URL: https://apiv1.publicators.com/api/Authorization/SetCustomerAuthorization
Set Customer Authorization
Request Information
URI Parameters
None.
Body Parameters
Json format: AuthModel
AuthorizationBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username |
Username |
globally unique identifier |
Required |
| Password |
Password |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"Username": "f031a055-b36e-4b5c-96df-771d11aa33f8",
"Password": "00c7febf-8c84-4aff-9ed2-6715fd3e2e78"
}
Response Information
Resource Description
Json format: New AuthRequestTokenModel with token
AuthorizationTokenViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Token |
Token |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Token": "3e40dba3-0df8-41f3-a112-c0910eb9bfee"
}