Sms Api v.2MainLite ApiLite Api(Ext)ProxyTavsiye edilen format: JSON

<back to all web services

UpdateContact

HTTP + XML

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

POST /xml/syncreply/UpdateContact HTTP/1.1 
Host: api.ekomesaj.com 
Content-Type: application/xml
Content-Length: length

<UpdateContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Credential xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Password>String</d2p1:Password>
    <d2p1:ResellerID>0</d2p1:ResellerID>
    <d2p1:Username>String</d2p1:Username>
  </Credential>
  <Contacts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel">
    <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>
</UpdateContact>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateContactResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract">
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/Guide.WebService.ServiceModel" xmlns="http://schemas.datacontract.org/2004/07/Guide.Api.Contract.Base">
    <d2p1:Code>0</d2p1:Code>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:TransactionID>String</d2p1:TransactionID>
  </Status>
</UpdateContactResponse>