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": "5bd8a311-befd-4a08-be43-f11812ce835a",
"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>5bd8a311-befd-4a08-be43-f11812ce835a</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": "e71dc7df-5f4f-44f3-9a86-ebc8f0d63556",
"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>e71dc7df-5f4f-44f3-9a86-ebc8f0d63556</OwnerId> <Phone>sample string 2</Phone> <Type>64</Type> </PhoneModel>