Cdn API - CPG Source

<back to all web services

IapPlanProvisionRequest

Cdn.Api

IapPlanProvisionRequest Parameters:
NameParameterData TypeRequiredDescription
PlanIdbodystringNo
TierNamebodystringNo
EntitlementLookupKeybodystringNo
MonthlySkubodystringNo
AnnualSkubodystringNo
AppIdbodystringNo
PushToStorebodyboolNo
SubscriptionGroupNamebodystringNo
SubscriptionGroupIdbodystringNo
MonthlyPriceUsdbodydecimal?No
AnnualPriceUsdbodydecimal?No
PushToPlaybodyboolNo
ReasonbodystringNo
IapPlanProvisionResponse Parameters:
NameParameterData TypeRequiredDescription
StepsformList<IapPlanStepResult>No
EntitlementIdformstringNo
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
IapPlanStepResult Parameters:
NameParameterData TypeRequiredDescription
StepformstringNo
TargetformstringNo
OutcomeformstringNo
DetailformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: cdnapidev.greysheet.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>

<IapPlanProvisionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <AnnualPriceUsd>0</AnnualPriceUsd>
  <AnnualSku>String</AnnualSku>
  <AppId>String</AppId>
  <EntitlementLookupKey>String</EntitlementLookupKey>
  <MonthlyPriceUsd>0</MonthlyPriceUsd>
  <MonthlySku>String</MonthlySku>
  <PlanId>String</PlanId>
  <PushToPlay>false</PushToPlay>
  <PushToStore>false</PushToStore>
  <Reason>String</Reason>
  <SubscriptionGroupId>String</SubscriptionGroupId>
  <SubscriptionGroupName>String</SubscriptionGroupName>
  <TierName>String</TierName>
</IapPlanProvisionRequest>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?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>

<IapPlanProvisionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
  <CachedResponse>false</CachedResponse>
  <ErrorText>String</ErrorText>
  <OpCode>0</OpCode>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
  <TotalExecutionTime>String</TotalExecutionTime>
  <EntitlementId>String</EntitlementId>
  <Status>String</Status>
  <Steps>
    <IapPlanStepResult>
      <Detail>String</Detail>
      <Outcome>String</Outcome>
      <Step>String</Step>
      <Target>String</Target>
    </IapPlanStepResult>
  </Steps>
</IapPlanProvisionResponse>

    </soap12:Body>
</soap12:Envelope>