EventCalendarGetAll
(Różnice między wersjami)
Linia 9: | Linia 9: | ||
<Type>EventCalendarGetAll</Type> | <Type>EventCalendarGetAll</Type> | ||
<EventCalendarGetAll> | <EventCalendarGetAll> | ||
− | <SortName>id</SortName> <!-- | + | <SortName>id</SortName> <!-- id, customer_id, helpdesk, typz, priorytet, print, prywatna, closeid, fv, akcja, startdate, enddate, createdate --> |
<SortType>ASC</SortType> | <SortType>ASC</SortType> | ||
<Limit>10</Limit> | <Limit>10</Limit> | ||
Linia 39: | Linia 39: | ||
<Calendar> | <Calendar> | ||
<ID>4</ID> | <ID>4</ID> | ||
− | < | + | <CustomerID>8</CustomerID> |
− | < | + | <HelpDeskID>6</HelpDeskID> |
− | <CreateDate>2012- | + | <ActionTypeID>1</ActionTypeID> |
+ | <Priority>2</Priority> | ||
+ | <Print>true</Print> | ||
+ | <Private>false</Private> | ||
+ | <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> | ||
+ | <Payment>true</Payment> | ||
+ | <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> | ||
+ | <StartDate>2012-05-04 16:12:00</StartDate> | ||
+ | <StopDate>2012-05-04 16:42:00<StopDate> | ||
+ | <CreateDate>2012-05-02 16:42:00</CreateDate> | ||
+ | </Calendar> | ||
+ | <Calendar> | ||
+ | <ID>5</ID> | ||
+ | <CustomerID>8</CustomerID> | ||
+ | <HelpDeskID>6</HelpDeskID> | ||
+ | <ActionTypeID>1</ActionTypeID> | ||
+ | <Priority>2</Priority> | ||
+ | <Print>true</Print> | ||
+ | <Private>false</Private> | ||
+ | <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> | ||
+ | <Payment>true</Payment> | ||
+ | <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> | ||
+ | <StartDate>2012-05-04 16:12:00</StartDate> | ||
+ | <StopDate>2012-05-04 16:42:00<StopDate> | ||
+ | <CreateDate>2012-05-02 16:42:00</CreateDate> | ||
+ | </Calendar> | ||
+ | <Calendar> | ||
+ | <ID>6</ID> | ||
+ | <CustomerID>8</CustomerID> | ||
+ | <HelpDeskID>6</HelpDeskID> | ||
+ | <ActionTypeID>1</ActionTypeID> | ||
+ | <Priority>2</Priority> | ||
+ | <Print>true</Print> | ||
+ | <Private>false</Private> | ||
+ | <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> | ||
+ | <Payment>true</Payment> | ||
+ | <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> | ||
+ | <StartDate>2012-05-04 16:12:00</StartDate> | ||
+ | <StopDate>2012-05-04 16:42:00<StopDate> | ||
+ | <CreateDate>2012-05-02 16:42:00</CreateDate> | ||
</Calendar> | </Calendar> | ||
</EventCalendarGetAll> | </EventCalendarGetAll> |
Wersja z 14:21, 12 wrz 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>EventCalendarGetAll</Type> <EventCalendarGetAll> <SortName>id</SortName> <!-- id, customer_id, helpdesk, typz, priorytet, print, prywatna, closeid, fv, akcja, startdate, enddate, createdate --> <SortType>ASC</SortType> <Limit>10</Limit> <Offset>1</Offset> <CustomerID>4</CustomerID> <!-- opcjonalne --> <HelpDeskID>1</HelpDeskID> <!-- opcjonalne --> <ActionTypeID>89</ActionTypeID> <!-- opcjonalne --> <!-- EventCalendarActionTypeGetAll --> <Priority>2</Priority> <!-- opcjonalne --> <Print>true</Print> <!-- opcjonalne --> <Private>true</Private> <!-- opcjonalne --> <Closed>false</Closed> <!-- opcjonalne --> <Payment>false</Payment> <!-- opcjonalne --> <StartDate>2013-01-05 11:12:11</StartDate> <!-- opcjonalne --> <StopDate>2013-01-08 11:12:11</StopDate> <!-- opcjonalne --> </EventCalendarGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>EventCalendarGetAll</Type> <EventCalendarGetAll> <Calendar> <ID>4</ID> <CustomerID>8</CustomerID> <HelpDeskID>6</HelpDeskID> <ActionTypeID>1</ActionTypeID> <Priority>2</Priority> <Print>true</Print> <Private>false</Private> <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> <Payment>true</Payment> <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> <StartDate>2012-05-04 16:12:00</StartDate> <StopDate>2012-05-04 16:42:00<StopDate> <CreateDate>2012-05-02 16:42:00</CreateDate> </Calendar> <Calendar> <ID>5</ID> <CustomerID>8</CustomerID> <HelpDeskID>6</HelpDeskID> <ActionTypeID>1</ActionTypeID> <Priority>2</Priority> <Print>true</Print> <Private>false</Private> <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> <Payment>true</Payment> <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> <StartDate>2012-05-04 16:12:00</StartDate> <StopDate>2012-05-04 16:42:00<StopDate> <CreateDate>2012-05-02 16:42:00</CreateDate> </Calendar> <Calendar> <ID>6</ID> <CustomerID>8</CustomerID> <HelpDeskID>6</HelpDeskID> <ActionTypeID>1</ActionTypeID> <Priority>2</Priority> <Print>true</Print> <Private>false</Private> <CloseID>2</CloseID> <!-- id operatora ktory zamknal notke --> <Payment>true</Payment> <ActionCloseID>7</ActionCloseID> <!-- EventCalendarActionCloseGetAll --> <StartDate>2012-05-04 16:12:00</StartDate> <StopDate>2012-05-04 16:42:00<StopDate> <CreateDate>2012-05-02 16:42:00</CreateDate> </Calendar> </EventCalendarGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nieprawidłowe dane</Error> </Request> </Net47> //BEGINEND//