TariffDefinitionSimulateGetAll
(Różnice między wersjami)
Linia 30: | Linia 30: | ||
<Description>Promocja 36 miesięcy</Description> | <Description>Promocja 36 miesięcy</Description> | ||
<Simulate> | <Simulate> | ||
− | < | + | <SimulateCycle> |
<Cycle>1</Cycle> | <Cycle>1</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 39: | Linia 39: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
− | < | + | <SimulateCycle> |
<Cycle>2</Cycle> | <Cycle>2</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 49: | Linia 49: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
− | < | + | <SimulateCycle> |
<Cycle>3</Cycle> | <Cycle>3</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 59: | Linia 59: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
</Simulate> | </Simulate> | ||
</TariffDefinition> | </TariffDefinition> | ||
Linia 67: | Linia 67: | ||
<Description>Promocja 36 miesięcy</Description> | <Description>Promocja 36 miesięcy</Description> | ||
<Simulate> | <Simulate> | ||
− | < | + | <SimulateCycle> |
<Cycle>1</Cycle> | <Cycle>1</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 76: | Linia 76: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
− | < | + | <SimulateCycle> |
<Cycle>2</Cycle> | <Cycle>2</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 86: | Linia 86: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
− | < | + | <SimulateCycle> |
<Cycle>3</Cycle> | <Cycle>3</Cycle> | ||
<Name>Promocja 24 miesiące</Name> | <Name>Promocja 24 miesiące</Name> | ||
Linia 96: | Linia 96: | ||
<Upload>512</Upload> | <Upload>512</Upload> | ||
<TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> | ||
− | </ | + | </SimulateCycle> |
</Simulate> | </Simulate> | ||
</TariffDefinition> | </TariffDefinition> |
Wersja z 15:30, 24 paź 2012
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Request> <Type>TariffDefinitionSimulateGetAll</Type> <TariffDefinitionSimulateGetAll> <TariffID>1</TariffID> <!-- id z TariffGetAll --> <CustomerID>4</CustomerID> </TariffDefinitionSimulateGetAll> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>TariffDefinitionSimulateGetAll</Type> <TariffDefinitionSimulateGetAll> <TariffDefinition> <ID>4</ID> <Cycles>36</Cycles> <Description>Promocja 36 miesięcy</Description> <Simulate> <SimulateCycle> <Cycle>1</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> <SimulateCycle> <Cycle>2</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> <SimulateCycle> <Cycle>3</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> </Simulate> </TariffDefinition> <TariffDefinition> <ID>4</ID> <Cycles>36</Cycles> <Description>Promocja 36 miesięcy</Description> <Simulate> <SimulateCycle> <Cycle>1</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> <SimulateCycle> <Cycle>2</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> <SimulateCycle> <Cycle>3</Cycle> <Name>Promocja 24 miesiące</Name> <NameDescription>taryfa testowa</NameDescription> <Price>23.42</Price> <Netto>false</Netto> <Download>2048</Download> <Upload>512</Upload> <TerminPlatnosci>8</TerminPlatnosci> <!-- wyrazone w dniach --> </SimulateCycle> </Simulate> </TariffDefinition> </TariffDefinitionSimulateGetAll> </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//