Skip to main content

XML Post API

Warning

This API method is under development, there may be changes to it. Please contact your customer representative to access the API method.

You can follow the instructions below to delete a contact in your directory in XML format using the POST method of the HTTP protocol.

Address to request

POSThttps://api.iletimerkezi.com/v1/delete-contacts

Request Content (Body)

Content of the request if you are using username and password
<request>
<authentication>
<username></username>
<password></password>
</authentication>
<contacts>
<contact>
<id></id>
<contact>
</contacts>
</request>
Content of the request if you are processing using API Key
<request>
<authentication>
<key></key>
<hash></hash>
</authentication>
<contacts>
<contact>
<id></id>
<contact>
</contacts>
</request>

Definitions

The request to the server must be wrapped with the request tag. The definitions of the subtags of this tag are as follows:

authentication

It is the user information that must be sent in order to receive authorization for the requested operation. The alt tags are as follows:

  • username: is the user name used when logging into transmissionerkezi.com. The mobile phone number you used while registering. It is required to be sent when making a request.
  • password is the password used when logging into transmissionerkezi.com. It is required to be sent when making a request.

contacts

Contains the information of the contacts to be deleted. The definitions of alt tags are as follows.

  • contact

    Contains contact information. The alt tag is as follows.
    • id: Indicates the unique numeric value that represents the person.

Server response

<response>
<status>
<code></code>
<message></message>
</status>
</response>

Definitions

The response from the server is always wrapped in the response tag. The definition of subtags of this tag is as follows:

status

Contains information about the transaction status. The values ​​returned by this tag can also be obtained by looking at the header information of the HTTP response. This tag is returned by default on every request made. The alt tags are as follows

  • code: It is the numerical value that indicates the operation status.
  • message: Contains an informational message about the transaction status.