PUT api/OrganizationPhone/{id}?AccessToken={AccessToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| AccessToken | string |
Required |
Body Parameters
ModifyOrganizationPhoneRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneType | PhoneType |
None. |
|
| PhoneNumber | integer |
None. |
|
| CountryCode | integer |
None. |
|
| AreaCode | integer |
None. |
|
| Extension | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneType": {
"Name": "sample string 1",
"Description": "sample string 2"
},
"PhoneNumber": 1,
"CountryCode": 2,
"AreaCode": 3,
"Extension": 4
}
application/xml, text/xml
Sample:
<ModifyOrganizationPhoneRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Udyoga.Models.OrganizationModels.OrganizationPhone">
<AreaCode>3</AreaCode>
<CountryCode>2</CountryCode>
<Extension>4</Extension>
<PhoneNumber>1</PhoneNumber>
<PhoneType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Udyoga.Models.GenericModels">
<d2p1:Description>sample string 2</d2p1:Description>
<d2p1:Name>sample string 1</d2p1:Name>
</PhoneType>
</ModifyOrganizationPhoneRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.