SendService


Click here for a complete list of operations.

GetSendeableContent

Get ready-to-send encoded data.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
billingKey:
trackingCode:
mobileType:
mcc:
mnc:

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/GetSendeableContent"

<?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>
    <GetSendeableContent xmlns="http://content.k-mobile.com/v2/ws">
      <billingKey>string</billingKey>
      <trackingCode>int</trackingCode>
      <mobileType>string</mobileType>
      <mcc>int</mcc>
      <mnc>int</mnc>
    </GetSendeableContent>
  </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>
    <GetSendeableContentResponse xmlns="http://content.k-mobile.com/v2/ws">
      <GetSendeableContentResult>
        <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 />
      </GetSendeableContentResult>
    </GetSendeableContentResponse>
  </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/GetSendeableContent?billingKey=string&trackingCode=string&mobileType=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/GetSendeableContent HTTP/1.1
Host: drmservice.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

billingKey=string&trackingCode=string&mobileType=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>