TariffDefinitionAdd
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>TariffDefinitionAdd</Type> <TariffDefinitionAdd> <TariffID>5</TariffID> <Cycles>12</Cycles> <Description>Opis</Description> </TariffDefinitionAdd> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>TariffDefinitionAdd</Type> <TariffDefinitionAdd> <ID>42<ID> </TariffDefinitionAdd> </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> <Error>Subtaryfa o podanej liczbie cykli już istnieje</Error> </Request> </Net47> //BEGINEND//