Api

<back to all web services

Query

Query gönderilerinizin raporlarını almanızı sağlayan servistir.

REST Paths

The following REST paths are available for this service.

All Verbs /api/xml/reply/Query
All Verbs /api/json/reply/Query
All Verbs /xml/reply/Query
All Verbs /json/reply/Query

To override the Content-type in your clients HTTP Accept Header, append ?format=soap11

HTTP + SOAP11

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

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

<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>
  <PageIndex>0</PageIndex>
  <PageSize>0</PageSize>
</Query>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

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

    </soap:Body>
</soap:Envelope>