SendService
Click here for a complete list of operations.
GetSendeableContentEx
Get ready-to-send encoded data with full tracked parameters.
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/sendservice.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/GetSendeableContentEx"
<?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>
<GetSendeableContentEx xmlns="http://content.k-mobile.com/v2/ws">
<billingKey>string</billingKey>
<displayKey>string</displayKey>
<contentID>int</contentID>
<contentType>string</contentType>
<mobileType>string</mobileType>
<referer>string</referer>
<mcc>int</mcc>
<mnc>int</mnc>
</GetSendeableContentEx>
</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>
<GetSendeableContentExResponse xmlns="http://content.k-mobile.com/v2/ws">
<GetSendeableContentExResult>
<Ticket>
<Content>
<IDContent>int</IDContent>
<ContentName>string</ContentName>
<ContentGroup>string</ContentGroup>
<ContentType>string</ContentType>
<TrackingCode xsi:nil="true" />
<Version xsi:nil="true" />
</Content>
<IDTicket>int</IDTicket>
<InsertDate>dateTime</InsertDate>
<HitCount>int</HitCount>
<ShippingStatus>InitialStatus or HitStatus or ErrorStatus or BurntStatus or BurntAfterHitStatus or BurntAfterErrorStatus</ShippingStatus>
<ResultCode>OK or TicketException or ContentNotFound or MobileNotFound or ContentSourceNotFound or SenderNotFound or TicketBurnt or UnknownException or CorrectEncoding or EncodingException or EncodingWarning or EncodingNotAvailable or PendingDelivery or NotificationSuccess or NotificationInsufficientMemory or NotificationUserCancelled or NotificationLossOfService or NotificationJARSizeMismatch or NotificationAttributeMismatch or NotificationInvalidDescriptor or NotificationInvalidJAR or NotificationIncompatibleConfigurationOrProfile or NotificationAppAuthenticationFailure or NotificationAppAutorizationFailure or NotificationPushRegistrationFailure or NotificationDeletionNotification or NotificationRequiredPackageNotSupportedByTheDevice or NotificationInvalidDDVersion or NotificationDeviceAborted or NotificationNonAcceptableContent or NotificationLoaderError</ResultCode>
<Referer>string</Referer>
<CatalogDisplay>
<Media>string</Media>
<DisplayKey>guid</DisplayKey>
<IDLanguage>int</IDLanguage>
<IsoCode>string</IsoCode>
</CatalogDisplay>
<MCC>int</MCC>
<MNC>int</MNC>
</Ticket>
<Data />
</GetSendeableContentExResult>
</GetSendeableContentExResponse>
</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/sendservice.asmx/GetSendeableContentEx?billingKey=string&displayKey=string&contentID=string&contentType=string&mobileType=string&referer=string&mcc=string&mnc=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"?>
<TicketData xmlns="http://content.k-mobile.com/v2/ws">
<Ticket>
<Content>
<IDContent>int</IDContent>
<ContentName>string</ContentName>
<ContentGroup>string</ContentGroup>
<ContentType>string</ContentType>
<TrackingCode>
<Value>int</Value>
<CatalogDisplay d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Referer>string</Referer>
</TrackingCode>
<Version>
<Value>string</Value>
</Version>
</Content>
<IDTicket>int</IDTicket>
<InsertDate>dateTime</InsertDate>
<HitCount>int</HitCount>
<ShippingStatus>InitialStatus or HitStatus or ErrorStatus or BurntStatus or BurntAfterHitStatus or BurntAfterErrorStatus</ShippingStatus>
<ResultCode>OK or TicketException or ContentNotFound or MobileNotFound or ContentSourceNotFound or SenderNotFound or TicketBurnt or UnknownException or CorrectEncoding or EncodingException or EncodingWarning or EncodingNotAvailable or PendingDelivery or NotificationSuccess or NotificationInsufficientMemory or NotificationUserCancelled or NotificationLossOfService or NotificationJARSizeMismatch or NotificationAttributeMismatch or NotificationInvalidDescriptor or NotificationInvalidJAR or NotificationIncompatibleConfigurationOrProfile or NotificationAppAuthenticationFailure or NotificationAppAutorizationFailure or NotificationPushRegistrationFailure or NotificationDeletionNotification or NotificationRequiredPackageNotSupportedByTheDevice or NotificationInvalidDDVersion or NotificationDeviceAborted or NotificationNonAcceptableContent or NotificationLoaderError</ResultCode>
<Referer>string</Referer>
<CatalogDisplay>
<Media>string</Media>
<DisplayKey>guid</DisplayKey>
<IDLanguage>int</IDLanguage>
<IsoCode>string</IsoCode>
</CatalogDisplay>
<MCC>int</MCC>
<MNC>int</MNC>
</Ticket>
<Data />
</TicketData>
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/sendservice.asmx/GetSendeableContentEx HTTP/1.1 Host: drmservice.com Content-Type: application/x-www-form-urlencoded Content-Length: length billingKey=string&displayKey=string&contentID=string&contentType=string&mobileType=string&referer=string&mcc=string&mnc=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<TicketData xmlns="http://content.k-mobile.com/v2/ws">
<Ticket>
<Content>
<IDContent>int</IDContent>
<ContentName>string</ContentName>
<ContentGroup>string</ContentGroup>
<ContentType>string</ContentType>
<TrackingCode>
<Value>int</Value>
<CatalogDisplay d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<Referer>string</Referer>
</TrackingCode>
<Version>
<Value>string</Value>
</Version>
</Content>
<IDTicket>int</IDTicket>
<InsertDate>dateTime</InsertDate>
<HitCount>int</HitCount>
<ShippingStatus>InitialStatus or HitStatus or ErrorStatus or BurntStatus or BurntAfterHitStatus or BurntAfterErrorStatus</ShippingStatus>
<ResultCode>OK or TicketException or ContentNotFound or MobileNotFound or ContentSourceNotFound or SenderNotFound or TicketBurnt or UnknownException or CorrectEncoding or EncodingException or EncodingWarning or EncodingNotAvailable or PendingDelivery or NotificationSuccess or NotificationInsufficientMemory or NotificationUserCancelled or NotificationLossOfService or NotificationJARSizeMismatch or NotificationAttributeMismatch or NotificationInvalidDescriptor or NotificationInvalidJAR or NotificationIncompatibleConfigurationOrProfile or NotificationAppAuthenticationFailure or NotificationAppAutorizationFailure or NotificationPushRegistrationFailure or NotificationDeletionNotification or NotificationRequiredPackageNotSupportedByTheDevice or NotificationInvalidDDVersion or NotificationDeviceAborted or NotificationNonAcceptableContent or NotificationLoaderError</ResultCode>
<Referer>string</Referer>
<CatalogDisplay>
<Media>string</Media>
<DisplayKey>guid</DisplayKey>
<IDLanguage>int</IDLanguage>
<IsoCode>string</IsoCode>
</CatalogDisplay>
<MCC>int</MCC>
<MNC>int</MNC>
</Ticket>
<Data />
</TicketData>