HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/SearchContacts HTTP/1.1
Host: api2.ekomesaj.com
Content-Type: application/xml
Content-Length: length
<SearchContacts 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>
<Filter>
<FilterValues xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</FilterValues>
<GroupID i:nil="true" />
<ID i:nil="true" />
<SearchValue>String</SearchValue>
</Filter>
<JustBlacklist i:nil="true" />
<OrderBy>
<ColumnName>String</ColumnName>
<Descending i:nil="true" />
</OrderBy>
<PageSize>0</PageSize>
<StartPage>0</StartPage>
</SearchContacts>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SearchContactsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<Contacts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ekomesaj.Types">
<d2p1:Contact>
<d2p1:AddingType i:nil="true" />
<d2p1:Address1>String</d2p1:Address1>
<d2p1:Address2>String</d2p1:Address2>
<d2p1:Address3>String</d2p1:Address3>
<d2p1:Anniversary i:nil="true" />
<d2p1:BirthDate i:nil="true" />
<d2p1:Country>String</d2p1:Country>
<d2p1:CrateUserID i:nil="true" />
<d2p1:CreateDate i:nil="true" />
<d2p1:CustomDate1 i:nil="true" />
<d2p1:CustomDate2 i:nil="true" />
<d2p1:CustomDate3 i:nil="true" />
<d2p1:CustomField1>String</d2p1:CustomField1>
<d2p1:CustomField2>String</d2p1:CustomField2>
<d2p1:CustomField3>String</d2p1:CustomField3>
<d2p1:Email>String</d2p1:Email>
<d2p1:Fax i:nil="true" />
<d2p1:Gender i:nil="true" />
<d2p1:ID>0</d2p1:ID>
<d2p1:IsInBlackList>false</d2p1:IsInBlackList>
<d2p1:Name>String</d2p1:Name>
<d2p1:Number>0</d2p1:Number>
<d2p1:Phone1 i:nil="true" />
<d2p1:Phone2 i:nil="true" />
<d2p1:Surname>String</d2p1:Surname>
<d2p1:UpdateDate i:nil="true" />
<d2p1:UpdateUserID i:nil="true" />
<d2p1:ZipCode i:nil="true" />
</d2p1:Contact>
</Contacts>
<FilteredDataCount>0</FilteredDataCount>
<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>
</SearchContactsResponse>