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

<back to all web services

GetInvoiceList

HTTP + XML

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

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

<GetInvoiceList 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>
  <Month>0</Month>
  <UserID i:nil="true" />
  <Year>0</Year>
</GetInvoiceList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetInvoiceListResponse 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>
  <InvoiceList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <d2p1:InvoiceListItem>
      <d2p1:Amount>0</d2p1:Amount>
      <d2p1:Balance>0</d2p1:Balance>
      <d2p1:Month>String</d2p1:Month>
      <d2p1:SmsCount>0</d2p1:SmsCount>
      <d2p1:UserID>0</d2p1:UserID>
      <d2p1:Username>String</d2p1:Username>
    </d2p1:InvoiceListItem>
  </InvoiceList>
</GetInvoiceListResponse>