POST api/AssignShift/Add

Request Information

URI Parameters

None.

Body Parameters

AssignShiftModel
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyId

integer

None.

BranchId

integer

None.

DepartmentId

integer

None.

Depart

integer

None.

DepartmentName

string

None.

ShiftName

string

None.

StartTime

string

None.

EndTime

string

None.

Hrs

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyId": 1,
  "BranchId": 1,
  "DepartmentId": 1,
  "Depart": 1,
  "DepartmentName": "sample string 1",
  "ShiftName": "sample string 2",
  "StartTime": "sample string 3",
  "EndTime": "sample string 4",
  "Hrs": "sample string 5"
}

application/xml, text/xml

Sample:
<AssignShiftModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellHR.Models">
  <BranchId>1</BranchId>
  <CompanyId>1</CompanyId>
  <Depart>1</Depart>
  <DepartmentId>1</DepartmentId>
  <DepartmentName>sample string 1</DepartmentName>
  <EndTime>sample string 4</EndTime>
  <Hrs>sample string 5</Hrs>
  <Id>1</Id>
  <ShiftName>sample string 2</ShiftName>
  <StartTime>sample string 3</StartTime>
</AssignShiftModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.