PATCH v1/admin/company/{id}/member/{memberId}/ProfilePhones/{name}

Update Existing Member Profile Phone from Company Directory

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

memberId

integer

Required

name

string

Required

Body Parameters

MemberProfilePhoneInput
NameDescriptionTypeAdditional information
countryCode

The countryCode of person phone used to GET,PATCH and DELETE

string

None.

areaCode

The areaCode of person phone used to GET,PATCH and DELETE

string

None.

phone

The phone of person phone used to GET,PATCH and DELETE

string

None.

phoneExtension

The phoneExtension of person phone used to GET,PATCH and DELETE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "countryCode": "sample string 1",
  "areaCode": "sample string 2",
  "phone": "sample string 3",
  "phoneExtension": "sample string 4"
}

text/html

Sample:
{"countryCode":"sample string 1","areaCode":"sample string 2","phone":"sample string 3","phoneExtension":"sample string 4"}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.MemberProfilePhoneInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <areaCode>sample string 2</areaCode>
  <countryCode>sample string 1</countryCode>
  <phone>sample string 3</phone>
  <phoneExtension>sample string 4</phoneExtension>
</v1_Admin_CompanyEndpointController.MemberProfilePhoneInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MemberProfilePhoneInput'.

Response Information

Resource Description

MemberProfilePhoneOutput
NameDescriptionTypeAdditional information
id

The id of this phone

integer

None.

name

The name of this phone

string

None.

countryCode

The country code of this phone

string

None.

areaCode

The area code of this phone

string

None.

phone

The phone

string

None.

formattedPhone

The formatted value of this phone

string

None.

phoneExtension

The extension of this phone

string

None.

isPreferredPhone

The value indicate if profile phone is preferred phone

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "countryCode": "sample string 3",
  "areaCode": "sample string 4",
  "phone": "sample string 5",
  "formattedPhone": "sample string 6",
  "phoneExtension": "sample string 7",
  "isPreferredPhone": true
}

text/html

Sample:
{"id":1,"name":"sample string 2","countryCode":"sample string 3","areaCode":"sample string 4","phone":"sample string 5","formattedPhone":"sample string 6","phoneExtension":"sample string 7","isPreferredPhone":true}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.MemberProfilePhoneOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <areaCode>sample string 4</areaCode>
  <countryCode>sample string 3</countryCode>
  <formattedPhone>sample string 6</formattedPhone>
  <id>1</id>
  <isPreferredPhone>true</isPreferredPhone>
  <name>sample string 2</name>
  <phone>sample string 5</phone>
  <phoneExtension>sample string 7</phoneExtension>
</v1_Admin_CompanyEndpointController.MemberProfilePhoneOutput>