PUT api/Candidates/{CandidateNo}/CandidatePreferences
Used to update candidate Preferences
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CandidateNo | string |
Required |
Body Parameters
CandidatePreferencesName | Description | Type | Additional information |
---|---|---|---|
OwningDivision |
This is the Candidate's preference for which division they are looking for work. READ ONLY |
string |
None. |
OwningCountry |
This is the Candidate's Owning country. READ ONLY |
string |
None. |
CandidateWorkTypeList |
This is the Candidate's prefered work type |
Collection of WorkType |
None. |
PreferenceNextJob |
This is the Candidate's preference of what they would do on their next job |
string |
None. |
PermSalaryType |
This is the Candidate's expected perm salary |
string |
None. |
PermSalaryRange |
This is the Candidate's perm salary range |
string |
None. |
PermSalaryCurrency |
This is the Candidate's perm salary Currency |
string |
None. |
TempSalaryType |
This is the Candidate's expected temp salary |
string |
None. |
TempSalaryRange |
This is the Candidate's temp salary range |
string |
None. |
TempSalaryCurrency |
This is the Candidate's temp salary Currency |
string |
None. |
WillingToRelocate |
This is true if the Candidate is willing to relocate |
boolean |
None. |
OwnTransport |
This is true if the Candidate has their own transport |
boolean |
None. |
TravelDistance |
This is the Candidate's distance they are willing to travel from home |
string |
None. |
WorkLocationList |
This is the Candidate's work location preferences |
Collection of WorkLocation |
None. |
MarketingList |
This is how the Candidate's prefers receiving Marketing |
Collection of Marketing |
None. |
Request Formats
application/json, text/json
{ "OwningDivision": "sample string 1", "OwningCountry": "sample string 2", "CandidateWorkTypeList": [ { "WorkPreferenceType": "sample string 1" }, { "WorkPreferenceType": "sample string 1" } ], "PreferenceNextJob": "sample string 3", "PermSalaryType": "sample string 4", "PermSalaryRange": "sample string 5", "PermSalaryCurrency": "sample string 6", "TempSalaryType": "sample string 7", "TempSalaryRange": "sample string 8", "TempSalaryCurrency": "sample string 9", "WillingToRelocate": true, "OwnTransport": true, "TravelDistance": "sample string 10", "WorkLocationList": [ { "WorkLocationPreference": "sample string 1" }, { "WorkLocationPreference": "sample string 1" } ], "MarketingList": [ { "MarketingMedium": "sample string 1" }, { "MarketingMedium": "sample string 1" } ] }
text/xml
<CandidatePreferences xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <CandidateWorkTypeList> <WorkType> <WorkPreferenceType>sample string 1</WorkPreferenceType> </WorkType> <WorkType> <WorkPreferenceType>sample string 1</WorkPreferenceType> </WorkType> </CandidateWorkTypeList> <MarketingList> <Marketing> <MarketingMedium>sample string 1</MarketingMedium> </Marketing> <Marketing> <MarketingMedium>sample string 1</MarketingMedium> </Marketing> </MarketingList> <OwnTransport>true</OwnTransport> <OwningCountry>sample string 2</OwningCountry> <OwningDivision>sample string 1</OwningDivision> <PermSalaryCurrency>sample string 6</PermSalaryCurrency> <PermSalaryRange>sample string 5</PermSalaryRange> <PermSalaryType>sample string 4</PermSalaryType> <PreferenceNextJob>sample string 3</PreferenceNextJob> <TempSalaryCurrency>sample string 9</TempSalaryCurrency> <TempSalaryRange>sample string 8</TempSalaryRange> <TempSalaryType>sample string 7</TempSalaryType> <TravelDistance>sample string 10</TravelDistance> <WillingToRelocate>true</WillingToRelocate> <WorkLocationList> <WorkLocation> <WorkLocationPreference>sample string 1</WorkLocationPreference> </WorkLocation> <WorkLocation> <WorkLocationPreference>sample string 1</WorkLocationPreference> </WorkLocation> </WorkLocationList> </CandidatePreferences>
multipart/form-data
<CandidatePreferences xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><CandidateWorkTypeList><WorkType><WorkPreferenceType>sample string 1</WorkPreferenceType></WorkType><WorkType><WorkPreferenceType>sample string 1</WorkPreferenceType></WorkType></CandidateWorkTypeList><MarketingList><Marketing><MarketingMedium>sample string 1</MarketingMedium></Marketing><Marketing><MarketingMedium>sample string 1</MarketingMedium></Marketing></MarketingList><OwnTransport>true</OwnTransport><OwningCountry>sample string 2</OwningCountry><OwningDivision>sample string 1</OwningDivision><PermSalaryCurrency>sample string 6</PermSalaryCurrency><PermSalaryRange>sample string 5</PermSalaryRange><PermSalaryType>sample string 4</PermSalaryType><PreferenceNextJob>sample string 3</PreferenceNextJob><TempSalaryCurrency>sample string 9</TempSalaryCurrency><TempSalaryRange>sample string 8</TempSalaryRange><TempSalaryType>sample string 7</TempSalaryType><TravelDistance>sample string 10</TravelDistance><WillingToRelocate>true</WillingToRelocate><WorkLocationList><WorkLocation><WorkLocationPreference>sample string 1</WorkLocationPreference></WorkLocation><WorkLocation><WorkLocationPreference>sample string 1</WorkLocationPreference></WorkLocation></WorkLocationList></CandidatePreferences>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
COMPLETE
booleanResponse Formats
application/json, text/json
true
text/xml, multipart/form-data
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>