POST api/Booking/GetAllStaffBookedTime
Request Information
URI Parameters
None.
Body Parameters
GetBookingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CompKey | integer |
None. |
|
| ClientKey | integer |
None. |
|
| ClientMobile | string |
None. |
|
| Bookheadnum | integer |
None. |
|
| OrdHeadnumb | integer |
None. |
|
| OrdType | string |
None. |
|
| StaKey | integer |
None. |
|
| TimeKey | integer |
None. |
|
| AppointDate | date |
None. |
|
| Booktimeblock | boolean |
None. |
|
| Subsordemo | string |
None. |
|
| BookSourceFrom | string |
None. |
|
| bookingDetList | Collection of BookingDetModel |
None. |
|
| staffBookingList | Collection of StaffMasterModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompKey": 1,
"ClientKey": 2,
"ClientMobile": "sample string 3",
"Bookheadnum": 4,
"OrdHeadnumb": 5,
"OrdType": "sample string 6",
"StaKey": 7,
"TimeKey": 8,
"AppointDate": "2026-05-31T14:12:18.1860824+04:00",
"Booktimeblock": true,
"Subsordemo": "sample string 11",
"BookSourceFrom": "sample string 12",
"bookingDetList": [
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
},
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
}
],
"staffBookingList": [
{
"staKey": 1,
"staCode": "sample string 2",
"staName": "sample string 3",
"staGender": "sample string 4",
"staDOB": "2026-05-31T14:12:18.1860824+04:00",
"staPhone": "sample string 6",
"staMobile": "sample string 7",
"staEmail": "sample string 8",
"staCreatedate": 9,
"staModiyedate": 10,
"staImgPath": "sample string 11",
"staImgIcon": "sample string 12",
"staGrpKey": 13,
"staGrpCode": "sample string 14",
"staGrpName": "sample string 15",
"countryKey": 16,
"countryName": "sample string 17",
"staIsActive": true,
"compKey": 19,
"Subsordemo": "sample string 20",
"timeheadshow": true,
"timesSlotList": [
{
"staKey": 1,
"timeKey": 2,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5,
"timeKeyTo": 6,
"compKey": 7,
"clientKey": 8,
"clientCode": "sample string 9",
"clientName": "sample string 10",
"clientMobile": "sample string 11",
"timedisplay": "sample string 12",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 16,
"ordType": "sample string 17",
"timeshow": true,
"bookHeaderShow": true,
"prodKey": 20,
"prodName": "sample string 21",
"prodDesc": "sample string 22",
"prodCatog": "sample string 23",
"prodTimeReq": 24.1,
"bookheadnum": 25,
"bookNumber": "sample string 26",
"newbooking": true,
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"payHeadDoc": "sample string 31",
"bookSourceFrom": "sample string 32",
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
},
"productDetList": [
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
},
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
}
],
"staffWork": true
},
{
"staKey": 1,
"timeKey": 2,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5,
"timeKeyTo": 6,
"compKey": 7,
"clientKey": 8,
"clientCode": "sample string 9",
"clientName": "sample string 10",
"clientMobile": "sample string 11",
"timedisplay": "sample string 12",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 16,
"ordType": "sample string 17",
"timeshow": true,
"bookHeaderShow": true,
"prodKey": 20,
"prodName": "sample string 21",
"prodDesc": "sample string 22",
"prodCatog": "sample string 23",
"prodTimeReq": 24.1,
"bookheadnum": 25,
"bookNumber": "sample string 26",
"newbooking": true,
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"payHeadDoc": "sample string 31",
"bookSourceFrom": "sample string 32",
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
},
"productDetList": [
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
},
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
}
],
"staffWork": true
}
]
},
{
"staKey": 1,
"staCode": "sample string 2",
"staName": "sample string 3",
"staGender": "sample string 4",
"staDOB": "2026-05-31T14:12:18.1860824+04:00",
"staPhone": "sample string 6",
"staMobile": "sample string 7",
"staEmail": "sample string 8",
"staCreatedate": 9,
"staModiyedate": 10,
"staImgPath": "sample string 11",
"staImgIcon": "sample string 12",
"staGrpKey": 13,
"staGrpCode": "sample string 14",
"staGrpName": "sample string 15",
"countryKey": 16,
"countryName": "sample string 17",
"staIsActive": true,
"compKey": 19,
"Subsordemo": "sample string 20",
"timeheadshow": true,
"timesSlotList": [
{
"staKey": 1,
"timeKey": 2,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5,
"timeKeyTo": 6,
"compKey": 7,
"clientKey": 8,
"clientCode": "sample string 9",
"clientName": "sample string 10",
"clientMobile": "sample string 11",
"timedisplay": "sample string 12",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 16,
"ordType": "sample string 17",
"timeshow": true,
"bookHeaderShow": true,
"prodKey": 20,
"prodName": "sample string 21",
"prodDesc": "sample string 22",
"prodCatog": "sample string 23",
"prodTimeReq": 24.1,
"bookheadnum": 25,
"bookNumber": "sample string 26",
"newbooking": true,
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"payHeadDoc": "sample string 31",
"bookSourceFrom": "sample string 32",
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
},
"productDetList": [
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
},
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
}
],
"staffWork": true
},
{
"staKey": 1,
"timeKey": 2,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5,
"timeKeyTo": 6,
"compKey": 7,
"clientKey": 8,
"clientCode": "sample string 9",
"clientName": "sample string 10",
"clientMobile": "sample string 11",
"timedisplay": "sample string 12",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 16,
"ordType": "sample string 17",
"timeshow": true,
"bookHeaderShow": true,
"prodKey": 20,
"prodName": "sample string 21",
"prodDesc": "sample string 22",
"prodCatog": "sample string 23",
"prodTimeReq": 24.1,
"bookheadnum": 25,
"bookNumber": "sample string 26",
"newbooking": true,
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"payHeadDoc": "sample string 31",
"bookSourceFrom": "sample string 32",
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
},
"productDetList": [
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
},
{
"lineNumb": 1,
"timeKey": 2,
"bookheadnum": 3,
"bookDetNum": 4,
"bookNumber": "sample string 5",
"ordHeadnumb": 6,
"ordType": "sample string 7",
"appointDate": "2026-05-31T14:12:18.1860824+04:00",
"ordSaleDate": "2026-05-31T14:12:18.1860824+04:00",
"staKey": 10,
"bookedToday": true,
"prodKey": 12,
"prodTimeReq": 13.1,
"timeKeyFrom": 14,
"timeKeyTo": 15,
"prodBarcode": "sample string 16",
"prodName": "sample string 17",
"prodDesc": "sample string 18",
"prodCatog": "sample string 19",
"clientKey": 20,
"clientName": "sample string 21",
"clientMobile": "sample string 22",
"clientEmail": "sample string 23",
"clientAddr1": "sample string 24",
"prodQty": 25.0,
"prodRate": 26.0,
"prodTotal": 27.0,
"timeFrom": "sample string 28",
"timeTo": "sample string 29",
"payHeadDoc": "sample string 30",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"bookSourceFrom": "sample string 34"
}
],
"staffWork": true
}
]
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.