Returns a list of categories limited by that category being associated with the content ID provided.
| Name | Description |
|---|---|
|
soap:header |
Username and password Type: UserCredentials Children: Userid, Password |
| contentID |
Content ID Type: int |
| Name | Description |
|---|---|
|
CategoriesByContentIDResult |
Category elements. Type: List Category |
The following is a sample SOAP 1.2 request and response.
<?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:Header>
<UserCredentials xmlns="http://vidzapper.net/Webservice/">
<Userid>string</Userid>
<Password>string</Password>
</UserCredentials>
</soap12:Header>
<soap12:Body>
<CategoriesByContentID xmlns="http://vidzapper.net/Webservice/">
<contentID>int</contentID>
</CategoriesByContentID>
</soap12:Body>
</soap12:Envelope>
<?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>
<CategoriesByContentIDResponse xmlns="http://vidzapper.net/Webservice/">
<CategoriesByContentIDResult>
<Category>
<ID>int</ID>
<ParentID>int</ParentID>
<Title>string</Title>
<Description>string</Description>
<ChannelID>int</ChannelID>
<Error>
<Status>string</Status>
<Message>string</Message>
</Error>
</Category>
<Category>
<ID>int</ID>
<ParentID>int</ParentID>
<Title>string</Title>
<Description>string</Description>
<ChannelID>int</ChannelID>
<Error>
<Status>string</Status>
<Message>string</Message>
</Error>
</Category>
</CategoriesByContentIDResult>
</CategoriesByContentIDResponse>
</soap12:Body>
</soap12:Envelope>