PUT api/ManageStaff?pid={pid}&restore={restore}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid | integer |
Required |
|
| restore | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CStaff| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffId | integer |
None. |
|
| Title | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Gender | string |
None. |
|
| DateOfBirth | date |
None. |
|
| Phone | string |
None. |
|
| Cell | string |
None. |
|
| string |
None. |
||
| Address | string |
None. |
|
| Qualification | string |
None. |
|
| Education | string |
None. |
|
| CNICNo | string |
None. |
|
| AccTitle | string |
None. |
|
| NTNNo | string |
None. |
|
| PMCNo | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| IsDeleted | integer |
None. |
|
| OrgId | integer |
None. |
|
| SpecialityId | integer |
None. |
|
| LoadShareType | integer |
None. |
|
| FatherName | string |
None. |
|
| MaritalStatus | string |
None. |
|
| CNICExpiry | date |
None. |
|
| PMCExpiry | date |
None. |
|
| JoiningDate | date |
None. |
|
| ClinicNo | string |
None. |
|
| PicPath | string |
None. |
|
| DocTypeId | integer |
None. |
|
| WHT | decimal number |
None. |
|
| SaleTax | decimal number |
None. |
|
| PRATax | decimal number |
None. |
|
| DocNote | string |
None. |
|
| ShareType | integer |
None. |
|
| City | string |
None. |
|
| IsReferral | integer |
None. |
|
| TaxSectionId | integer |
None. |
|
| TaxPayerId | integer |
None. |
|
| EmpId | integer |
None. |
|
| IsActive | integer |
None. |
|
| IsShowPharmPresc | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"StaffId": 1,
"Title": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Gender": "sample string 5",
"DateOfBirth": "2026-05-20T17:08:21.8580928+05:00",
"Phone": "sample string 7",
"Cell": "sample string 8",
"Email": "sample string 9",
"Address": "sample string 10",
"Qualification": "sample string 11",
"Education": "sample string 12",
"CNICNo": "sample string 13",
"AccTitle": "sample string 14",
"NTNNo": "sample string 15",
"PMCNo": "sample string 16",
"CreatedBy": 17,
"CreatedOn": "2026-05-20T17:08:21.8580928+05:00",
"ModifiedBy": 1,
"ModifiedOn": "2026-05-20T17:08:21.8580928+05:00",
"IsDeleted": 19,
"OrgId": 20,
"SpecialityId": 21,
"LoadShareType": 22,
"FatherName": "sample string 23",
"MaritalStatus": "sample string 24",
"CNICExpiry": "2026-05-20T17:08:21.8580928+05:00",
"PMCExpiry": "2026-05-20T17:08:21.8580928+05:00",
"JoiningDate": "2026-05-20T17:08:21.8580928+05:00",
"ClinicNo": "sample string 25",
"PicPath": "sample string 26",
"DocTypeId": 27,
"WHT": 28.0,
"SaleTax": 29.0,
"PRATax": 30.0,
"DocNote": "sample string 31",
"ShareType": 32,
"City": "sample string 33",
"IsReferral": 34,
"TaxSectionId": 35,
"TaxPayerId": 36,
"EmpId": 37,
"IsActive": 38,
"IsShowPharmPresc": 39
}