Phone number

To set a new phone number, use the command unit/update_phone:

svc=unit/update_phone&params={"itemId":<long>,
			      "phoneNumber":<text>}

:!: Character ‘+’ in phone number should be replaced by code %2B.

Parameters

Name Description
itemId unit ID
phoneNumber new phone number

Response

{
	"ph":<text>	/* phone number */
}

Errors

Code Value
1002 new phone number matches the old one, or such number already exists

Other errors can also occur.