POST api/Values/SaveRosterAdjustment
Request Information
URI Parameters
None.
Body Parameters
RosterAdjustmentEntityName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EmployeeId | integer |
None. |
|
StartDate | string |
None. |
|
FromDate | string |
None. |
|
ToDate | string |
None. |
|
DeviationType | integer |
None. |
|
UserId | integer |
None. |
|
Token | string |
None. |
|
SourceType | string |
None. |
|
listMultipleRosterAdjustment | Collection of MultipleRosterAdjustment |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EmployeeId": 2, "StartDate": "sample string 3", "FromDate": "sample string 4", "ToDate": "sample string 5", "DeviationType": 6, "UserId": 7, "Token": "sample string 8", "SourceType": "sample string 9", "listMultipleRosterAdjustment": [ { "Id": 1, "RosterAdjustmentId": 2, "EmployeeId": 3, "StartDate": "sample string 4", "FromDate": "sample string 5", "ToDate": "sample string 6", "DeviationType": 7, "PrevShiftId": 8, "SiteId": 9, "ShiftName": "sample string 10", "ShiftTime": "sample string 11", "Reason": "sample string 12", "ShiftType": "sample string 13", "ShiftId": "sample string 14" }, { "Id": 1, "RosterAdjustmentId": 2, "EmployeeId": 3, "StartDate": "sample string 4", "FromDate": "sample string 5", "ToDate": "sample string 6", "DeviationType": 7, "PrevShiftId": 8, "SiteId": 9, "ShiftName": "sample string 10", "ShiftTime": "sample string 11", "Reason": "sample string 12", "ShiftType": "sample string 13", "ShiftId": "sample string 14" } ] }
text/html
Sample:
{"Id":1,"EmployeeId":2,"StartDate":"sample string 3","FromDate":"sample string 4","ToDate":"sample string 5","DeviationType":6,"UserId":7,"Token":"sample string 8","SourceType":"sample string 9","listMultipleRosterAdjustment":[{"Id":1,"RosterAdjustmentId":2,"EmployeeId":3,"StartDate":"sample string 4","FromDate":"sample string 5","ToDate":"sample string 6","DeviationType":7,"PrevShiftId":8,"SiteId":9,"ShiftName":"sample string 10","ShiftTime":"sample string 11","Reason":"sample string 12","ShiftType":"sample string 13","ShiftId":"sample string 14"},{"Id":1,"RosterAdjustmentId":2,"EmployeeId":3,"StartDate":"sample string 4","FromDate":"sample string 5","ToDate":"sample string 6","DeviationType":7,"PrevShiftId":8,"SiteId":9,"ShiftName":"sample string 10","ShiftTime":"sample string 11","Reason":"sample string 12","ShiftType":"sample string 13","ShiftId":"sample string 14"}]}
application/xml, text/xml
Sample:
<ValuesController.RosterAdjustmentEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <DeviationType>6</DeviationType> <EmployeeId>2</EmployeeId> <FromDate>sample string 4</FromDate> <Id>1</Id> <SourceType>sample string 9</SourceType> <StartDate>sample string 3</StartDate> <ToDate>sample string 5</ToDate> <Token>sample string 8</Token> <UserId>7</UserId> <listMultipleRosterAdjustment> <ValuesController.MultipleRosterAdjustment> <DeviationType>7</DeviationType> <EmployeeId>3</EmployeeId> <FromDate>sample string 5</FromDate> <Id>1</Id> <PrevShiftId>8</PrevShiftId> <Reason>sample string 12</Reason> <RosterAdjustmentId>2</RosterAdjustmentId> <ShiftId>sample string 14</ShiftId> <ShiftName>sample string 10</ShiftName> <ShiftTime>sample string 11</ShiftTime> <ShiftType>sample string 13</ShiftType> <SiteId>9</SiteId> <StartDate>sample string 4</StartDate> <ToDate>sample string 6</ToDate> </ValuesController.MultipleRosterAdjustment> <ValuesController.MultipleRosterAdjustment> <DeviationType>7</DeviationType> <EmployeeId>3</EmployeeId> <FromDate>sample string 5</FromDate> <Id>1</Id> <PrevShiftId>8</PrevShiftId> <Reason>sample string 12</Reason> <RosterAdjustmentId>2</RosterAdjustmentId> <ShiftId>sample string 14</ShiftId> <ShiftName>sample string 10</ShiftName> <ShiftTime>sample string 11</ShiftTime> <ShiftType>sample string 13</ShiftType> <SiteId>9</SiteId> <StartDate>sample string 4</StartDate> <ToDate>sample string 6</ToDate> </ValuesController.MultipleRosterAdjustment> </listMultipleRosterAdjustment> </ValuesController.RosterAdjustmentEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>