CatalogService
Click here for a complete list of operations.
GetCategories
same as GetPrivateContentSet with ContentSetType ==0
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /v2/ws/catalogservice.asmx HTTP/1.1
Host: drmservice.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://content.k-mobile.com/v2/ws/GetCategories"
<?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>
<GetCategories xmlns="http://content.k-mobile.com/v2/ws">
<displayKey>string</displayKey>
<contentGroup>string</contentGroup>
</GetCategories>
</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>
<GetCategoriesResponse xmlns="http://content.k-mobile.com/v2/ws">
<GetCategoriesResult>
<DisplayKey>guid</DisplayKey>
<Mcc>int</Mcc>
<SearchView>string</SearchView>
<IDCatalogDisplay>int</IDCatalogDisplay>
<IdPartner>int</IdPartner>
<Media>string</Media>
<DeliveryMedia>string</DeliveryMedia>
<PartnerName>string</PartnerName>
<IDLanguage>int</IDLanguage>
<ContentSetCollection>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview xsi:nil="true" />
<Priority>int</Priority>
<ContentCollection xsi:nil="true" />
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview xsi:nil="true" />
<Priority>int</Priority>
<ContentCollection xsi:nil="true" />
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
</ContentSetCollection>
<IsoCode>string</IsoCode>
<SearchReferer>string</SearchReferer>
<RatingThresholds>
<Rating Name="string" Value="int" />
<Rating Name="string" Value="int" />
</RatingThresholds>
</GetCategoriesResult>
</GetCategoriesResponse>
</soap:Body>
</soap:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /v2/ws/catalogservice.asmx/GetCategories?displayKey=string&contentGroup=string HTTP/1.1 Host: drmservice.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<CatalogDisplay xmlns="http://content.k-mobile.com/v2/ws">
<DisplayKey>guid</DisplayKey>
<Mcc>int</Mcc>
<SearchView>string</SearchView>
<IDCatalogDisplay>int</IDCatalogDisplay>
<IdPartner>int</IdPartner>
<Media>string</Media>
<DeliveryMedia>string</DeliveryMedia>
<PartnerName>string</PartnerName>
<IDLanguage>int</IDLanguage>
<ContentSetCollection>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview>
<URL>string</URL>
</Preview>
<Priority>int</Priority>
<ContentCollection>
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ContentCollection>
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview>
<URL>string</URL>
</Preview>
<Priority>int</Priority>
<ContentCollection>
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ContentCollection>
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
</ContentSetCollection>
<IsoCode>string</IsoCode>
<SearchReferer>string</SearchReferer>
<RatingThresholds>
<Rating Name="string" Value="int" />
<Rating Name="string" Value="int" />
</RatingThresholds>
</CatalogDisplay>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /v2/ws/catalogservice.asmx/GetCategories HTTP/1.1 Host: drmservice.com Content-Type: application/x-www-form-urlencoded Content-Length: length displayKey=string&contentGroup=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<CatalogDisplay xmlns="http://content.k-mobile.com/v2/ws">
<DisplayKey>guid</DisplayKey>
<Mcc>int</Mcc>
<SearchView>string</SearchView>
<IDCatalogDisplay>int</IDCatalogDisplay>
<IdPartner>int</IdPartner>
<Media>string</Media>
<DeliveryMedia>string</DeliveryMedia>
<PartnerName>string</PartnerName>
<IDLanguage>int</IDLanguage>
<ContentSetCollection>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview>
<URL>string</URL>
</Preview>
<Priority>int</Priority>
<ContentCollection>
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ContentCollection>
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
<ContentSet>
<IDContentSet>int</IDContentSet>
<ContentSetType>Category or Thema or Catalog or SearchResult or SearchContainers</ContentSetType>
<ContentCount>int</ContentCount>
<Count>int</Count>
<Name>string</Name>
<Description>string</Description>
<Preview>
<URL>string</URL>
</Preview>
<Priority>int</Priority>
<ContentCollection>
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Content d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</ContentCollection>
<ContentGroup>string</ContentGroup>
<TagValue>string</TagValue>
</ContentSet>
</ContentSetCollection>
<IsoCode>string</IsoCode>
<SearchReferer>string</SearchReferer>
<RatingThresholds>
<Rating Name="string" Value="int" />
<Rating Name="string" Value="int" />
</RatingThresholds>
</CatalogDisplay>