Deletes work break

Deletes work break from the route.

Request

DELETE

https://courier.yandex.ru/api/v1/companies/{company_id}/routes/{route_id}/work_breaks/{work_break_id}

Path parameters

Name

Description

company_id*

Type: integer

Company ID used in requests to the Track & Trace API.

route_id*

Type: integer

Route ID used in requests to the Track & Trace API.

work_break_id*

Type: integer

Work break ID used in requests to the Track & Trace API.

Responses

200 OK

Information about work break was deleted.

Body

application/json
{
    "id": 0,
    "sequence_pos": 0
}

Name

Description

id*

Type: integer

Work break ID used in requests to the Track & Trace API.

sequence_pos*

Type: integer

Position of work break.

401 Unauthorized

Deprecated

Authorization error. Make sure that the request header contains the correct OAuth token.

403 Forbidden

Deprecated

Error accessing the object. The user doesn't have the rights to access the object.

404 Not Found

Deprecated

Object search error. Object not found.

422 Unprocessable Entity

Deprecated

Incorrect input. The operation can't be performed.