EventCalendarTrackingAdd
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>EventCalendarTrackingAdd</Type> <EventCalendarTrackingAdd> <Data>2016-05-24 11:49:51</Data> <Lon>4.54</Lon> <Lat>23.54</Lat> <CalendarID>2723</CalendarID><!--opcjonalne --><!-- ID zdarzenia --> <Type>2</Type><!--opcjonalne --><!-- 0 (domyślnie) - tracking, 1 - rozpoczęcie zadania, 2 - zakończenie zadania --> </EventCalendarTrackingAdd> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>EventCalendarTrackingAdd</Type> <EventCalendarTrackingAdd> <Status>OK</Status> </EventCalendarTrackingAdd> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nieudane dodanie wpisu do bazy dla UserID: 2 Type: 2 CalendarID: 27231 Data: 2016-05-24 11:49:51 Lon: 4.54 Lat: 23.54</Error> </Request> </Net47> //BEGINEND//