HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/syncreply/CreateMultipleContactWithGroups HTTP/1.1
Host: api2.ekomesaj.com
Content-Type: application/xml
Content-Length: length
<CreateMultipleContactWithGroups 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>
<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>
<GroupIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</GroupIDList>
<UpdateIfExisting>false</UpdateIfExisting>
<WaitForResult>false</WaitForResult>
</CreateMultipleContactWithGroups>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CreateMultipleContactWithGroupsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekomesaj.Operations">
<ReferenceCode>String</ReferenceCode>
<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>
</CreateMultipleContactWithGroupsResponse>