Service
Click here for a complete list of operations.
ProgramGetDetails
Get details for a TV program by id, sUserLogin is used to determine if the user have the TV program favorited,User IP is optional
Test
The test form is only available for requests from the local machine.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 /cas/service.asmx HTTP/1.1 Host: www.iptv-distribution.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.iptv-distribution.com/cas/ProgramGetDetails" <?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> <ProgramGetDetails xmlns="http://www.iptv-distribution.com/cas/"> <nProgramTvGuideID>int</nProgramTvGuideID> <sUserLogin>string</sUserLogin> <sIP>string</sIP> </ProgramGetDetails> </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> <ProgramGetDetailsResponse xmlns="http://www.iptv-distribution.com/cas/"> <ProgramGetDetailsResult> <TvGuideID>int</TvGuideID> <ProgramTvGuideID>string</ProgramTvGuideID> <ChannelID>int</ChannelID> <DetailsID>int</DetailsID> <IsUserFavorite>boolean</IsUserFavorite> <Action>string</Action> <ImageARFUrl>string</ImageARFUrl> <ImageUrl>string</ImageUrl> <LinkARFDispalyStatus>string</LinkARFDispalyStatus> <HasImage>boolean</HasImage> <HasDetails>string</HasDetails> <IsLive>boolean</IsLive> <IsWatchable>boolean</IsWatchable> <ProgramNamecssClass>string</ProgramNamecssClass> <Date>dateTime</Date> <ChannelName>string</ChannelName> <Name>string</Name> <NameSmall>string</NameSmall> <Type>string</Type> <TypeIcon>string</TypeIcon> <Description>string</Description> <ImageAlt>string</ImageAlt> <Link>string</Link> <DetailsType>string</DetailsType> </ProgramGetDetailsResult> </ProgramGetDetailsResponse> </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 /cas/service.asmx HTTP/1.1 Host: www.iptv-distribution.net 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> <ProgramGetDetails xmlns="http://www.iptv-distribution.com/cas/"> <nProgramTvGuideID>int</nProgramTvGuideID> <sUserLogin>string</sUserLogin> <sIP>string</sIP> </ProgramGetDetails> </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> <ProgramGetDetailsResponse xmlns="http://www.iptv-distribution.com/cas/"> <ProgramGetDetailsResult> <TvGuideID>int</TvGuideID> <ProgramTvGuideID>string</ProgramTvGuideID> <ChannelID>int</ChannelID> <DetailsID>int</DetailsID> <IsUserFavorite>boolean</IsUserFavorite> <Action>string</Action> <ImageARFUrl>string</ImageARFUrl> <ImageUrl>string</ImageUrl> <LinkARFDispalyStatus>string</LinkARFDispalyStatus> <HasImage>boolean</HasImage> <HasDetails>string</HasDetails> <IsLive>boolean</IsLive> <IsWatchable>boolean</IsWatchable> <ProgramNamecssClass>string</ProgramNamecssClass> <Date>dateTime</Date> <ChannelName>string</ChannelName> <Name>string</Name> <NameSmall>string</NameSmall> <Type>string</Type> <TypeIcon>string</TypeIcon> <Description>string</Description> <ImageAlt>string</ImageAlt> <Link>string</Link> <DetailsType>string</DetailsType> </ProgramGetDetailsResult> </ProgramGetDetailsResponse> </soap12:Body> </soap12:Envelope>