TariffAdd
(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 11: | Linia 11: | ||
<TariffAdd> | <TariffAdd> | ||
<Name>Racibórz</Name> | <Name>Racibórz</Name> | ||
− | <TypeID>2</TypeID> <!-- z tabeli: finances.tariffs_typ --> | + | <TypeID>2</TypeID> <!-- z tabeli: finances.tariffs_typ / TariffTypeMapGetAll --> |
<TaxID>3</TaxID> <!-- z tabeli: finances.podatek --> | <TaxID>3</TaxID> <!-- z tabeli: finances.podatek --> | ||
<Netto>true</Netto> <!-- netto/brutto --> | <Netto>true</Netto> <!-- netto/brutto --> |
Wersja z 15:12, 11 kwi 2012
Zapytanie:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < SessionID >9859c16379c2f22e2db8dde9f41cc6a8</ SessionID > < Priority >0</ Priority > < Term >Long</ Term > < Request > < Type >TariffAdd</ Type > < TariffAdd > < Name >Racibórz</ Name > < TypeID >2</ TypeID > <!-- z tabeli: finances.tariffs_typ / TariffTypeMapGetAll --> < 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 --> </ TariffAdd > </ Request > </ Net47 > //BEGINEND// |
Odpowiedź:
1 2 3 4 5 6 7 8 9 10 11 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >TariffAdd</ Type > < TariffAdd > < TariffID >42< TariffID > </ TariffAdd > </ Request > </ Net47 > //BEGINEND// |
Błędy:
1 2 3 4 5 6 7 8 9 | //BEGIN// <? xml version = "1.0" encoding = "UTF-8" ?> < Net47 > < Request > < Type >Error</ Type > < Error >Taryfa o podanej nazwie już istnieje</ Error > </ Request > </ Net47 > //BEGINEND// |