API Management

Description

About Webcockpit Connect (REST-API)

Webcockpit REST-API enables programmatic access to restaurant data (REST Wikipedia). Webcockpit APIs are maintained and further developed independently of the existing Webcockpit reports and apps. We implement new APIs on request.

Availability

SubscriptionPro
ScopeAll markets
LimitationAccesible only for users with the role “Organisation Administrator”

Information

This chapter contains information about the available endpoints, how to create an API Key and how to call an endpoint.

API Endpoints

Webcockpit REST-API follows the OpenAPI Specification – Version 3. All available API requests and their data models are documented on the page mentioned below.

Documentation: https://api.webcockpit.app/swagger/index.html

Call API Endpoint

API endpoints can be tested e.g. with the programme Postman.

Settings Header

Key: X-Api-Key
Value: [API Key]

Settings Body

Typ: raw / JSON

Example
https://api.webcockpit.app/api/api/Default/getsalesperbusinessday
{
“StoreId”:”12345″,
“From”:”2020-08-29T00:00:00.000Z”,
“To”:”2020-08-31T00:00:00.000Z”,
“CountryCode”:”XY”
}

Create and manage API Key

Navigation menu in the “Administrator” section.

Use the “Add Token” button to create a new API key. Then assign the API endpoints for which the new key should have access.

Tags:

Was this helpful?