CatalogService
Click here for a complete list of operations.
GetTrackingCode
Generate a trackingcode for a specified Content/Display/referer
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/GetTrackingCode"
<?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>
<GetTrackingCode xmlns="http://content.k-mobile.com/v2/ws">
<displayKey>string</displayKey>
<contentID>int</contentID>
<contentType>string</contentType>
<referer>string</referer>
</GetTrackingCode>
</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>
<GetTrackingCodeResponse xmlns="http://content.k-mobile.com/v2/ws">
<GetTrackingCodeResult>
<Value>int</Value>
<IDContent>int</IDContent>
<ContentType>string</ContentType>
<CatalogDisplay>
<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 xsi:nil="true" />
<ContentSet xsi:nil="true" />
</ContentSetCollection>
<IsoCode>string</IsoCode>
<SearchReferer>string</SearchReferer>
<RatingThresholds>
<Rating xsi:nil="true" />
<Rating xsi:nil="true" />
</RatingThresholds>
</CatalogDisplay>
<Referer>string</Referer>
</GetTrackingCodeResult>
</GetTrackingCodeResponse>
</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/GetTrackingCode?displayKey=string&contentID=string&contentType=string&referer=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"?>
<TrackingCode xmlns="http://content.k-mobile.com/v2/ws">
<Value>int</Value>
<IDContent>int</IDContent>
<ContentType>string</ContentType>
<CatalogDisplay>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Priority>int</Priority>
<ContentCollection d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Priority>int</Priority>
<ContentCollection d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<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>
<Referer>string</Referer>
</TrackingCode>
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/GetTrackingCode HTTP/1.1 Host: drmservice.com Content-Type: application/x-www-form-urlencoded Content-Length: length displayKey=string&contentID=string&contentType=string&referer=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<TrackingCode xmlns="http://content.k-mobile.com/v2/ws">
<Value>int</Value>
<IDContent>int</IDContent>
<ContentType>string</ContentType>
<CatalogDisplay>
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Priority>int</Priority>
<ContentCollection d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Priority>int</Priority>
<ContentCollection d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<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>
<Referer>string</Referer>
</TrackingCode>