To use OPS-Web, you need a JWT token, which you can obtain from our technical contacts. The token must be sent with every GET request in the header. Example:
Authorization: Basic {yourToken},
To execute a request you need the POI ID defined by Parconomy. A list of available POIs or access to the API interface to retrieve a list can be obtained from our technical contacts.
Endpoint:
GET:
https://ops-web.parconomy.org/api/pois/{poiId}
Response:
<html>MobileView Poi...</html>
Query parameter:
?primaryColor={yourPrimary}&scondaryColor={yourSecondary}
The color code for the primary and secondary color can be sent in all web-typical formats. The only thing to keep in mind is that the '#' must be replaced by '%23' when using the hexadecimal notation. Examples:
red, green, blue
%23FF0000, %2300FF00,%230000FF
GET:
http://ops-web.parconomy.org/api/pois/ae5dec371cf84c56a9260b454e7f5d5e?primaryColor=blue&secondaryColor=white