POST api/genShift/Save
Request Information
URI Parameters
None.
Body Parameters
genShift| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionTypeId | integer |
None. |
|
| AlteredOn | date |
None. |
|
| CreatedOn | date |
None. |
|
| BranchId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| OrganizationId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| ShiftId | integer |
None. |
|
| AlteredById | integer |
None. |
|
| CreatedById | integer |
None. |
|
| UserLogId | integer |
None. |
|
| ShiftName | string |
None. |
|
| ShiftShortName | string |
None. |
|
| ShiftUrduName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActionTypeId": 1,
"AlteredOn": "2025-10-29T13:11:04.2708311+05:00",
"CreatedOn": "2025-10-29T13:11:04.2864713+05:00",
"BranchId": 2,
"CompanyId": 3,
"OrganizationId": 4,
"ProjectId": 5,
"ShiftId": 6,
"AlteredById": 7,
"CreatedById": 8,
"UserLogId": 9,
"ShiftName": "sample string 10",
"ShiftShortName": "sample string 11",
"ShiftUrduName": "sample string 12"
}
application/xml, text/xml
Sample:
<genShift xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.EmployeeManagement"> <ActionTypeId>1</ActionTypeId> <AlteredById>7</AlteredById> <AlteredOn>2025-10-29T13:11:04.2708311+05:00</AlteredOn> <BranchId>2</BranchId> <CompanyId>3</CompanyId> <CreatedById>8</CreatedById> <CreatedOn>2025-10-29T13:11:04.2864713+05:00</CreatedOn> <OrganizationId>4</OrganizationId> <ProjectId>5</ProjectId> <ShiftId>6</ShiftId> <ShiftName>sample string 10</ShiftName> <ShiftShortName>sample string 11</ShiftShortName> <ShiftUrduName>sample string 12</ShiftUrduName> <UserLogId>9</UserLogId> </genShift>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.