Api

<back to all web services

Query

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

Query Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
MessageIdqueryintNo
MSISDNquerystringNo
PageIndexqueryintNo
PageSizequeryintNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
QueryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformQueryReturnResponseNo
QueryReturnResponse Parameters:
NameParameterData TypeRequiredDescription
ReportDetailformReportDetailNo
StatusformStatusNo
ReportDetail Parameters:
NameParameterData TypeRequiredDescription
TotalCountformintNo
ListformList<ReportDetailItem>No
ReportDetailItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
MessageIdformintNo
NetworkformintNo
MSISDNformstringNo
CostformintNo
SubmittedformDateTimeNo
LastUpdatedformDateTimeNo
StateformstringNo
SequenceformintNo
ErrorCodeformintNo
PayloadformstringNo
XserformstringNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: gw.mobilisim.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: Query

<?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="http://schemas.maradit.net/api/types">
  <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="http://schemas.maradit.net/api/types">
  <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>