POST API/WeekOffShift/InsertWeekOffRequest

Request Information

URI Parameters

None.

Body Parameters

WeekOff
NameDescriptionTypeAdditional information
Weekoffrequestid

integer

None.

EmployeeFrameId

integer

None.

OldWeekoffDate

date

None.

NewWeekoffDate

date

None.

Reason

string

None.

Status

string

None.

ApprovedBy

string

None.

ApprovedDate

date

None.

ReportingManagerId

string

None.

EmployeeId

string

None.

EmployeeName

string

None.

DivisionName

string

None.

DesignationName

string

None.

BranchName

string

None.

EmployeePhoto

string

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:
{
  "Weekoffrequestid": 1,
  "EmployeeFrameId": 2,
  "OldWeekoffDate": "2026-01-10T14:11:07.6545968+05:30",
  "NewWeekoffDate": "2026-01-10T14:11:07.6545968+05:30",
  "Reason": "sample string 5",
  "Status": "sample string 6",
  "ApprovedBy": "sample string 7",
  "ApprovedDate": "2026-01-10T14:11:07.6545968+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:11:07.6545968+05:30",
  "ModifiedBy": "sample string 24",
  "ModifiedDate": "2026-01-10T14:11:07.6545968+05:30"
}

application/xml, text/xml

Sample:
<WeekOff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonWebAPI.Entity">
  <ClientId>sample string 18</ClientId>
  <Connectionstring>sample string 20</Connectionstring>
  <CreatedBy>sample string 22</CreatedBy>
  <CreatedDate>2026-01-10T14:11:07.6545968+05:30</CreatedDate>
  <DocumentURL>sample string 21</DocumentURL>
  <ModifiedBy>sample string 24</ModifiedBy>
  <ModifiedDate>2026-01-10T14:11:07.6545968+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:11:07.6545968+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:11:07.6545968+05:30</NewWeekoffDate>
  <OldWeekoffDate>2026-01-10T14:11:07.6545968+05:30</OldWeekoffDate>
  <Reason>sample string 5</Reason>
  <ReportingManagerId>sample string 9</ReportingManagerId>
  <Status>sample string 6</Status>
  <Weekoffrequestid>1</Weekoffrequestid>
</WeekOff>

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.