GET api/Staff_Shift_Mapping/GetStaffShiftMappingByID/{ID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Staff_Shift_MappingModel
NameDescriptionTypeAdditional information
ID

integer

None.

RecurringID

integer

None.

ShiftID

integer

None.

ShiftName

string

None.

ShiftColor

string

None.

StaffEmail

string

None.

StaffID

integer

None.

StaffName

string

None.

StartDate

date

None.

EndDate

date

None.

StartTime

string

None.

EndTime

string

None.

IsDelete

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

OperationOption

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "RecurringID": 1,
  "ShiftID": 1,
  "ShiftName": "sample string 2",
  "ShiftColor": "sample string 3",
  "StaffEmail": "sample string 4",
  "StaffID": 1,
  "StaffName": "sample string 5",
  "StartDate": "2026-06-30T14:19:06.868081+01:00",
  "EndDate": "2026-06-30T14:19:06.868081+01:00",
  "StartTime": "sample string 6",
  "EndTime": "sample string 7",
  "IsDelete": true,
  "CreatedDate": "2026-06-30T14:19:06.868081+01:00",
  "CreatedBy": 1,
  "UpdatedDate": "2026-06-30T14:19:06.868081+01:00",
  "UpdatedBy": 1,
  "OperationOption": "sample string 8"
}

text/xml

Sample:
<Staff_Shift_MappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:19:06.868081+01:00</CreatedDate>
  <EndDate>2026-06-30T14:19:06.868081+01:00</EndDate>
  <EndTime>sample string 7</EndTime>
  <ID>1</ID>
  <IsDelete>true</IsDelete>
  <OperationOption>sample string 8</OperationOption>
  <RecurringID>1</RecurringID>
  <ShiftColor>sample string 3</ShiftColor>
  <ShiftID>1</ShiftID>
  <ShiftName>sample string 2</ShiftName>
  <StaffEmail>sample string 4</StaffEmail>
  <StaffID>1</StaffID>
  <StaffName>sample string 5</StaffName>
  <StartDate>2026-06-30T14:19:06.868081+01:00</StartDate>
  <StartTime>sample string 6</StartTime>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:19:06.868081+01:00</UpdatedDate>
</Staff_Shift_MappingModel>