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": "e2f28f80-0eb9-4e13-8609-098fdb7f1be3",
"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>e2f28f80-0eb9-4e13-8609-098fdb7f1be3</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": "5b0a5971-4ceb-41bc-a27f-fa6e32162427",
"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>5b0a5971-4ceb-41bc-a27f-fa6e32162427</OwnerId> <Phone>sample string 2</Phone> <Type>64</Type> </PhoneModel>