POST api/StaffManagement/SaveStaff?clientId={clientId}
save staff details. if it'sa new staff then the staff Id will be empty. if it's a new staff then the welcome email is sent containing the new user password
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | string |
None. |
Body Parameters
StaffEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| EmailAddress | string |
Required |
|
| ProfilePicture | string |
None. |
|
| Title | string |
Required |
|
| FeatureAccess | Collection of Feature |
None. |
|
| StatusMessage | string |
None. |
|
| StatusDate | date |
None. |
|
| AccountActive | boolean |
None. |
|
| AccountIsAdmin | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"EmailAddress": "sample string 4",
"ProfilePicture": "sample string 5",
"Title": "sample string 6",
"FeatureAccess": [
{
"Id": "sample string 1",
"Name": "sample string 2"
},
{
"Id": "sample string 1",
"Name": "sample string 2"
}
],
"StatusMessage": "sample string 7",
"StatusDate": "2025-11-06T20:32:13.5517101Z",
"AccountActive": true,
"AccountIsAdmin": true
}
Response Information
Resource Description
a string like "Successfully added new... OR Successfully edited staff..."
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.