Hotel-X Development - Admin

What is Hotel-X Admin Query and what information can I expect?

What is Hotel-X Admin Query?🛠️

The main purpose of the Admin Query is to return a summarized view of all the details related to your account.

What can I expect to receive in Admin Query response?✔️

Some of the fields returned through the Admin Query are:

  • Client names and codes
  • Linked accesses and access detailed information: active/inactive, test/live, credentials, parameters, contexts, etc.
  • Linked Products
  • Linked Sellers
  • Linked Profiles

How can I retrieve Admin Query details through Hotel-X?💡

You just need to follow the specifications in our Documentation and API Playground and build your own Admin Query, as easy as that! Also, remember you are able to personalize the fields requested in order to receive only the information that matters to you in the response.

Admin Query example:

{
    "query" : "{\n admin {\n\t\tclients{\n\t\t\tedges{\n\t\t\t\tnode{\n\t\t\t\t\tcode\n\t\t\t\t\tclientData{\n\t\t\t\t\t\tcode\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n accesses {\n edges {\n \n node {\n code\n accessData{\n code\n user\n password\n isActive\n isTest\n urls{\n search\n quote\n book\n generic\n }\n parameters{\n key\n value\n }\n markets\n rateRules\n shared {\n code\n }\n owner{\n code\n \n }\n supplier{\n code\n\t\t\t\t\t\tsupplierData{\n\t\t\t\t\t\t\tcontext\n\t\t\t\t\t\t}\n }\n\t\t\t\t\tname\n }\n error {\n code\n type\n description\n }\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n"
}

 

Don't forget to check our Documentation and API Playground for further details about Hotel-X Admin Query!🚀