POST CustomERP/GetTimeSheetSummary

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TimesheetSummaryDetails
NameDescriptionTypeAdditional information
Error

string

None.

StatusCode

HttpStatusCode

None.

Status

string

None.

WeekList

Collection of WeekList

None.

TimesheetSummary

Collection of TimesheetSummary

None.

LeaveTaken

Collection of LeaveTaken

None.

LeaveApplied

Collection of LeaveApplied

None.

HolidayList

Collection of HolidayList

None.

MonthDetails

Collection of MonthDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": "sample string 1",
  "StatusCode": 100,
  "Status": "sample string 2",
  "WeekList": [
    {
      "Week": "sample string 1",
      "Year": "sample string 2"
    },
    {
      "Week": "sample string 1",
      "Year": "sample string 2"
    }
  ],
  "TimesheetSummary": [
    {
      "Date": "sample string 1",
      "Total": "sample string 2",
      "WeekNum": "sample string 3",
      "EmployeeID": "sample string 4",
      "Day": "sample string 5",
      "Month": "sample string 6",
      "Daysofweek": "sample string 7",
      "ProjectDetails": "sample string 8"
    },
    {
      "Date": "sample string 1",
      "Total": "sample string 2",
      "WeekNum": "sample string 3",
      "EmployeeID": "sample string 4",
      "Day": "sample string 5",
      "Month": "sample string 6",
      "Daysofweek": "sample string 7",
      "ProjectDetails": "sample string 8"
    }
  ],
  "LeaveTaken": [
    {
      "LeaveTakenFrom": "sample string 1",
      "LeaveTakenTo": "sample string 2",
      "LeaveType": "sample string 3",
      "FromDateHalf": "sample string 4",
      "TodateHalf": "sample string 5"
    },
    {
      "LeaveTakenFrom": "sample string 1",
      "LeaveTakenTo": "sample string 2",
      "LeaveType": "sample string 3",
      "FromDateHalf": "sample string 4",
      "TodateHalf": "sample string 5"
    }
  ],
  "LeaveApplied": [
    {
      "AppliedLeaveFrom": "sample string 1",
      "AppliedLeaveTo": "sample string 2",
      "LeaveType": "sample string 3",
      "FromDateHalf": "sample string 4",
      "TodateHalf": "sample string 5"
    },
    {
      "AppliedLeaveFrom": "sample string 1",
      "AppliedLeaveTo": "sample string 2",
      "LeaveType": "sample string 3",
      "FromDateHalf": "sample string 4",
      "TodateHalf": "sample string 5"
    }
  ],
  "HolidayList": [
    {
      "Holiday": "sample string 1"
    },
    {
      "Holiday": "sample string 1"
    }
  ],
  "MonthDetails": [
    {
      "Year": "sample string 1",
      "Month": "sample string 2",
      "Startdate": "sample string 3",
      "Enddate": "sample string 4",
      "WorkingHours": "sample string 5"
    },
    {
      "Year": "sample string 1",
      "Month": "sample string 2",
      "Startdate": "sample string 3",
      "Enddate": "sample string 4",
      "WorkingHours": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<TimesheetSummaryDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomERPAPI.Models">
  <Error>sample string 1</Error>
  <HolidayList>
    <HolidayList>
      <Holiday>sample string 1</Holiday>
    </HolidayList>
    <HolidayList>
      <Holiday>sample string 1</Holiday>
    </HolidayList>
  </HolidayList>
  <LeaveApplied>
    <LeaveApplied>
      <AppliedLeaveFrom>sample string 1</AppliedLeaveFrom>
      <AppliedLeaveTo>sample string 2</AppliedLeaveTo>
      <FromDateHalf>sample string 4</FromDateHalf>
      <LeaveType>sample string 3</LeaveType>
      <TodateHalf>sample string 5</TodateHalf>
    </LeaveApplied>
    <LeaveApplied>
      <AppliedLeaveFrom>sample string 1</AppliedLeaveFrom>
      <AppliedLeaveTo>sample string 2</AppliedLeaveTo>
      <FromDateHalf>sample string 4</FromDateHalf>
      <LeaveType>sample string 3</LeaveType>
      <TodateHalf>sample string 5</TodateHalf>
    </LeaveApplied>
  </LeaveApplied>
  <LeaveTaken>
    <LeaveTaken>
      <FromDateHalf>sample string 4</FromDateHalf>
      <LeaveTakenFrom>sample string 1</LeaveTakenFrom>
      <LeaveTakenTo>sample string 2</LeaveTakenTo>
      <LeaveType>sample string 3</LeaveType>
      <TodateHalf>sample string 5</TodateHalf>
    </LeaveTaken>
    <LeaveTaken>
      <FromDateHalf>sample string 4</FromDateHalf>
      <LeaveTakenFrom>sample string 1</LeaveTakenFrom>
      <LeaveTakenTo>sample string 2</LeaveTakenTo>
      <LeaveType>sample string 3</LeaveType>
      <TodateHalf>sample string 5</TodateHalf>
    </LeaveTaken>
  </LeaveTaken>
  <MonthDetails>
    <MonthDetails>
      <Enddate>sample string 4</Enddate>
      <Month>sample string 2</Month>
      <Startdate>sample string 3</Startdate>
      <WorkingHours>sample string 5</WorkingHours>
      <Year>sample string 1</Year>
    </MonthDetails>
    <MonthDetails>
      <Enddate>sample string 4</Enddate>
      <Month>sample string 2</Month>
      <Startdate>sample string 3</Startdate>
      <WorkingHours>sample string 5</WorkingHours>
      <Year>sample string 1</Year>
    </MonthDetails>
  </MonthDetails>
  <Status>sample string 2</Status>
  <StatusCode>Continue</StatusCode>
  <TimesheetSummary>
    <TimesheetSummary>
      <Date>sample string 1</Date>
      <Day>sample string 5</Day>
      <Daysofweek>sample string 7</Daysofweek>
      <EmployeeID>sample string 4</EmployeeID>
      <Month>sample string 6</Month>
      <ProjectDetails>sample string 8</ProjectDetails>
      <Total>sample string 2</Total>
      <WeekNum>sample string 3</WeekNum>
    </TimesheetSummary>
    <TimesheetSummary>
      <Date>sample string 1</Date>
      <Day>sample string 5</Day>
      <Daysofweek>sample string 7</Daysofweek>
      <EmployeeID>sample string 4</EmployeeID>
      <Month>sample string 6</Month>
      <ProjectDetails>sample string 8</ProjectDetails>
      <Total>sample string 2</Total>
      <WeekNum>sample string 3</WeekNum>
    </TimesheetSummary>
  </TimesheetSummary>
  <WeekList>
    <WeekList>
      <Week>sample string 1</Week>
      <Year>sample string 2</Year>
    </WeekList>
    <WeekList>
      <Week>sample string 1</Week>
      <Year>sample string 2</Year>
    </WeekList>
  </WeekList>
</TimesheetSummaryDetails>