module
Click here for a complete list of operations.
GetUserPrePaidHistory
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ws_cas_module.asmx HTTP/1.1 Host: extws.sgs1.ott.kaltura.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ca.tvinci.com/GetUserPrePaidHistory" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetUserPrePaidHistory xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <sSiteGUID>string</sSiteGUID> <nNumberOfItems>int</nNumberOfItems> </GetUserPrePaidHistory> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetUserPrePaidHistoryResponse xmlns="http://ca.tvinci.com/"> <GetUserPrePaidHistoryResult> <m_Transactions> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice xsi:nil="true" /> <m_oCredit xsi:nil="true" /> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice xsi:nil="true" /> <m_oCredit xsi:nil="true" /> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> </m_Transactions> <m_nTransactionsCount>int</m_nTransactionsCount> </GetUserPrePaidHistoryResult> </GetUserPrePaidHistoryResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ws_cas_module.asmx HTTP/1.1 Host: extws.sgs1.ott.kaltura.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetUserPrePaidHistory xmlns="http://ca.tvinci.com/"> <sWSUserName>string</sWSUserName> <sWSPassword>string</sWSPassword> <sSiteGUID>string</sSiteGUID> <nNumberOfItems>int</nNumberOfItems> </GetUserPrePaidHistory> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetUserPrePaidHistoryResponse xmlns="http://ca.tvinci.com/"> <GetUserPrePaidHistoryResult> <m_Transactions> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice xsi:nil="true" /> <m_oCredit xsi:nil="true" /> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice xsi:nil="true" /> <m_oCredit xsi:nil="true" /> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> </m_Transactions> <m_nTransactionsCount>int</m_nTransactionsCount> </GetUserPrePaidHistoryResult> </GetUserPrePaidHistoryResponse> </soap12:Body> </soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ws_cas_module.asmx/GetUserPrePaidHistory HTTP/1.1 Host: extws.sgs1.ott.kaltura.com Content-Type: application/x-www-form-urlencoded Content-Length: length sWSUserName=string&sWSPassword=string&sSiteGUID=string&nNumberOfItems=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <PrePaidHistoryResponse xmlns="http://ca.tvinci.com/"> <m_Transactions> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oPrice> <m_oCredit> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oCredit> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> <PrePaidHistoryContainer> <m_sPurchasedItemName>string</m_sPurchasedItemName> <m_sPurchasedItemCode>string</m_sPurchasedItemCode> <m_eItemType>Unknown or PPV or Subscription or PrePaid or PrePaidExpired or Collection or ProgramAssetGroupOffer</m_eItemType> <m_oPrice> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oPrice> <m_oCredit> <m_dPrice>double</m_dPrice> <m_oCurrency d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <countryId>int</countryId> </m_oCredit> <m_dtActionDate>dateTime</m_dtActionDate> </PrePaidHistoryContainer> </m_Transactions> <m_nTransactionsCount>int</m_nTransactionsCount> </PrePaidHistoryResponse>