PUT api/Phones/UpdateLocationPhone?phoneId={phoneId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| phoneId | integer |
Required |
Body Parameters
UpdateLocationPhoneInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNumber | integer |
Required Matching regular expression pattern: ^[0-9]{10}$ |
|
| PhoneExt | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Note | string |
String length: inclusive between 0 and 100 |
|
| IsPreferred | boolean |
None. |
|
| PhoneTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneNumber": 1,
"PhoneExt": 1,
"Name": "sample string 2",
"Note": "sample string 3",
"IsPreferred": true,
"PhoneTypeId": 5
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Result | Object |
None. |
|
| StatusCode | integer |
None. |
|
| StatusGroup | string |
None. |
|
| Details | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.