SMS Api

<back to all web services

Query

HTTP + XML

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

POST /xml/syncreply/Query HTTP/1.1 
Host: gw.ekomesaj.com.tr 
Content-Type: application/xml
Content-Length: length

<Query xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
  <MSISDN>String</MSISDN>
  <MessageId>0</MessageId>
</Query>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="SmsApi">
  <Response>
    <ReportDetail>
      <List>
        <ReportDetailItem>
          <Payload>String</Payload>
          <Xser>String</Xser>
          <Cost>0</Cost>
          <ErrorCode>0</ErrorCode>
          <Id>0</Id>
          <LastUpdated>0001-01-01T00:00:00</LastUpdated>
          <MSISDN>String</MSISDN>
          <Network>0</Network>
          <Sequence>0</Sequence>
          <State>Scheduled</State>
          <Submitted>0001-01-01T00:00:00</Submitted>
        </ReportDetailItem>
      </List>
    </ReportDetail>
    <Status>
      <Code>0</Code>
      <Description>String</Description>
    </Status>
  </Response>
</QueryResponse>