Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen View Version History

« Vorherige Version anzeigen Version 6 Aktuelle »

Question

Answer

I tried to import a message with actions via POST /requests, but get as response: “”responseCode”:405,”content”:{“allowedMethods”:[“PUT”, “DELETE”]}”

The used referenceID is already used. For new imports via POST use a unique referenceID, please. 

I try to import a message with actions via POST /requests, but get as response:{“parameter”:”referenceID”,”context”:”missing parameter”} 

Please check via GET /setup/requests if “hasActions”:”true” and “referenceID”:”false”. Currently it’s only possible to send actions when a referenceID is given.

Therefore update via PUT /setup/requests referenceID:true and add a referenceID in your next test.

I’ll send a GET-request and get an eror for the generated signature. 

Please check if you use an empty array of data to be serialized within the string. E.g.: GET;https://api.hotelkit.net/setup/partner;Date:Mon, 09 Jan 2023 08:29:44 GMT;x-hotelkit-api-nonce:MTY3MzI1Mjk4NDE1OWIwTFNaMTNpdlN0TFFFVg==;x-hotelkit-api-public-key:test-partner;x-hotelkit-api-version:3.0;[]

On sending a request with a unique nonce I’ll get a “nonce already handled”-error back. 

Do you use Postman? If yes, please check the setting on following redirects. Disable it and check again.

I successfully created a test import but don’t see it within the provided testkit.

Please check within your testkit, if in the Admin -> API-section -> your integration within the template you are in the recipients.

image-20240530-082954.png

Did not find the right answer?

Get support from our team: api@hotelkit.net

  • Keine Stichwörter