POST api/DSM/Client/{clientCode}/ShiftSetting
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientCode | string |
Required |
Body Parameters
ClientShiftSettingName | Description | Type | Additional information |
---|---|---|---|
ClientShiftSettingId | integer |
None. |
|
ClientId | integer |
None. |
|
ShiftStartTime | string |
None. |
|
ShiftEndTime | string |
None. |
|
BreakDuration | integer |
None. |
|
WeekStartingDay | integer |
None. |
|
IsMaxHourPerWeek | boolean |
None. |
|
IsMaxHourPerShift | boolean |
None. |
|
MaxHourPerShift | integer |
None. |
|
MaxHourPerWeek | integer |
None. |
|
IsMaxHourPerDay | boolean |
None. |
|
MaxHourPerDay | integer |
None. |
|
IsMaxDayPerWeek | boolean |
None. |
|
MaxDayPerWeek | integer |
None. |
|
IsMaxHourPerFortnight | boolean |
None. |
|
MaxHourPerFortnight | integer |
None. |
|
IsMinHourPerShift | boolean |
None. |
|
MinHourPerShift | integer |
None. |
|
IsMaxWorkingDay | boolean |
None. |
|
MaxWorkingDay | integer |
None. |
|
IsOpenToAll | boolean |
None. |
|
OpenToAllInMins | integer |
None. |
|
ShiftNotificationsRecipient | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientShiftSettingId": 1, "ClientId": 2, "ShiftStartTime": "sample string 3", "ShiftEndTime": "sample string 4", "BreakDuration": 5, "WeekStartingDay": 6, "IsMaxHourPerWeek": true, "IsMaxHourPerShift": true, "MaxHourPerShift": 9, "MaxHourPerWeek": 10, "IsMaxHourPerDay": true, "MaxHourPerDay": 12, "IsMaxDayPerWeek": true, "MaxDayPerWeek": 14, "IsMaxHourPerFortnight": true, "MaxHourPerFortnight": 16, "IsMinHourPerShift": true, "MinHourPerShift": 18, "IsMaxWorkingDay": true, "MaxWorkingDay": 20, "IsOpenToAll": true, "OpenToAllInMins": 22, "ShiftNotificationsRecipient": "sample string 23" }
text/xml
Sample:
<ClientShiftSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM"> <BreakDuration>5</BreakDuration> <ClientId>2</ClientId> <ClientShiftSettingId>1</ClientShiftSettingId> <IsMaxDayPerWeek>true</IsMaxDayPerWeek> <IsMaxHourPerDay>true</IsMaxHourPerDay> <IsMaxHourPerFortnight>true</IsMaxHourPerFortnight> <IsMaxHourPerShift>true</IsMaxHourPerShift> <IsMaxHourPerWeek>true</IsMaxHourPerWeek> <IsMaxWorkingDay>true</IsMaxWorkingDay> <IsMinHourPerShift>true</IsMinHourPerShift> <IsOpenToAll>true</IsOpenToAll> <MaxDayPerWeek>14</MaxDayPerWeek> <MaxHourPerDay>12</MaxHourPerDay> <MaxHourPerFortnight>16</MaxHourPerFortnight> <MaxHourPerShift>9</MaxHourPerShift> <MaxHourPerWeek>10</MaxHourPerWeek> <MaxWorkingDay>20</MaxWorkingDay> <MinHourPerShift>18</MinHourPerShift> <OpenToAllInMins>22</OpenToAllInMins> <ShiftEndTime>sample string 4</ShiftEndTime> <ShiftNotificationsRecipient>sample string 23</ShiftNotificationsRecipient> <ShiftStartTime>sample string 3</ShiftStartTime> <WeekStartingDay>6</WeekStartingDay> </ClientShiftSetting>
multipart/form-data
Sample:
<ClientShiftSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DSM"><BreakDuration>5</BreakDuration><ClientId>2</ClientId><ClientShiftSettingId>1</ClientShiftSettingId><IsMaxDayPerWeek>true</IsMaxDayPerWeek><IsMaxHourPerDay>true</IsMaxHourPerDay><IsMaxHourPerFortnight>true</IsMaxHourPerFortnight><IsMaxHourPerShift>true</IsMaxHourPerShift><IsMaxHourPerWeek>true</IsMaxHourPerWeek><IsMaxWorkingDay>true</IsMaxWorkingDay><IsMinHourPerShift>true</IsMinHourPerShift><IsOpenToAll>true</IsOpenToAll><MaxDayPerWeek>14</MaxDayPerWeek><MaxHourPerDay>12</MaxHourPerDay><MaxHourPerFortnight>16</MaxHourPerFortnight><MaxHourPerShift>9</MaxHourPerShift><MaxHourPerWeek>10</MaxHourPerWeek><MaxWorkingDay>20</MaxWorkingDay><MinHourPerShift>18</MinHourPerShift><OpenToAllInMins>22</OpenToAllInMins><ShiftEndTime>sample string 4</ShiftEndTime><ShiftNotificationsRecipient>sample string 23</ShiftNotificationsRecipient><ShiftStartTime>sample string 3</ShiftStartTime><WeekStartingDay>6</WeekStartingDay></ClientShiftSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml, multipart/form-data
Sample:
Sample not available.