Updates the indicated phone to reflect the request data provided.
https://{school}.myschoolapp.com/api/user/phone/[phoneId]?t={token}[&userID]
Parameter | Required | Type | Description |
---|---|---|---|
phoneID | int | The ID of the phone to associate with another user. The phoneID | |
userID | int | The ID of the user to associate the phone entry with. The UserID |
Header | Required | Type | Description |
---|---|---|---|
Content-Type | string | Media type of the body sent to the API. |
First call GET Phone, then modify the PhoneNumber
Property | Required | Type | Description |
---|---|---|---|
Phone | object | A valid Phone object. | |
PhoneTypeLink | object | A valid PhoneTypeLink object. |
{
"PhoneId": 2250014,
"PhoneNumber": "377-337-3777",
"Type": "Business/College",
"TypeId": 1713,
"PhoneTypeLink": [
{
"TypeId": 1713,
"Type": "Business/College",
"PhoneId": null,
"UserId": 2716843,
"Shared": false,
"SharedUser": null,
"SharedRelationShip": null,
"InsertDate": null,
"LastModifyDate": null,
"LastModifyUserId": null,
"vendor_external_id": null
}
]
}
A Response Message containing the updated phone ID.
{
"Message": "2250014"
}
Name | Description | Type |
---|---|---|
PhoneID | integer | |
PhoneNumber | string |
Name | Description | Type |
---|---|---|
Type | string | |
TypeID | integer |
Name | Description | Type |
---|---|---|
UserID | integer | |
PhoneID | integer | |
Type | string | |
TypeID | integer |