EvioAddPackage
Z Net47 2.0
Zapytanie:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <SessionID>9859c16379c2f22e2db8dde9f41cc6a8</SessionID> <Priority>0</Priority> <Module>Evio</Module> <Request> <Type>EvioAddPackage</Type> <EvioAddPackage> <packageId>1000</packageId> <drmPackageId>FT_1234_TEST</drmPackageId> <crmId>55</crmId> <name>C+</name> <description>Canal+</description> </EvioAddPackage> </Request> </Net47> //BEGINEND//
Odpowiedź:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>EvioAddPackage</Type> <EvioAddPackage> <state>OK</state> </EvioAddPackage> </Request> </Net47> //BEGINEND//
Błędy:
//BEGIN// <?xml version="1.0" encoding="UTF-8"?> <Net47> <Request> <Type>Error</Type> <Error>Nieprawidłowy crmId.</Error> <Error>Pakiet o podanym ID już istnieje.</Error> <Error>Nieudane dodanie pakietu.</Error> </Request> </Net47> //BEGINEND//