POST API/WeekOffShift/ApproveBulkShiftChangeRequest

Request Information

URI Parameters

None.

Body Parameters

BulkShiftChangeRequest
NameDescriptionTypeAdditional information
BulkShiftChangeRequestList

Collection of ShiftChangeRequest

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:
{
  "BulkShiftChangeRequestList": [
    {
      "Shiftchangerequestid": 1,
      "EmployeeFrameId": 2,
      "ShiftChangeDate": "2026-04-21T15:20:39.832223+05:30",
      "ShiftId": "sample string 4",
      "Reason": "sample string 5",
      "Status": "sample string 6",
      "ApprovedBy": "sample string 7",
      "ApprovedDate": "2026-04-21T15:20:39.832223+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",
      "ShiftName": "sample string 15",
      "ShiftDescription": "sample string 16",
      "EmployeePhoto": "sample string 17",
      "returnErrorMessage": "sample string 18",
      "returnStatus": true,
      "ClientId": "sample string 20",
      "clientName": "sample string 21",
      "Connectionstring": "sample string 22",
      "DocumentURL": "sample string 23",
      "CreatedBy": "sample string 24",
      "CreatedDate": "2026-04-21T15:20:39.832223+05:30",
      "ModifiedBy": "sample string 26",
      "ModifiedDate": "2026-04-21T15:20:39.832223+05:30"
    },
    {
      "Shiftchangerequestid": 1,
      "EmployeeFrameId": 2,
      "ShiftChangeDate": "2026-04-21T15:20:39.832223+05:30",
      "ShiftId": "sample string 4",
      "Reason": "sample string 5",
      "Status": "sample string 6",
      "ApprovedBy": "sample string 7",
      "ApprovedDate": "2026-04-21T15:20:39.832223+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",
      "ShiftName": "sample string 15",
      "ShiftDescription": "sample string 16",
      "EmployeePhoto": "sample string 17",
      "returnErrorMessage": "sample string 18",
      "returnStatus": true,
      "ClientId": "sample string 20",
      "clientName": "sample string 21",
      "Connectionstring": "sample string 22",
      "DocumentURL": "sample string 23",
      "CreatedBy": "sample string 24",
      "CreatedDate": "2026-04-21T15:20:39.832223+05:30",
      "ModifiedBy": "sample string 26",
      "ModifiedDate": "2026-04-21T15:20:39.832223+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-04-21T15:20:39.832223+05:30",
  "ModifiedBy": "sample string 9",
  "ModifiedDate": "2026-04-21T15:20:39.832223+05:30"
}

application/xml, text/xml

Sample:
<BulkShiftChangeRequest 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-04-21T15:20:39.832223+05:30</CreatedDate>
  <DocumentURL>sample string 6</DocumentURL>
  <ModifiedBy>sample string 9</ModifiedBy>
  <ModifiedDate>2026-04-21T15:20:39.832223+05:30</ModifiedDate>
  <clientName>sample string 4</clientName>
  <returnErrorMessage>sample string 1</returnErrorMessage>
  <returnStatus>true</returnStatus>
  <BulkShiftChangeRequestList>
    <ShiftChangeRequest>
      <ClientId>sample string 20</ClientId>
      <Connectionstring>sample string 22</Connectionstring>
      <CreatedBy>sample string 24</CreatedBy>
      <CreatedDate>2026-04-21T15:20:39.832223+05:30</CreatedDate>
      <DocumentURL>sample string 23</DocumentURL>
      <ModifiedBy>sample string 26</ModifiedBy>
      <ModifiedDate>2026-04-21T15:20:39.832223+05:30</ModifiedDate>
      <clientName>sample string 21</clientName>
      <returnErrorMessage>sample string 18</returnErrorMessage>
      <returnStatus>true</returnStatus>
      <ApprovedBy>sample string 7</ApprovedBy>
      <ApprovedDate>2026-04-21T15:20:39.832223+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 17</EmployeePhoto>
      <Reason>sample string 5</Reason>
      <ReportingManagerId>sample string 9</ReportingManagerId>
      <ShiftChangeDate>2026-04-21T15:20:39.832223+05:30</ShiftChangeDate>
      <ShiftDescription>sample string 16</ShiftDescription>
      <ShiftId>sample string 4</ShiftId>
      <ShiftName>sample string 15</ShiftName>
      <Shiftchangerequestid>1</Shiftchangerequestid>
      <Status>sample string 6</Status>
    </ShiftChangeRequest>
    <ShiftChangeRequest>
      <ClientId>sample string 20</ClientId>
      <Connectionstring>sample string 22</Connectionstring>
      <CreatedBy>sample string 24</CreatedBy>
      <CreatedDate>2026-04-21T15:20:39.832223+05:30</CreatedDate>
      <DocumentURL>sample string 23</DocumentURL>
      <ModifiedBy>sample string 26</ModifiedBy>
      <ModifiedDate>2026-04-21T15:20:39.832223+05:30</ModifiedDate>
      <clientName>sample string 21</clientName>
      <returnErrorMessage>sample string 18</returnErrorMessage>
      <returnStatus>true</returnStatus>
      <ApprovedBy>sample string 7</ApprovedBy>
      <ApprovedDate>2026-04-21T15:20:39.832223+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 17</EmployeePhoto>
      <Reason>sample string 5</Reason>
      <ReportingManagerId>sample string 9</ReportingManagerId>
      <ShiftChangeDate>2026-04-21T15:20:39.832223+05:30</ShiftChangeDate>
      <ShiftDescription>sample string 16</ShiftDescription>
      <ShiftId>sample string 4</ShiftId>
      <ShiftName>sample string 15</ShiftName>
      <Shiftchangerequestid>1</Shiftchangerequestid>
      <Status>sample string 6</Status>
    </ShiftChangeRequest>
  </BulkShiftChangeRequestList>
</BulkShiftChangeRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BulkShiftChangeRequest'.

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.