POST api/genShiftLocation/Save

Request Information

URI Parameters

None.

Body Parameters

genShiftLocation
NameDescriptionTypeAdditional information
IsActive

boolean

None.

AlteredOn

date

None.

CreatedOn

date

None.

ActionTypeId

integer

None.

AlteredById

integer

None.

BranchId

integer

None.

CompanyId

integer

None.

CreatedById

integer

None.

LocationId

integer

None.

OrganizationId

integer

None.

ProjectId

integer

None.

ShiftId

integer

None.

ShiftLocationId

integer

None.

UserLogId

integer

None.

LocationName

string

None.

ShiftName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "AlteredOn": "2025-10-29T13:05:07.3020247+05:00",
  "CreatedOn": "2025-10-29T13:05:07.3020247+05:00",
  "ActionTypeId": 2,
  "AlteredById": 3,
  "BranchId": 4,
  "CompanyId": 5,
  "CreatedById": 6,
  "LocationId": 7,
  "OrganizationId": 8,
  "ProjectId": 9,
  "ShiftId": 10,
  "ShiftLocationId": 11,
  "UserLogId": 12,
  "LocationName": "sample string 13",
  "ShiftName": "sample string 14"
}

application/xml, text/xml

Sample:
<genShiftLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.EmployeeManagement">
  <ActionTypeId>2</ActionTypeId>
  <AlteredById>3</AlteredById>
  <AlteredOn>2025-10-29T13:05:07.3020247+05:00</AlteredOn>
  <BranchId>4</BranchId>
  <CompanyId>5</CompanyId>
  <CreatedById>6</CreatedById>
  <CreatedOn>2025-10-29T13:05:07.3020247+05:00</CreatedOn>
  <IsActive>true</IsActive>
  <LocationId>7</LocationId>
  <LocationName>sample string 13</LocationName>
  <OrganizationId>8</OrganizationId>
  <ProjectId>9</ProjectId>
  <ShiftId>10</ShiftId>
  <ShiftLocationId>11</ShiftLocationId>
  <ShiftName>sample string 14</ShiftName>
  <UserLogId>12</UserLogId>
</genShiftLocation>

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 'genShiftLocation'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.