To set a new phone number, use the command unit/update_phone:
svc=unit/update_phone¶ms={"itemId":<long>, "phoneNumber":<text>}
Character '+' in phone number should be replaced by code %2B.
Name | Description |
---|---|
itemId | unit ID |
phoneNumber | new phone number |
{ "ph":<text> /* phone number */ }
Code | Value |
---|---|
1002 | new phone number matches the old one, or such number already exists |
Other errors can also occur.
|