Skip to content
Sharipov Ruslan edited this page Aug 25, 2016 · 6 revisions

Woori provides properties exclusively within Korea. They are also known as Roomallo.

Technical information

Woori provides a JSON API.

Servers

URL: https://api.ytlabs.co.kr/stage/v1/

Woori doesn't have different staging/production environments, they provide access to real server, but allowed API actions is limited, only properties (units) with enabled Test Mode can be booked.

Test mode room codes (unit ids):

  • w_w0814002_R01
  • w_w0814002_R05
  • w_w1001004_R01
  • w_w1001004_R02

Authentication

All calls to the Woori API must be authenticated using an access token passed in the HTTP Headers.

Request Example:

curl -vX POST --header "Content-Type: application/json" --header "Authorization:SomeKey" https://api.ytlabs.co.kr/stage/v1/reservation/holding -d @payload.json
payload.json:
{
  "roomCode": "w_w0814002_R01",
  "checkInDate": "2016-09-30",
  "checkOutDate": "2016-09-31"
}

Reservation

Stay limits is 30 nights.