/api/phone/update/

%/{site.ampn./api/phone/update/}

Create

Generate HeaderTest AJAX
POST /api/phone/update/?
j=
{
"phone":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns: update_id on success, -1 on failure.

Read

Generate HeaderTest AJAX
GET /api/phone/update/?
i=
[
,
]
j=
{
"phone":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns:

Update

Generate HeaderTest AJAX
POST /api/phone/update/?
i=
[
,
]
j=
{
"phone":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns: 0 on success, -1 on failure.

Delete

Generate HeaderTest AJAX
POST /api/phone/update/?
i=
[
,
]
Returns: 0 on success, -1 on failure.