HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/GetMo HTTP/1.1
Host: api2.ekomesaj.com
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>
<GetMo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<Credential xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:Password>String</d2p1:Password>
<d2p1:ResellerID>0</d2p1:ResellerID>
<d2p1:Username>String</d2p1:Username>
</Credential>
<PageSize i:nil="true" />
<Range xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:Begin i:nil="true" />
<d2p1:End i:nil="true" />
</Range>
<StartPage i:nil="true" />
</GetMo>
</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>
<GetMoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:List>
<d2p1:MessageItem>
<d2p1:Keyword>String</d2p1:Keyword>
<d2p1:MSISDN>String</d2p1:MSISDN>
<d2p1:Network>String</d2p1:Network>
<d2p1:Received>0001-01-01T00:00:00</d2p1:Received>
<d2p1:Recipient>String</d2p1:Recipient>
<d2p1:Text>String</d2p1:Text>
<d2p1:uuid>String</d2p1:uuid>
</d2p1:MessageItem>
</d2p1:List>
<d2p1:TotalCount>0</d2p1:TotalCount>
</Response>
<Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:Code>0</d2p1:Code>
<d2p1:Description>String</d2p1:Description>
<d2p1:Message>String</d2p1:Message>
</Status>
</GetMoResponse>
</soap:Body>
</soap:Envelope>