POST api/AttendanceMapping/AddMapping
Request Information
URI Parameters
None.
Body Parameters
RequestAttendanceMappingCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| PayrollConfigurationId | integer |
None. |
|
| AttendanceOutcome | string |
None. |
|
| PayrollTreatment | string |
None. |
|
| ComponentId | integer |
None. |
|
| CalculationMethod | string |
None. |
|
| ThresholdValue | decimal number |
None. |
|
| MonthlyCap | decimal number |
None. |
|
| ApprovalRequired | boolean |
None. |
|
| Priority | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PayrollConfigurationId": 1,
"AttendanceOutcome": "sample string 2",
"PayrollTreatment": "sample string 3",
"ComponentId": 1,
"CalculationMethod": "sample string 4",
"ThresholdValue": 1.0,
"MonthlyCap": 1.0,
"ApprovalRequired": true,
"Priority": 6,
"CreatedBy": 7
}
application/xml, text/xml
Sample:
<RequestAttendanceMappingCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <ApprovalRequired>true</ApprovalRequired> <AttendanceOutcome>sample string 2</AttendanceOutcome> <CalculationMethod>sample string 4</CalculationMethod> <ComponentId>1</ComponentId> <CreatedBy>7</CreatedBy> <MonthlyCap>1</MonthlyCap> <PayrollConfigurationId>1</PayrollConfigurationId> <PayrollTreatment>sample string 3</PayrollTreatment> <Priority>6</Priority> <ThresholdValue>1</ThresholdValue> </RequestAttendanceMappingCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />