POST http:///fleet.roadprotect.co.il/api/v1/nomination/batch/redirect/digital
The request body takes a complete BatchDigitalRedirectionDto resource, containing the following writable properties:
{
"nominationIds": [
"string"
],
"to": "string"
}
| Name | Type | Description | Additional |
|---|---|---|---|
| nominationIds[] | array of string |
An array of nominationIds to redirect |
|
| to | string |
The target of the redirections Possible values are:
|
To authenticate your client integration please put your token in the header of your requests with the key Authorization, it should look like this:
Authorization: Bearer YOUR_TOKEN_HERE
Please keep your token secured. If your token is compromised, we can issue a new token for you.
This request requires the use of one of following authorisation methods:
API key
.
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 201 | Created |
{
"nominationIds": [51,52,53,54],
"to": "User"
}