POST api/Booking/InsertToBookingData
Request Information
URI Parameters
None.
Body Parameters
InsertToBookingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Bookheadnum | integer |
None. |
|
| BookDetNum | integer |
None. |
|
| CompKey | integer |
None. |
|
| CustomerKey | integer |
None. |
|
| AppstokeData | string |
None. |
|
| Subsordemo | string |
None. |
|
| ClientKey | integer |
None. |
|
| ProdKey | integer |
None. |
|
| AppointDate | date |
None. |
|
| StaKey | integer |
None. |
|
| SpecialNotes | string |
None. |
|
| UserKey | integer |
None. |
|
| BookSourceFrom | string |
None. |
|
| bookingDetList | Collection of BookingDetModel |
None. |
|
| ChangeBookAction | string |
None. |
|
| IsBookNoshow | boolean |
None. |
|
| companyMast | CompanyModel |
None. |
|
| settingsList | Collection of SettingsModel |
None. |
|
| staffSpaModelList | Collection of StaffMasterModel |
None. |
|
| prductSpaModelList | Collection of ProductItem |
None. |
|
| prdDeptSpaModelList | Collection of ProductDepartment |
None. |
|
| prdCatogSpaModelList | Collection of ProductCatogory |
None. |
|
| prdTypeSpaModelList | Collection of ProductType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Bookheadnum": 1,
"BookDetNum": 2,
"CompKey": 3,
"CustomerKey": 4,
"AppstokeData": "sample string 5",
"Subsordemo": "sample string 6",
"ClientKey": 7,
"ProdKey": 8,
"AppointDate": "2026-09-28T13:03:23.7136921+04:00",
"StaKey": 10,
"SpecialNotes": "sample string 11",
"UserKey": 12,
"BookSourceFrom": "sample string 13",
"bookingDetList": [
{
"lineNumb": 1,
"bookheadnum": 2,
"bookDetNum": 3,
"bookDetRefer": "sample string 4",
"staKey": 5,
"bookedToday": true,
"prodKey": 7,
"prodQty": 8,
"prodRate": 9.0,
"prodTotal": 10.0,
"prodBarcode": "sample string 11",
"prodName": "sample string 12",
"prodDesc": "sample string 13",
"prodCatog": "sample string 14",
"packKey": 15,
"giftKey": 16,
"offerKey": 17,
"membKey": 18,
"prodTimeReq": 19.1,
"timeKeyFrom": 20.1,
"timeKeyTo": 21.1,
"timeFrom": "sample string 22",
"timeTo": "sample string 23",
"timeKeySel": 24.1,
"isProdTaxable": true,
"headFirstTimeKey": 26.1,
"headFinalTimeKey": 27.1,
"appointDate": "2026-09-28T13:03:23.7136921+04:00",
"ordSaleDate": "2026-09-28T13:03:23.7136921+04:00",
"transDate": "2026-09-28T13:03:23.7136921+04:00",
"clientKey": 31,
"clientCode": "sample string 32",
"clientName": "sample string 33",
"clientMobile": "sample string 34",
"clientEmail": "sample string 35",
"clientAddr1": "sample string 36",
"payHeadDoc": "sample string 37",
"specialNotes": "sample string 38",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"isBookAccepted": true,
"isBookStarted": true,
"isBookNoshow": true,
"bookSourceFrom": "sample string 46"
},
{
"lineNumb": 1,
"bookheadnum": 2,
"bookDetNum": 3,
"bookDetRefer": "sample string 4",
"staKey": 5,
"bookedToday": true,
"prodKey": 7,
"prodQty": 8,
"prodRate": 9.0,
"prodTotal": 10.0,
"prodBarcode": "sample string 11",
"prodName": "sample string 12",
"prodDesc": "sample string 13",
"prodCatog": "sample string 14",
"packKey": 15,
"giftKey": 16,
"offerKey": 17,
"membKey": 18,
"prodTimeReq": 19.1,
"timeKeyFrom": 20.1,
"timeKeyTo": 21.1,
"timeFrom": "sample string 22",
"timeTo": "sample string 23",
"timeKeySel": 24.1,
"isProdTaxable": true,
"headFirstTimeKey": 26.1,
"headFinalTimeKey": 27.1,
"appointDate": "2026-09-28T13:03:23.7136921+04:00",
"ordSaleDate": "2026-09-28T13:03:23.7136921+04:00",
"transDate": "2026-09-28T13:03:23.7136921+04:00",
"clientKey": 31,
"clientCode": "sample string 32",
"clientName": "sample string 33",
"clientMobile": "sample string 34",
"clientEmail": "sample string 35",
"clientAddr1": "sample string 36",
"payHeadDoc": "sample string 37",
"specialNotes": "sample string 38",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"isBookAccepted": true,
"isBookStarted": true,
"isBookNoshow": true,
"bookSourceFrom": "sample string 46"
}
],
"ChangeBookAction": "sample string 14",
"IsBookNoshow": true,
"companyMast": {
"compKey": 1,
"compName": "sample string 2",
"customerEmail": "sample string 3",
"customerKey": 4,
"countryKey": 5,
"countryName": "sample string 6",
"countryCode": "sample string 7",
"countryShortCode": "sample string 8",
"stateKey": 9,
"compPhone": "sample string 10",
"compMobile": "sample string 11",
"compWebsite": "sample string 12",
"compAddr1": "sample string 13",
"companyType": "sample string 14",
"currencykey": 15,
"currencyCode": "sample string 16",
"currencyName": "sample string 17",
"dateformatd": "sample string 18",
"amountformat": "sample string 19",
"taxNumber": "sample string 20",
"custPwdSalt": "sample string 21",
"subsordemo": "sample string 22",
"compGuid": "sample string 23",
"compDefault": true,
"isCompUpdated": true,
"appstokeData": "sample string 26",
"sdExpired": "sample string 27",
"sDataBillsStatus": "sample string 28",
"editionKey": 29,
"editionType": "sample string 30",
"compstatus": "sample string 31",
"ordSaleDate": "2026-09-28T13:03:23.7136921+04:00",
"isSaleOpen": "sample string 33",
"sampleDataReq": 34,
"compStarton": "2026-09-28T13:03:23.7136921+04:00",
"demoextend": true,
"periodFrom": "2026-09-28T13:03:23.7136921+04:00",
"periodTo": "2026-09-28T13:03:23.7136921+04:00",
"subsFreeTag": "sample string 39",
"userCode": "sample string 40"
},
"settingsList": [
{
"setLinenum": 1,
"setSection": "sample string 2",
"setMechKey": 3,
"setPrefixd": "sample string 4",
"sys_Valued": "sample string 5",
"setRemarks": "sample string 6",
"compKey": 7
},
{
"setLinenum": 1,
"setSection": "sample string 2",
"setMechKey": 3,
"setPrefixd": "sample string 4",
"sys_Valued": "sample string 5",
"setRemarks": "sample string 6",
"compKey": 7
}
],
"staffSpaModelList": [
{
"staKey": 1,
"staName": "sample string 2",
"staCode": "sample string 3",
"staGender": "sample string 4",
"staDOB": "2026-09-28T13:03:23.7136921+04:00",
"staPhone": "sample string 5",
"staMobile": "sample string 6",
"staEmail": "sample string 7",
"staCreatedate": 8,
"staModiyedate": 9,
"staImgPath": "sample string 10",
"staImgIcon": "sample string 11",
"staGrpKey": 12,
"staGrpCode": "sample string 13",
"staGrpName": "sample string 14",
"countryKey": 15,
"countryName": "sample string 16",
"staIsActive": true,
"compKey": 18,
"Subsordemo": "sample string 19",
"timeheadshow": true,
"timesSlotList": [
{
"staKey": 1,
"timeKeySel": 2.1,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5.1,
"timeKeyTo": 6.1,
"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",
"prodRate": 23.0,
"prodCatog": "sample string 24",
"prodTimeReq": 25.1,
"bookheadnum": 26,
"bookDetNum": 27,
"bookDetRefer": "sample string 28",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"payHeadDoc": "sample string 33",
"bookSourceFrom": "sample string 34",
"specialNotes": "sample string 35",
"staffWork": true,
"absentReason": "sample string 37",
"isAbsentMarked": true,
"appointDate": "2026-09-28T13:03:23.7136921+04:00"
},
{
"staKey": 1,
"timeKeySel": 2.1,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5.1,
"timeKeyTo": 6.1,
"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",
"prodRate": 23.0,
"prodCatog": "sample string 24",
"prodTimeReq": 25.1,
"bookheadnum": 26,
"bookDetNum": 27,
"bookDetRefer": "sample string 28",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"payHeadDoc": "sample string 33",
"bookSourceFrom": "sample string 34",
"specialNotes": "sample string 35",
"staffWork": true,
"absentReason": "sample string 37",
"isAbsentMarked": true,
"appointDate": "2026-09-28T13:03:23.7136921+04:00"
}
]
},
{
"staKey": 1,
"staName": "sample string 2",
"staCode": "sample string 3",
"staGender": "sample string 4",
"staDOB": "2026-09-28T13:03:23.7136921+04:00",
"staPhone": "sample string 5",
"staMobile": "sample string 6",
"staEmail": "sample string 7",
"staCreatedate": 8,
"staModiyedate": 9,
"staImgPath": "sample string 10",
"staImgIcon": "sample string 11",
"staGrpKey": 12,
"staGrpCode": "sample string 13",
"staGrpName": "sample string 14",
"countryKey": 15,
"countryName": "sample string 16",
"staIsActive": true,
"compKey": 18,
"Subsordemo": "sample string 19",
"timeheadshow": true,
"timesSlotList": [
{
"staKey": 1,
"timeKeySel": 2.1,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5.1,
"timeKeyTo": 6.1,
"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",
"prodRate": 23.0,
"prodCatog": "sample string 24",
"prodTimeReq": 25.1,
"bookheadnum": 26,
"bookDetNum": 27,
"bookDetRefer": "sample string 28",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"payHeadDoc": "sample string 33",
"bookSourceFrom": "sample string 34",
"specialNotes": "sample string 35",
"staffWork": true,
"absentReason": "sample string 37",
"isAbsentMarked": true,
"appointDate": "2026-09-28T13:03:23.7136921+04:00"
},
{
"staKey": 1,
"timeKeySel": 2.1,
"timeFrom": "sample string 3",
"timeTo": "sample string 4",
"timeKeyFrom": 5.1,
"timeKeyTo": 6.1,
"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",
"prodRate": 23.0,
"prodCatog": "sample string 24",
"prodTimeReq": 25.1,
"bookheadnum": 26,
"bookDetNum": 27,
"bookDetRefer": "sample string 28",
"isBookBilled": true,
"isJobCompleted": true,
"isBookCancelled": true,
"isBookChanged": true,
"payHeadDoc": "sample string 33",
"bookSourceFrom": "sample string 34",
"specialNotes": "sample string 35",
"staffWork": true,
"absentReason": "sample string 37",
"isAbsentMarked": true,
"appointDate": "2026-09-28T13:03:23.7136921+04:00"
}
]
}
],
"prductSpaModelList": [
{
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodCode": "sample string 3",
"prodName": "sample string 4",
"prodNameAr": "sample string 5",
"prodDesc": "sample string 6",
"prodDescAr": "sample string 7",
"prodPrice1": 8.0,
"prodPrice2": 9.0,
"prodPrice3": 10.0,
"prodCost": 11.0,
"prdtype": "sample string 12",
"isProdTaxable": true,
"prodDeptKey": 14,
"prodDeptCode": "sample string 15",
"prodDeptName": "sample string 16",
"prodCatogKey": 17,
"prodCatogCode": "sample string 18",
"prodCatogName": "sample string 19",
"prodTypeKey": 20,
"prodTypeCode": "sample string 21",
"prodTypeName": "sample string 22",
"staKey": 23,
"staCode": "sample string 24",
"staName": "sample string 25",
"prodIsActive": true,
"prodImgPath": "sample string 27",
"prodIconName": "sample string 28",
"prodVideoPath": "sample string 29",
"prodTimeReq": 30.1,
"compKey": 31,
"isProductPack": true,
"intcompKey": 33,
"prodCatog": "sample string 34"
},
{
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodCode": "sample string 3",
"prodName": "sample string 4",
"prodNameAr": "sample string 5",
"prodDesc": "sample string 6",
"prodDescAr": "sample string 7",
"prodPrice1": 8.0,
"prodPrice2": 9.0,
"prodPrice3": 10.0,
"prodCost": 11.0,
"prdtype": "sample string 12",
"isProdTaxable": true,
"prodDeptKey": 14,
"prodDeptCode": "sample string 15",
"prodDeptName": "sample string 16",
"prodCatogKey": 17,
"prodCatogCode": "sample string 18",
"prodCatogName": "sample string 19",
"prodTypeKey": 20,
"prodTypeCode": "sample string 21",
"prodTypeName": "sample string 22",
"staKey": 23,
"staCode": "sample string 24",
"staName": "sample string 25",
"prodIsActive": true,
"prodImgPath": "sample string 27",
"prodIconName": "sample string 28",
"prodVideoPath": "sample string 29",
"prodTimeReq": 30.1,
"compKey": 31,
"isProductPack": true,
"intcompKey": 33,
"prodCatog": "sample string 34"
}
],
"prdDeptSpaModelList": [
{
"prodDeptKey": 1,
"prodDeptCode": "sample string 2",
"prodDeptName": "sample string 3",
"prodDeptNameAr": "sample string 4",
"prodDeptIsActive": true,
"compKey": 6
},
{
"prodDeptKey": 1,
"prodDeptCode": "sample string 2",
"prodDeptName": "sample string 3",
"prodDeptNameAr": "sample string 4",
"prodDeptIsActive": true,
"compKey": 6
}
],
"prdCatogSpaModelList": [
{
"prodCatogKey": 1,
"prodCatogCode": "sample string 2",
"prodCatogName": "sample string 3",
"prodCatogNameAr": "sample string 4",
"prodDeptKey": 5,
"prodDeptName": "sample string 6",
"prodImgPath": "sample string 7",
"prodIconName": "sample string 8",
"compKey": 9
},
{
"prodCatogKey": 1,
"prodCatogCode": "sample string 2",
"prodCatogName": "sample string 3",
"prodCatogNameAr": "sample string 4",
"prodDeptKey": 5,
"prodDeptName": "sample string 6",
"prodImgPath": "sample string 7",
"prodIconName": "sample string 8",
"compKey": 9
}
],
"prdTypeSpaModelList": [
{
"prodTypeKey": 1,
"prodTypeCode": "sample string 2",
"prodTypeName": "sample string 3"
},
{
"prodTypeKey": 1,
"prodTypeCode": "sample string 2",
"prodTypeName": "sample string 3"
}
]
}
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.