POST api/Master/InsertStaffMaster
Request Information
URI Parameters
None.
Body Parameters
StaffMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| staKey | integer |
None. |
|
| staCode | string |
None. |
|
| staName | string |
None. |
|
| staGender | string |
None. |
|
| staDOB | date |
None. |
|
| staPhone | string |
None. |
|
| staMobile | string |
None. |
|
| staEmail | string |
None. |
|
| staCreatedate | integer |
None. |
|
| staModiyedate | integer |
None. |
|
| staImgPath | integer |
None. |
|
| staImgIcon | integer |
None. |
|
| staGrpKey | integer |
None. |
|
| staGrpCode | string |
None. |
|
| staGrpName | string |
None. |
|
| countryKey | integer |
None. |
|
| countryName | string |
None. |
|
| staIsActive | boolean |
None. |
|
| compKey | integer |
None. |
|
| Subsordemo | string |
None. |
|
| timeheadshow | boolean |
None. |
|
| timesSlotList | Collection of TimeModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"staKey": 1,
"staCode": "sample string 2",
"staName": "sample string 3",
"staGender": "sample string 4",
"staDOB": "2026-04-01T16:54:53.4417087+04:00",
"staPhone": "sample string 6",
"staMobile": "sample string 7",
"staEmail": "sample string 8",
"staCreatedate": 9,
"staModiyedate": 10,
"staImgPath": 11,
"staImgIcon": 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": [
{
"timeKey": 1,
"timeFrom": "sample string 2",
"timeTo": "sample string 3",
"compKey": 4,
"timedisplay": "sample string 5",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 9,
"ordType": "sample string 10",
"timeshow": true,
"bookedtagshow": true,
"prodKey": 13,
"prodName": "sample string 14",
"prodDesc": "sample string 15",
"prodTimeReq": 16.0,
"bookheadnum": 17,
"bookNumber": "sample string 18",
"newbooking": true,
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
}
},
{
"timeKey": 1,
"timeFrom": "sample string 2",
"timeTo": "sample string 3",
"compKey": 4,
"timedisplay": "sample string 5",
"bookedthis": true,
"bookedToday": true,
"vacantime": true,
"ordHeadnumb": 9,
"ordType": "sample string 10",
"timeshow": true,
"bookedtagshow": true,
"prodKey": 13,
"prodName": "sample string 14",
"prodDesc": "sample string 15",
"prodTimeReq": 16.0,
"bookheadnum": 17,
"bookNumber": "sample string 18",
"newbooking": true,
"timesProducts": {
"prodKey": 1,
"prodBarcode": "sample string 2",
"prodName": "sample string 3",
"prodDesc": "sample string 4"
}
}
]
}
text/xml
Sample:
<StaffMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Salusmax.ng.Domain.ViewModels.Masters.Employee">
<Subsordemo>sample string 20</Subsordemo>
<compKey>19</compKey>
<countryKey>16</countryKey>
<countryName>sample string 17</countryName>
<staCode>sample string 2</staCode>
<staCreatedate>9</staCreatedate>
<staDOB>2026-04-01T16:54:53.4417087+04:00</staDOB>
<staEmail>sample string 8</staEmail>
<staGender>sample string 4</staGender>
<staGrpCode>sample string 14</staGrpCode>
<staGrpKey>13</staGrpKey>
<staGrpName>sample string 15</staGrpName>
<staImgIcon>12</staImgIcon>
<staImgPath>11</staImgPath>
<staIsActive>true</staIsActive>
<staKey>1</staKey>
<staMobile>sample string 7</staMobile>
<staModiyedate>10</staModiyedate>
<staName>sample string 3</staName>
<staPhone>sample string 6</staPhone>
<timeheadshow>true</timeheadshow>
<timesSlotList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Com.Salusmax.ng.Domain.ViewModels.Masters">
<d2p1:TimeModel>
<d2p1:bookNumber>sample string 18</d2p1:bookNumber>
<d2p1:bookedToday>true</d2p1:bookedToday>
<d2p1:bookedtagshow>true</d2p1:bookedtagshow>
<d2p1:bookedthis>true</d2p1:bookedthis>
<d2p1:bookheadnum>17</d2p1:bookheadnum>
<d2p1:compKey>4</d2p1:compKey>
<d2p1:newbooking>true</d2p1:newbooking>
<d2p1:ordHeadnumb>9</d2p1:ordHeadnumb>
<d2p1:ordType>sample string 10</d2p1:ordType>
<d2p1:prodDesc>sample string 15</d2p1:prodDesc>
<d2p1:prodKey>13</d2p1:prodKey>
<d2p1:prodName>sample string 14</d2p1:prodName>
<d2p1:prodTimeReq>16</d2p1:prodTimeReq>
<d2p1:timeFrom>sample string 2</d2p1:timeFrom>
<d2p1:timeKey>1</d2p1:timeKey>
<d2p1:timeTo>sample string 3</d2p1:timeTo>
<d2p1:timedisplay>sample string 5</d2p1:timedisplay>
<d2p1:timesProducts>
<d2p1:prodBarcode>sample string 2</d2p1:prodBarcode>
<d2p1:prodDesc>sample string 4</d2p1:prodDesc>
<d2p1:prodKey>1</d2p1:prodKey>
<d2p1:prodName>sample string 3</d2p1:prodName>
</d2p1:timesProducts>
<d2p1:timeshow>true</d2p1:timeshow>
<d2p1:vacantime>true</d2p1:vacantime>
</d2p1:TimeModel>
<d2p1:TimeModel>
<d2p1:bookNumber>sample string 18</d2p1:bookNumber>
<d2p1:bookedToday>true</d2p1:bookedToday>
<d2p1:bookedtagshow>true</d2p1:bookedtagshow>
<d2p1:bookedthis>true</d2p1:bookedthis>
<d2p1:bookheadnum>17</d2p1:bookheadnum>
<d2p1:compKey>4</d2p1:compKey>
<d2p1:newbooking>true</d2p1:newbooking>
<d2p1:ordHeadnumb>9</d2p1:ordHeadnumb>
<d2p1:ordType>sample string 10</d2p1:ordType>
<d2p1:prodDesc>sample string 15</d2p1:prodDesc>
<d2p1:prodKey>13</d2p1:prodKey>
<d2p1:prodName>sample string 14</d2p1:prodName>
<d2p1:prodTimeReq>16</d2p1:prodTimeReq>
<d2p1:timeFrom>sample string 2</d2p1:timeFrom>
<d2p1:timeKey>1</d2p1:timeKey>
<d2p1:timeTo>sample string 3</d2p1:timeTo>
<d2p1:timedisplay>sample string 5</d2p1:timedisplay>
<d2p1:timesProducts>
<d2p1:prodBarcode>sample string 2</d2p1:prodBarcode>
<d2p1:prodDesc>sample string 4</d2p1:prodDesc>
<d2p1:prodKey>1</d2p1:prodKey>
<d2p1:prodName>sample string 3</d2p1:prodName>
</d2p1:timesProducts>
<d2p1:timeshow>true</d2p1:timeshow>
<d2p1:vacantime>true</d2p1:vacantime>
</d2p1:TimeModel>
</timesSlotList>
</StaffMasterModel>
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.