PUT api/PreferenceCenter/UpdatePreferences

Use to update candidate Preferences data

Request Information

URI Parameters

None.

Body Parameters

CandidatePreferenceCenterDO
NameDescriptionTypeAdditional information
country

string

None.

token

string

None.

preferenceTypeCode

string

None.

optIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "country": "sample string 1",
  "token": "sample string 2",
  "preferenceTypeCode": "sample string 3",
  "optIn": true
}

text/xml

Sample:
<CandidatePreferenceCenterDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO">
  <country>sample string 1</country>
  <optIn>true</optIn>
  <preferenceTypeCode>sample string 3</preferenceTypeCode>
  <token>sample string 2</token>
</CandidatePreferenceCenterDO>

multipart/form-data

Sample:
<CandidatePreferenceCenterDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><country>sample string 1</country><optIn>true</optIn><preferenceTypeCode>sample string 3</preferenceTypeCode><token>sample string 2</token></CandidatePreferenceCenterDO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.