Request

PUT https://api.digital-nautic.com/v3/rentals/{rentalId}/crewMembers/{crewMemberId}

Path parameters

Parameter name Value Description Additional
rentalId integer

pass a mandatory rental id to get access to the crew.

Required
crewMemberId integer

pass a mandatory crew member id.

Required

Request body

The request body takes a complete Rental Crew Member resource, containing the following writable properties:

{
    "email": "email",
    "firstName": "string",
    "lastName": "string",
    "type": "string"
}

Properties

Name Type Description Additional
email email

Email

firstName string

Fist-name

lastName string

Last-name

type string

Whether the crew menber is an adult or children (accepted values as ADULT, CHILD)

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

item updated

Rental Crew Member
400 Bad Request

bad input parameter

401 Unauthorized

authorization information is missing or invalid.

404 Not Found

a crew member with the specified ID was not found.


Explore this API

rentalId

pass a mandatory rental id to get access to the crew.

crewMemberId

pass a mandatory crew member id.

crewMemberItem

CrewMember item to update

Request Content-Type
Response Content-Type
Try it out!