Assign a berth
PUT
/berths/{berthId}/assign
Authorization
bearerAuth
Authorization: Bearer <token>
Any token will do here. Without one the answer is a 401.
Path parameters
berthId*
string
The berth, as painted on the quay.
Example B7
Request body
application/json
By ship
shipId*
integer
until?
string
Format date-time
Reserved
reason*
string
Responses
200
The berth and what holds it.
application/json
berth?
string
shipId?
integer | null
reason?
string | null
until?
string | null
Format date-time
422
Neither a ship nor a reason was given.
application/json
message*
string
errors?
object