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": "c5a2dd8b-60b7-47cb-af18-240e30a38672",
"Password": "b7ae7556-894d-4327-a0dd-ae27ffee6c6d"
}
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": "0801d6b6-73e3-4ca0-8548-c28b7293914f"
}