...
Codeblock |
---|
PUT /setup/customer { "enabledRequests":["guestRequest"] } |
To check imports in your test-environment, please make sure you are set as a recipient to read the import. This only applies in the test-environment.
Task Import
At first the task will be created at POST /requests and after that the status may be changed several times.
...
Codeblock |
---|
POST /requests?type=guestRequest { "title":"Extra towel in room #404", "content":{ "Comment of guest":"Please in XL" }, "link":"https://hotelkit.net/demo/123", //link to partners details "referenceID":"123", "actions":[ { "type":"decline", "label":"Decline", "labelDone":"Declined", "labelType":"error", "isDone":true, "information":{ "text":{ "required":true, "type":"text", "label":"Reason" } } }, { "type":"accept", "label":"AcceptResolve", "labelDone":"AcceptedCompleted", "labelType":"success", "isDone":true }, ] } |
...