Table of Contents

Second phone number

To set a new value for second phone number, use the command unit/update_phone2:

svc=unit/update_phone2&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

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

Errors

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

Other errors can also occur.