POST api/advisor/advisorsettings/set-personal-info

Request Information

URI Parameters

None.

Body Parameters

PersonalInfoViewModelAdvisor
NameDescriptionTypeAdditional information
Skills

Collection of CommonDataModel

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

CountryCodeId

string

None.

PhoneNumber

string

None.

StreetAddress

string

None.

City

string

None.

Nationality

string

None.

Dob

date

None.

CategoryId

integer

None.

PrimaryLanguageId

integer

None.

SecondaryLanguageId

integer

None.

TimezoneId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Skills": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsVerified": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "IsVerified": true
    }
  ],
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "CountryCodeId": "sample string 4",
  "PhoneNumber": "sample string 5",
  "StreetAddress": "sample string 6",
  "City": "sample string 7",
  "Nationality": "sample string 8",
  "Dob": "2024-09-08T07:58:52.6504075+00:00",
  "CategoryId": 10,
  "PrimaryLanguageId": 11,
  "SecondaryLanguageId": 12,
  "TimezoneId": 1
}

application/xml, text/xml

Sample:
<PersonalInfoViewModelAdvisor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Co.Kes.Data.ViewModels.CoKes.Settings">
  <CategoryId>10</CategoryId>
  <City>sample string 7</City>
  <CountryCodeId>sample string 4</CountryCodeId>
  <Dob>2024-09-08T07:58:52.6504075+00:00</Dob>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <Nationality>sample string 8</Nationality>
  <PhoneNumber>sample string 5</PhoneNumber>
  <PrimaryLanguageId>11</PrimaryLanguageId>
  <SecondaryLanguageId>12</SecondaryLanguageId>
  <StreetAddress>sample string 6</StreetAddress>
  <TimezoneId>1</TimezoneId>
  <Skills xmlns:d2p1="http://schemas.datacontract.org/2004/07/Co.Kes.Data.ViewModels">
    <d2p1:CommonDataModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsVerified>true</d2p1:IsVerified>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:CommonDataModel>
    <d2p1:CommonDataModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsVerified>true</d2p1:IsVerified>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:CommonDataModel>
  </Skills>
</PersonalInfoViewModelAdvisor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.