Contact information by phone number, method: /api/getcontact/
Example:
№ | Field | Type | Description | Required or not | Comment |
1 | login | string | Login in BOX system | Required field. | |
2 | password | string | Password in md5 format | Required field. | Contact tech support and we will give you a hash for the API |
3 | phone | string | Phone number | Required field. | |
4 | getmultiple | boolean | Все контакты с телефоном | Optional field. | Получить массив результатов поиска по телефону |
Possible responses to the request
№ | Status | Message | Message Description |
1 | ok | Call registration was successful | |
2 | fail | Login is empty! | Login missing |
3 | fail | Password is empty! | Missing password |
4 | fail | Login or password not correct! | Invalid username or password |
5 | fail | Bad user level! | Low user level to perform this action (requires level 2 or higher) |
6 | fail | Empty phone | Missing phone number |