TariffGetAll
(Różnice między wersjami)
(Utworzył nową stronę „Zapytanie: <pre class="brush:xml"> //BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Pr...”) |
|||
Linia 26: | Linia 26: | ||
<Type>TariffGetAll</Type> | <Type>TariffGetAll</Type> | ||
<TariffGetAll> | <TariffGetAll> | ||
− | <ID>44</ID> | + | <Tariff> |
− | + | <ID>44</ID> | |
− | + | <Name>Racibórz</Name> | |
− | + | <TypeID>2</TypeID> <!-- z tabeli: finances.tariffs_typ --> | |
− | + | <TaxID>3</TaxID> <!-- z tabeli: finances.podatek --> | |
− | + | <Netto>true</Netto> <!-- netto/brutto --> | |
− | + | <StartDate>2012-03-11 00:00:00</StartDate> | |
− | + | <StopDate>2013-03-11 00:00:00</StopDate> | |
− | + | <Description>taryfa podstawowa</Description> | |
− | + | <Price>42,55</Price> | |
− | + | <Upload>1024</Upload> | |
− | + | <Download>8192</Download> | |
+ | <PeriodID>2</PeriodID> <!-- z tabeli: finances.okres_slownik --> | ||
+ | </Tariff> | ||
</TariffGetAll> | </TariffGetAll> | ||
</Request> | </Request> |
Wersja z 12:12, 11 kwi 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Term>Long</Term> <Request> <Type>TariffGetAll</Type> <TariffGetAll> <SortType>ASC</SortType> <SortName>id</SortName> </TariffGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>TariffGetAll</Type> <TariffGetAll> <Tariff> <ID>44</ID> <Name>Racibórz</Name> <TypeID>2</TypeID> <!-- z tabeli: finances.tariffs_typ --> <TaxID>3</TaxID> <!-- z tabeli: finances.podatek --> <Netto>true</Netto> <!-- netto/brutto --> <StartDate>2012-03-11 00:00:00</StartDate> <StopDate>2013-03-11 00:00:00</StopDate> <Description>taryfa podstawowa</Description> <Price>42,55</Price> <Upload>1024</Upload> <Download>8192</Download> <PeriodID>2</PeriodID> <!-- z tabeli: finances.okres_slownik --> </Tariff> </TariffGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Taryfa o podanej nazwie już istnieje</Error> </Request> </Net47> //BEGINEND//