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": "9d019da8-810c-44fe-ba94-c7774cc40da7",
"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>9d019da8-810c-44fe-ba94-c7774cc40da7</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": "d24c9f70-5b34-4e4a-87ec-dd7f4a6a1485",
"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>d24c9f70-5b34-4e4a-87ec-dd7f4a6a1485</OwnerId> <Phone>sample string 2</Phone> <Type>64</Type> </PhoneModel>