|
This API command is used to obtain the user ref no of a user in your reseller panel, via API.
--------------------------------------------------------------------------------------------------
Gets contacts ref no information.
Parameteter Data Type Required Values Default Description
type getcontactcode
resellerno integer Mandatory - - Reseller No
resellerpwd string Mandatory - - Reseller password
lang string Optional en,tr en Response language
responsetype string Optional json,xml json Response format
name string Optional - - Contact first name and last name
email string Optional - - Contact email
address string Opsiyonel - - Contact address
city string Opsiyonel - - Contact city
country string Opsiyonel - - Country code (ISO 3166-1 alpha-2)
zip string Opsiyonel - - Contact postal code
phone string Opsiyonel 10 haneli - Contact phone
Example:
https://api.alantron.com/action.json?type=getcontactcode&resellerno=1111&resellerpwd=sifre&lang=en&responsetype=json&name=Ahmet+Yılmaz&email=ahmetyilmaz@hotmail.com&address=KOU+Teknopark+Yeniköy+Yerleşkesi+D2+İzmit&city=Kocaeli&country=TR&zip=41200&phone=90.2623412244
Return Value:
If the operation is successful the contact ref no is returned. If contact is not found or if more than one contact is found then the reseller's ref no is returned. If unsuccessful it returns fail.
HTTP Method : POST
|