PUT api/v1/general/phones/phone
Request Information
URI Parameters
None.
Body Parameters
PhoneModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OwnerId | globally unique identifier |
None. |
|
| Phone | string |
Required |
|
| Id | integer |
None. |
|
| Type | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"OwnerId": "31a02e56-77ec-47ea-9619-4695bd671cf9",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
}
application/xml, text/xml
Sample:
<PhoneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <Id>3</Id> <OwnerId>31a02e56-77ec-47ea-9619-4695bd671cf9</OwnerId> <Phone>sample string 2</Phone> <Type>64</Type> </PhoneModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PhoneModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OwnerId | globally unique identifier |
None. |
|
| Phone | string |
Required |
|
| Id | integer |
None. |
|
| Type | byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"OwnerId": "fa3d03c7-e4f2-4861-ad6b-6f653b166bb9",
"Phone": "sample string 2",
"Id": 3,
"Type": 64
}
application/xml, text/xml
Sample:
<PhoneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <Id>3</Id> <OwnerId>fa3d03c7-e4f2-4861-ad6b-6f653b166bb9</OwnerId> <Phone>sample string 2</Phone> <Type>64</Type> </PhoneModel>