POST API/WeekOffShift/ApproveBulkWeekOffRequest

Request Information

URI Parameters

None.

Body Parameters

BulkWeekOffRequest
NameDescriptionTypeAdditional information
BulkWeekOffRequestList

Collection of WeekOff

None.

returnErrorMessage

string

None.

returnStatus

boolean

None.

ClientId

string

None.

clientName

string

None.

Connectionstring

string

None.

DocumentURL

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BulkWeekOffRequestList": [
    {
      "Weekoffrequestid": 1,
      "EmployeeFrameId": 2,
      "OldWeekoffDate": "2026-01-10T14:16:32.5271045+05:30",
      "NewWeekoffDate": "2026-01-10T14:16:32.5271045+05:30",
      "Reason": "sample string 5",
      "Status": "sample string 6",
      "ApprovedBy": "sample string 7",
      "ApprovedDate": "2026-01-10T14:16:32.5271045+05:30",
      "ReportingManagerId": "sample string 9",
      "EmployeeId": "sample string 10",
      "EmployeeName": "sample string 11",
      "DivisionName": "sample string 12",
      "DesignationName": "sample string 13",
      "BranchName": "sample string 14",
      "EmployeePhoto": "sample string 15",
      "returnErrorMessage": "sample string 16",
      "returnStatus": true,
      "ClientId": "sample string 18",
      "clientName": "sample string 19",
      "Connectionstring": "sample string 20",
      "DocumentURL": "sample string 21",
      "CreatedBy": "sample string 22",
      "CreatedDate": "2026-01-10T14:16:32.5271045+05:30",
      "ModifiedBy": "sample string 24",
      "ModifiedDate": "2026-01-10T14:16:32.5271045+05:30"
    },
    {
      "Weekoffrequestid": 1,
      "EmployeeFrameId": 2,
      "OldWeekoffDate": "2026-01-10T14:16:32.5271045+05:30",
      "NewWeekoffDate": "2026-01-10T14:16:32.5271045+05:30",
      "Reason": "sample string 5",
      "Status": "sample string 6",
      "ApprovedBy": "sample string 7",
      "ApprovedDate": "2026-01-10T14:16:32.5271045+05:30",
      "ReportingManagerId": "sample string 9",
      "EmployeeId": "sample string 10",
      "EmployeeName": "sample string 11",
      "DivisionName": "sample string 12",
      "DesignationName": "sample string 13",
      "BranchName": "sample string 14",
      "EmployeePhoto": "sample string 15",
      "returnErrorMessage": "sample string 16",
      "returnStatus": true,
      "ClientId": "sample string 18",
      "clientName": "sample string 19",
      "Connectionstring": "sample string 20",
      "DocumentURL": "sample string 21",
      "CreatedBy": "sample string 22",
      "CreatedDate": "2026-01-10T14:16:32.5271045+05:30",
      "ModifiedBy": "sample string 24",
      "ModifiedDate": "2026-01-10T14:16:32.5271045+05:30"
    }
  ],
  "returnErrorMessage": "sample string 1",
  "returnStatus": true,
  "ClientId": "sample string 3",
  "clientName": "sample string 4",
  "Connectionstring": "sample string 5",
  "DocumentURL": "sample string 6",
  "CreatedBy": "sample string 7",
  "CreatedDate": "2026-01-10T14:16:32.5271045+05:30",
  "ModifiedBy": "sample string 9",
  "ModifiedDate": "2026-01-10T14:16:32.5271045+05:30"
}

application/xml, text/xml

Sample:
<BulkWeekOffRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonWebAPI.Entity">
  <ClientId>sample string 3</ClientId>
  <Connectionstring>sample string 5</Connectionstring>
  <CreatedBy>sample string 7</CreatedBy>
  <CreatedDate>2026-01-10T14:16:32.5271045+05:30</CreatedDate>
  <DocumentURL>sample string 6</DocumentURL>
  <ModifiedBy>sample string 9</ModifiedBy>
  <ModifiedDate>2026-01-10T14:16:32.5271045+05:30</ModifiedDate>
  <clientName>sample string 4</clientName>
  <returnErrorMessage>sample string 1</returnErrorMessage>
  <returnStatus>true</returnStatus>
  <BulkWeekOffRequestList>
    <WeekOff>
      <ClientId>sample string 18</ClientId>
      <Connectionstring>sample string 20</Connectionstring>
      <CreatedBy>sample string 22</CreatedBy>
      <CreatedDate>2026-01-10T14:16:32.5271045+05:30</CreatedDate>
      <DocumentURL>sample string 21</DocumentURL>
      <ModifiedBy>sample string 24</ModifiedBy>
      <ModifiedDate>2026-01-10T14:16:32.5271045+05:30</ModifiedDate>
      <clientName>sample string 19</clientName>
      <returnErrorMessage>sample string 16</returnErrorMessage>
      <returnStatus>true</returnStatus>
      <ApprovedBy>sample string 7</ApprovedBy>
      <ApprovedDate>2026-01-10T14:16:32.5271045+05:30</ApprovedDate>
      <BranchName>sample string 14</BranchName>
      <DesignationName>sample string 13</DesignationName>
      <DivisionName>sample string 12</DivisionName>
      <EmployeeFrameId>2</EmployeeFrameId>
      <EmployeeId>sample string 10</EmployeeId>
      <EmployeeName>sample string 11</EmployeeName>
      <EmployeePhoto>sample string 15</EmployeePhoto>
      <NewWeekoffDate>2026-01-10T14:16:32.5271045+05:30</NewWeekoffDate>
      <OldWeekoffDate>2026-01-10T14:16:32.5271045+05:30</OldWeekoffDate>
      <Reason>sample string 5</Reason>
      <ReportingManagerId>sample string 9</ReportingManagerId>
      <Status>sample string 6</Status>
      <Weekoffrequestid>1</Weekoffrequestid>
    </WeekOff>
    <WeekOff>
      <ClientId>sample string 18</ClientId>
      <Connectionstring>sample string 20</Connectionstring>
      <CreatedBy>sample string 22</CreatedBy>
      <CreatedDate>2026-01-10T14:16:32.5271045+05:30</CreatedDate>
      <DocumentURL>sample string 21</DocumentURL>
      <ModifiedBy>sample string 24</ModifiedBy>
      <ModifiedDate>2026-01-10T14:16:32.5271045+05:30</ModifiedDate>
      <clientName>sample string 19</clientName>
      <returnErrorMessage>sample string 16</returnErrorMessage>
      <returnStatus>true</returnStatus>
      <ApprovedBy>sample string 7</ApprovedBy>
      <ApprovedDate>2026-01-10T14:16:32.5271045+05:30</ApprovedDate>
      <BranchName>sample string 14</BranchName>
      <DesignationName>sample string 13</DesignationName>
      <DivisionName>sample string 12</DivisionName>
      <EmployeeFrameId>2</EmployeeFrameId>
      <EmployeeId>sample string 10</EmployeeId>
      <EmployeeName>sample string 11</EmployeeName>
      <EmployeePhoto>sample string 15</EmployeePhoto>
      <NewWeekoffDate>2026-01-10T14:16:32.5271045+05:30</NewWeekoffDate>
      <OldWeekoffDate>2026-01-10T14:16:32.5271045+05:30</OldWeekoffDate>
      <Reason>sample string 5</Reason>
      <ReportingManagerId>sample string 9</ReportingManagerId>
      <Status>sample string 6</Status>
      <Weekoffrequestid>1</Weekoffrequestid>
    </WeekOff>
  </BulkWeekOffRequestList>
</BulkWeekOffRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.