...
When the user defines a Partner with the setting siri.envelope
with the value raw
, the Vehicle Monitoring Subscription collector sends a subscription request with this format:
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <Siri xmlns="http://www.siri.org.uk/siri"> <SubscriptionRequest> <RequestTimestamp>2030-01-01T10:00:00-05:00</RequestTimestamp> <RequestorRef>Ara</RequestorRef> <VehicleMonitoringSubscriptionRequest> <SubscriberRef>Ara</SubscriberRef> <SubscriptionIdentifier>000765</SubscriptionIdentifier> <InitialTerminationTime>2030-01-02T10:00:00-05:00</InitialTerminationTime> <VehicleMonitoringRequest> <RequestTimestamp>2030-01-01T10:00:00-05:00</RequestTimestamp> <Lines> <LineDirection> <LineRef>123</LineRef> </LineDirection> </Lines> </VehicleMonitoringRequest> </VehicleMonitoringSubscriptionRequest> </SubscriptionRequest> </Siri> |
And it processes this kind of notification payload:
Code Block | ||
---|---|---|
| ||
<?xml version='1.0' encoding='utf-8'?> <Siri xmlns='http://www.siri.org.uk/siri'> <ServiceDelivery> <ResponseTimestamp>2017-01-01T12:00:20.000Z</ResponseTimestamp> <ProducerRef>NINOXE:default</ProducerRef> <ResponseMessageIdentifier>RATPDev:ResponseMessage::6ba7b814-9dad-11d1-9-00c04fd430c8:LOC</ResponseMessageIdentifier> <VehicleMonitoringDelivery> <ResponseTimestamp>2022-06-25T15:08:14.940+02:00</ResponseTimestamp> <SubscriberRef>subscriber</SubscriberRef> <SubscriptionRef>6ba7b814-9dad-11d1-4-00c04fd430c8</SubscriptionRef> <Status>true</Status> <VehicleActivity> <RecordedAtTime>2022-06-25T15:08:14.928+02:00</RecordedAtTime> <ItemIdentifier>108</ItemIdentifier> <ValidUntilTime>2022-06-25T16:08:14.928+02:00</ValidUntilTime> <VehicleMonitoringRef>108</VehicleMonitoringRef> <!-- ... --> </VehicleActivity> <VehicleActivity> <!-- ... --> </VehicleActivity> </VehicleMonitoringDelivery> <VehicleMonitoringDelivery> <!-- ... --> </VehicleMonitoringDelivery> </ServiceDelivery> </Siri> |
...