POST api/ShiftsAPIs/NewSortAssignShifts

Request Information

URI Parameters

None.

Body Parameters

AssignShiftsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

GrpId

integer

None.

ShiftId

integer

None.

StartDate

string

None.

EndDate

string

None.

IsActive

boolean

None.

SortIndex

integer

None.

IsDeleted

boolean

None.

Message

string

None.

Status

boolean

None.

StatusCode

integer

None.

Result

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

FlagId

integer

None.

Create

boolean

None.

Edit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GrpId": 2,
  "ShiftId": 3,
  "StartDate": "sample string 4",
  "EndDate": "sample string 5",
  "IsActive": true,
  "SortIndex": 7,
  "IsDeleted": true,
  "Message": "sample string 9",
  "Status": true,
  "StatusCode": 11,
  "Result": "sample string 12",
  "CreatedBy": 13,
  "ModifiedBy": 14,
  "DeletedBy": 15,
  "FlagId": 16,
  "Create": true,
  "Edit": true
}

application/xml, text/xml

Sample:
<AssignShiftsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drCafeCoffeeAPI.DTOs">
  <Create>true</Create>
  <CreatedBy>13</CreatedBy>
  <DeletedBy>15</DeletedBy>
  <Edit>true</Edit>
  <EndDate>sample string 5</EndDate>
  <FlagId>16</FlagId>
  <GrpId>2</GrpId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 9</Message>
  <ModifiedBy>14</ModifiedBy>
  <Result>sample string 12</Result>
  <ShiftId>3</ShiftId>
  <SortIndex>7</SortIndex>
  <StartDate>sample string 4</StartDate>
  <Status>true</Status>
  <StatusCode>11</StatusCode>
</AssignShiftsDTO>

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.