HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/GetSmsHistoryDetails 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>
<GetSmsHistoryDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<AllPages i:nil="true" />
<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>0</PageSize>
<SmsHistoryID>0</SmsHistoryID>
<StartPage>0</StartPage>
<UserID i:nil="true" />
</GetSmsHistoryDetails>
</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>
<GetSmsHistoryDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<SmsHistoryDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:SmsHistoryDetail>
<d2p1:Cost>0</d2p1:Cost>
<d2p1:CreateUserID>0</d2p1:CreateUserID>
<d2p1:CustomDate1 i:nil="true" />
<d2p1:CustomDate2 i:nil="true" />
<d2p1:CustomDate3 i:nil="true" />
<d2p1:CustomText1>String</d2p1:CustomText1>
<d2p1:CustomText2>String</d2p1:CustomText2>
<d2p1:CustomText3>String</d2p1:CustomText3>
<d2p1:ID>0</d2p1:ID>
<d2p1:MessageID i:nil="true" />
<d2p1:Name>String</d2p1:Name>
<d2p1:RequestGuid>String</d2p1:RequestGuid>
<d2p1:ScheduledDeliveryDate i:nil="true" />
<d2p1:SmsHistoryID>0</d2p1:SmsHistoryID>
<d2p1:Status>0</d2p1:Status>
<d2p1:Surname>String</d2p1:Surname>
<d2p1:Target>0</d2p1:Target>
<d2p1:Type>0</d2p1:Type>
</d2p1:SmsHistoryDetail>
</SmsHistoryDetails>
<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>
<TotalCount>0</TotalCount>
</GetSmsHistoryDetailsResponse>
</soap:Body>
</soap:Envelope>