POST api/Employee/AddEMPAttendance/{month}/{year}/{empid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
month | integer |
Required |
|
year | integer |
Required |
|
empid | string |
Required |
Body Parameters
Collection of EmpAttDataName | Description | Type | Additional information |
---|---|---|---|
empid | string |
None. |
|
workingdays | integer |
None. |
|
totabsent | integer |
None. |
|
month | integer |
None. |
|
year | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "empid": "sample string 1", "workingdays": 2, "totabsent": 3, "month": 4, "year": 5 }, { "empid": "sample string 1", "workingdays": 2, "totabsent": 3, "month": 4, "year": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfEmpAttData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <EmpAttData> <empid>sample string 1</empid> <month>4</month> <totabsent>3</totabsent> <workingdays>2</workingdays> <year>5</year> </EmpAttData> <EmpAttData> <empid>sample string 1</empid> <month>4</month> <totabsent>3</totabsent> <workingdays>2</workingdays> <year>5</year> </EmpAttData> </ArrayOfEmpAttData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>