35 lines
828 B
HTTP
35 lines
828 B
HTTP
### POST /modules/self-serve/lane/command START
|
|
@lane_id = 1
|
|
POST {{api_url}}/modules/self-serve/lane/command
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"command": "START",
|
|
"customer_number": {{customer_number}},
|
|
"license_plate": "{{registration_number_1}}",
|
|
"lane_id": {{lane_id}}
|
|
}
|
|
|
|
|
|
### POST /modules/self-serve/lane/command STOP
|
|
POST {{api_url}}/modules/self-serve/lane/command
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{auth_token_superuser}}
|
|
|
|
{
|
|
"command": "STOP",
|
|
"lane_id": {{lane_id}}
|
|
}
|
|
|
|
### POST /modules/self-serve/lane/command RESET
|
|
POST {{api_url}}/modules/self-serve/lane/command
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{auth_token_superuser}}
|
|
|
|
{
|
|
"command": "RESET",
|
|
"lane_id": {{lane_id}}
|
|
} |