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

Update Existing Member from Company Directory

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

memberId

integer

Required

Body Parameters

DirectoryMemberInput
NameDescriptionTypeAdditional information
firstName

The person firstName

string

None.

lastName

The person lastName

string

None.

title

The person title

string

None.

primaryEmail

The person primaryEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "title": "sample string 3",
  "primaryEmail": "sample string 4"
}

text/html

Sample:
{"firstName":"sample string 1","lastName":"sample string 2","title":"sample string 3","primaryEmail":"sample string 4"}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.DirectoryMemberInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <firstName>sample string 1</firstName>
  <lastName>sample string 2</lastName>
  <primaryEmail>sample string 4</primaryEmail>
  <title>sample string 3</title>
</v1_Admin_CompanyEndpointController.DirectoryMemberInput>

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 'DirectoryMemberInput'.

Response Information

Resource Description

DirectoryMemberOutput
NameDescriptionTypeAdditional information
firstName

The person firstName

string

None.

lastName

The person lastName

string

None.

title

The person title

string

None.

primaryEmail

The person primaryEmail

string

None.

Response Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "title": "sample string 3",
  "primaryEmail": "sample string 4"
}

text/html

Sample:
{"firstName":"sample string 1","lastName":"sample string 2","title":"sample string 3","primaryEmail":"sample string 4"}

application/xml, text/xml

Sample:
<v1_Admin_CompanyEndpointController.DirectoryMemberOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
  <firstName>sample string 1</firstName>
  <lastName>sample string 2</lastName>
  <primaryEmail>sample string 4</primaryEmail>
  <title>sample string 3</title>
</v1_Admin_CompanyEndpointController.DirectoryMemberOutput>