diff --git a/apiary.apib b/apiary.apib index 826937a..db5c020 100644 --- a/apiary.apib +++ b/apiary.apib @@ -10315,6 +10315,7 @@ Create webhook subscription listens to subscribed webhook events on a specific p + Request (application/json) + Headers + Accept: application/json + Attributes @@ -10340,21 +10341,20 @@ Create webhook subscription listens to subscribed webhook events on a specific p + Body - { - "webhookUrl": "https://webhook.site/2036c967-0174-4604-8b38-8d5493ed6d65", - "emails": [ - "test@xyz.com" - ], - "eventName": "APPOINTMENT_BOOKED", - "auth": { - "username": "testUser", - "password": "userpassword" + { + "webhookUrl": "https://webhook.site/2036c967-0174-4604-8b38-8d5493ed6d65", + "emails": [ + "test@xyz.com" + ], + "eventName": "APPOINTMENT_BOOKED", + "auth": { + "username": "testUser", + "password": "userpassword" + } } - - } - + Response 200 (application/json) + { "id": "abcchdguweUGBSK16789278", "message": "You have successfully subscribed to : https://webhook.site/2036c967-0174-4604-8b38-8d5493ed6d65" @@ -10390,12 +10390,14 @@ Delete webhook subscription to stop listening to subscribed webhook events on th + Request (application/json) + Headers + Accept: application/json + Response 200 (application/json) - { - "message": "This Subscription has been Unsubscribed" - } + + { + "message": "This Subscription has been Unsubscribed" + } + Response 404 @@ -12399,6 +12401,7 @@ Get all Questions and Answers for a Location + Body + { "totalCount": 1, "questionsAndAnswers": [ @@ -16071,7 +16074,7 @@ Get tickets + status: new (string) - Ticket status. + rating: 5.0 (number) - Review rating. + externalId: 213243231 (string) - Public review id. - + description: Customer will visit again (number) - Description of the ticket. + + description: Customer will visit again (string) - Description of the ticket. + activityCount: 4 (number) - Number of activities associated with the ticket. + assignedTo (object) - Assignee details. + firstName: Steve (string) - First Name of the assignee.