EventCalendarGpsAdd
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>EventCalendarGpsAdd</Type> <EventCalendarGpsAdd> <Data>2016-05-24 11:49:51</Data> <CalendarID>2503</CalendarID> <Gps> <Start>true</Start><!--opcjonalne --> <Long>23.43</Long> <Lat>45.23</Lat> <Radius>4.3</Radius> <Speed>40.4</Speed> <Bearing>43.2</Bearing> <DateGps>2017-08-16 12:55:59</DateGps> <DateDevice>2017-08-16 12:54:59</DateDevice> <Provider>GPS</Provider> </Gps> <Gps> <Long>26.43</Long> <Lat>49.77</Lat> <Radius>5.34</Radius> <Speed>38.43</Speed> <Bearing>88.2</Bearing> <DateGps>2017-08-19 13:55:59</DateGps> <DateDevice>2017-08-19 13:57:59</DateDevice> <Provider>Network</Provider> </Gps> </EventCalendarGpsAdd> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>EventCalendarGpsAdd</Type> <EventCalendarGpsAdd> <Status>OK</Status> </EventCalendarGpsAdd> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nie udało się dodać wpisów do bazy</Error> </Request> </Net47> //BEGINEND//