BookingUSB-Ping API
Modified on: 2024-04-24 11:46
TABLE OF CONTENTS
Introduction
This is an optional API that GO Distributors can use to check whether GO's booking service works.
GET /ping HTTP/1.1 URL:{{endpoint}}/ping?distributorId={{distributorId}} Authorization:Bearer 53ac07777cdffac2d53000002d698728ce964432d7167596bc005c5fc Accept-Encoding: gzip Content-Encoding: gzip Content-Type: application/json;charset=utf-8
Parameters
Name | Description | Required | Type | Example |
---|---|---|---|---|
distributorId | ID of distributor in DerbySoft‘s system | Y | string | TUI |
Response Example
- Success Response (HTTP Status 200)
"ok"
- Error Response (HTTP Status 401)
{ "error": "Key not authorised" }
- Error Response (HTTP Status 500)
{ "errorCode": "InvalidField", "errorMessage": "Invalid Message" }
Did you find it helpful? Yes No
Send feedback