TariffDefinitionGetAll
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>TariffDefinitionGetAll</Type> <TariffDefinitionGetAll> <ID>1</ID> <!-- id z TariffGetAll --> </TariffDefinitionGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>TariffDefinitionGetAll</Type> <TariffDefinitionGetAll> <TariffDefinition> <ID>4</ID> <Cycles>36</Cycles> <Description>Promocja 36 miesięcy</Description> </TariffDefinition> </TariffDefinitionGetAll> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Taryfa o podanym ID nie istnieje</Error> </Request> </Net47> //BEGINEND//