PUT api/DSM/ShiftRequest/{shiftRequestCode}/ShiftPreference
Used to update ShiftPreference
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shiftRequestCode |
ShiftRequest Code of ShiftPreference which is to be updated |
string |
Required |
Body Parameters
Object that holds instance of SearchInput for updating ShiftPreference
SearchInputName | Description | Type | Additional information |
---|---|---|---|
PreferenceType |
This is PreferenceType |
string |
None. |
PreferredCandidateList |
This is PreferredCandidateList |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PreferenceType": "sample string 1", "PreferredCandidateList": [ "sample string 1", "sample string 2" ] }
text/xml
Sample:
<SearchInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM"> <PreferenceType>sample string 1</PreferenceType> <PreferredCandidateList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PreferredCandidateList> </SearchInput>
multipart/form-data
Sample:
<SearchInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM"><PreferenceType>sample string 1</PreferenceType><PreferredCandidateList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></PreferredCandidateList></SearchInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.