Sms Api v.2MainLite ApiLite Api(Ext)ProxyTavsiye edilen format: JSON

<back to all web services

GetCreditPlan

HTTP + XML

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

POST /xml/syncreply/GetCreditPlan HTTP/1.1 
Host: api.ekomesaj.com 
Content-Type: application/xml
Content-Length: length

<GetCreditPlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Credential xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Password>String</d2p1:Password>
    <d2p1:ResellerID>0</d2p1:ResellerID>
    <d2p1:Username>String</d2p1:Username>
  </Credential>
  <CreditPlanID>0</CreditPlanID>
</GetCreditPlan>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetCreditPlanResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Code>0</d2p1:Code>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:TransactionID>String</d2p1:TransactionID>
  </Status>
  <CreditPlan xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <d2p1:Display>false</d2p1:Display>
    <d2p1:ID>0</d2p1:ID>
    <d2p1:IsActive>false</d2p1:IsActive>
    <d2p1:IsDefault>false</d2p1:IsDefault>
    <d2p1:PlanName>String</d2p1:PlanName>
  </CreditPlan>
  <Details xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <d2p1:CreditPlanDetail>
      <d2p1:CreditAmount>0</d2p1:CreditAmount>
      <d2p1:ID>0</d2p1:ID>
      <d2p1:PackageName>String</d2p1:PackageName>
      <d2p1:UnitPrice>0</d2p1:UnitPrice>
    </d2p1:CreditPlanDetail>
  </Details>
  <MinimumUnitPrice>0</MinimumUnitPrice>
</GetCreditPlanResponse>