POST api/AddEmpPresenty
Request Information
URI Parameters
None.
Body Parameters
EmployeePresentyDataName | Description | Type | Additional information |
---|---|---|---|
EmployeeID | string |
None. |
|
InTimeSelfy | string |
None. |
|
InTimeSelfyStr | string |
None. |
|
InTimeProgress | string |
None. |
|
InTimeLat | string |
None. |
|
InTimeLong | string |
None. |
|
InTimeLocation | string |
None. |
|
YearID | string |
None. |
|
MonthID | string |
None. |
|
OutTimeSelfy | string |
None. |
|
OutTimeSelfyStr | string |
None. |
|
OutTimeProgress | string |
None. |
|
PresentyStatus | string |
None. |
|
TotalWorkInMin | string |
None. |
|
OutTimeLat | string |
None. |
|
OutTimeLong | string |
None. |
|
OutTimeLocation | string |
None. |
|
PresentyID | string |
None. |
|
ManagerID | string |
None. |
|
ProjectID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeID": "sample string 1", "InTimeSelfy": "sample string 2", "InTimeSelfyStr": "sample string 3", "InTimeProgress": "sample string 4", "InTimeLat": "sample string 5", "InTimeLong": "sample string 6", "InTimeLocation": "sample string 7", "YearID": "sample string 8", "MonthID": "sample string 9", "OutTimeSelfy": "sample string 10", "OutTimeSelfyStr": "sample string 11", "OutTimeProgress": "sample string 12", "PresentyStatus": "sample string 13", "TotalWorkInMin": "sample string 14", "OutTimeLat": "sample string 15", "OutTimeLong": "sample string 16", "OutTimeLocation": "sample string 17", "PresentyID": "sample string 18", "ManagerID": "sample string 19", "ProjectID": "sample string 20" }
application/xml, text/xml
Sample:
<EmployeePresentyData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayrollApp.Models"> <EmployeeID>sample string 1</EmployeeID> <InTimeLat>sample string 5</InTimeLat> <InTimeLocation>sample string 7</InTimeLocation> <InTimeLong>sample string 6</InTimeLong> <InTimeProgress>sample string 4</InTimeProgress> <InTimeSelfy>sample string 2</InTimeSelfy> <InTimeSelfyStr>sample string 3</InTimeSelfyStr> <ManagerID>sample string 19</ManagerID> <MonthID>sample string 9</MonthID> <OutTimeLat>sample string 15</OutTimeLat> <OutTimeLocation>sample string 17</OutTimeLocation> <OutTimeLong>sample string 16</OutTimeLong> <OutTimeProgress>sample string 12</OutTimeProgress> <OutTimeSelfy>sample string 10</OutTimeSelfy> <OutTimeSelfyStr>sample string 11</OutTimeSelfyStr> <PresentyID>sample string 18</PresentyID> <PresentyStatus>sample string 13</PresentyStatus> <ProjectID>sample string 20</ProjectID> <TotalWorkInMin>sample string 14</TotalWorkInMin> <YearID>sample string 8</YearID> </EmployeePresentyData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.