EventCalendarGpsGetAll
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>EventCalendarGpsGetAll</Type> <EventCalendarGpsGetAll> <CalendarID>2503</CalendarID> <UserID>2503</UserID><!-- opcjonalne--> <Limit>0</Limit> <Offset>1</Offset> <SortName>id</SortName> <!-- id, terminarz_id, user_id, status_id, createdate, description --> <SortType>ASC</SortType> </EventCalendarGpsGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>EventCalendarGpsGetAll</Type> <EventCalendarGpsGetAll> <Status>OK</Status> <Rec> <ID>1</ID> <Start>t</Start> <Long>55.345477567</Long> <Lat>51.464656</Lat> <Radius>20.2</Radius> <Speed>40</Speed> <Bearing>45.3</Bearing> <DateGps>2017-08-16 12:55:59</DateGps> <DateDevice>2017-08-16 12:55:59</DateDevice> <Provider>network</Provider> <UserID>25</UserID> </Rec> <Rec> <ID>2</ID> <Start>f</Start> <Long>55.345477567</Long> <Lat>51.464656</Lat> <Radius>20.2</Radius> <Speed>40</Speed> <Bearing>45.3</Bearing> <DateGps>2017-08-16 12:55:59</DateGps> <DateDevice>2017-08-16 12:55:59</DateDevice> <Provider>network</Provider> <UserID>25</UserID> </Rec> </EventCalendarGpsGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Brak danych</Error> </Request> </Net47> //BEGINEND//