3.2 PickupDropoff SQL Example 3.2 PickupDropoff SQL Example The following SQL statement will create a new PickupDropoff job at the pre-designated loc- ations of p5 and p34. This job will have a pickup priority level of 10 and a dropoff priority level of 20, and a new job identifier of Test1. SQL Statement To create a PickupDroppoff job, make the following statement: INSERT INTO pickup_dropoff_View (pickup_goal, pickup_priority, dropoff_goal, dropoff_priority, job_id) VALUES ('p5', '10', 'p34', '20', 'Test1'); Response INSERT 0 1 3.3 RabbitMQ Python Examples The Python examples below use RabbitMQ to interact with the Integration Toolkit.
These examples can be modified for other functionality by changing the queue names and messages. IMPORTANT: These examples do not require a security certificate explicitly, but will use the one obtained from the Integration Toolkit server without an attempt at validation. The connection is still encrypted and the user id and pass- word are used for authentication. cert_reqs=ssl.CERT_REQUIRED should be used when and SSL certificate is present and the programmer wishes to force its use. NOTE: Example values must be changed for application-specific conditions, as noted in the script comments below. Additional Information :
All required libraries and packages must be installed before these examples can be used. The examples provided in this document were created using Python 3 and Pika 0.12.0. 20 Fleet Operation Workspace Core Integration Toolkit 20964-000 Rev. C User's Manual