Create Room Key - property must have an active doorlocking integration
POST {{HostName}}/fof/v0/hotels/{{HotelId}}/reservations/reservationId/roomKeys
This operation postRoomKey will only be available if the property has a valid intergration to a doorlocking system.
encoderId = 0 is typically the designation that a digital key is requested rather than a physical key
Request Body
{"reservationIdList"=>[{"type"=>"Reservation", "id"=>"{{ReservationId}}"}], "keyOptions"=>"GAR,RFT", "keyValidityStart"=>"2021-22-25 12:00:00.0", "noOfKeys"=>"1", "encoderTerminal"=>"APIRQ", "encoderId"=>{"id"=>"0"}, "resort"=>"{{HotelId}}", "keyType"=>"New", "keyValidityEnd"=>"2021-11-26 13:00:00.0"}