cancel_order.php

Last modified by YellowFox_RD on 2024/12/19 10:11

Table of Contents

Sends a "cancel order" to the connected display of requested car and sets the order as deleted/closed.
Requested custom order id will not be checked for duplicates. By default only the first found order will be cancelled. But you can specify by a flag that all found orders should be cancelled.

Description

POST cancel_order.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=AUF_1234

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystringyes
vehicleRTI car keystringyes
customorderidown order idstringmax 20 charsyes
cancelallflag if all found orders or only the first one should be cancelledboolis false by defaultno

Return

Returns a string. A success message will be "OK". Otherwise it will return "ERROR:Description".

Example call

cancels order "AUF_1234"
https://map.yellowfox.de/rti/cancel_order.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=AUF_1234

https:
//map.yellowfox.de/rti/cancel_order.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&customorderid=AUF_1234