Code description

HTTP Response Status Codes

HTTP Status Code

Meaning

Description

200

OK

Request has been accepted and processed

400

Bad Request

The request could not be understood by the system, malformed syntax.

500

Internal Server Error

We have encountered and unrecoverable problem in the processing of the API call

Response Body Codes

Status codes

Code

Description

0

Internal server error

1

The request succeeded

2

The request failed

Error codes

Code

Description

API_GNR_001

Missing or invalid headers

API_GNR_002

Missing or invalid params

API_GNR_003

Request timeout

API_GNR_004

Service not found

API_GNR_005

No resource was found

API_GNR_006

Something went wrong with database

API_GNR_007

Permission denied

API_GNR_008

Too many attempts

API_PTR_001

Invalid signature. This request could be hacked, please check your signature.Invalid signature. This request could be hacked, please check your signature.

API_PTR_002

The hotel is currently inactive. Updates from partner channels will be temporarily suspended until the hotel resumes operation.

API_PTR_003

Please upload at least one image to be used as the cover.

API_PTR_004

Please select only one image as the cover.

API_PTR_005

You have exceeded the maximum number of images allowed to upload.

API_PTR_006

The start date must be after or equal today.

API_PTR_007

Not eligible to check in to this reservation.

API_PTR_008

Another request is pending approval by G2J. Please try again later.

API_PTR_009

Not eligible to be marked as no-show this reservation.

API_PTR_010

Not eligible to be marked as cancelled this reservation.

API_DYP_001

Flash Sale (first hours) price must be greater than the minimum price

API_DYP_002

Flash Sale (first hours) price must be less than the original price

API_DYP_003

Flash Sale price for the first hour is higher than direct discount, please check again

API_DYP_004

Flash Sale (additional hours) price must be greater than the minimum price

API_DYP_005

Flash Sale (additional hours) price must be less than the original price

API_DYP_006

Flash Sale price for the plus hour is higher than direct discount, please check again

API_DYP_007

The date you choose exists FS program <FS Program>

API_DYP_008

Do not select more than 31 days

API_DYP_009

The date you selected invalid

API_DYP_010

Overnight Flash Sale price cannot be higher than original price

API_DYP_011

Overnight Flash Sale price is higher than direct discount, please check again

API_DYP_012

Overnight Flash Sale price must be greater than the minimum price.

API_DYP_013

This room type cannot be updated at the moment because the adjusted price is lower than the rate set in the <FS Program> or <DD Program>. Please check and try again.

API_DYP_014

This room type cannot be updated at the moment because the adjusted price is lower than the rate set in the <FS Program>

API_DYP_015

This room type cannot be updated at the moment because the adjusted price is lower than the rate set in the <DD Program>

API_DYP_016

This room type cannot be updated at the moment because the adjusted price is higher than the rate set in the Extra fee

API_DYP_017

The list contains room type are participating in another program

Last updated