PMS REST API
Response Status Codes
• 200: OK
• 401: Unauthorized. Returned when trying to execute an authenticated method without valid credentials.
• 404: Not Found. Data or method is not found.
• 405: Method not allowed. Returned when trying to execute with a wrong method (Example: using GET when you should be using POST)
• 500: Internal Server Error. There was an error when executing a method. The message field contains details of the error from ProviderExceptionInfo
Sample System Error
Unknown Hotel!
{"ErrorCode":3,"Message":"Unknown Hotel","SubServiceErrorCode":null}
If you receive this error, you should check Hotel parameter of your request, every time you send a request that requires Hotel parameter, api checks if there is any corresponding live resort.

