Staff Api
interface StaffApi
Functions
Link copied to clipboard
Create a staff member Creates a staff member. Mandatory Fields: officeId, firstname, lastname Optional Fields: isLoanOfficer, isActive Responses:
Link copied to clipboard
Responses:
Link copied to clipboard
abstract suspend fun postTemplate(dateFormat: String, locale: String, uploadedInputStream: MultiPartFormDataContent): String
Responses:
Link copied to clipboard
abstract suspend fun retrieveAll16(officeId: Long? = null, staffInOfficeHierarchy: Boolean? = false, loanOfficersOnly: Boolean? = false, status: String? = "active"): List<RetrieveOneResponse>
Retrieve Staff Returns the list of staff members. Example Requests: staff Retrieve a Staff by status Returns the details of a Staff based on status. By default it Returns all the ACTIVE Staff. If status=INACTIVE, then it returns all INACTIVE Staff. and for status=ALL, it Returns both ACTIVE and INACTIVE Staff. Example Requests: staff?status=active Responses:
Link copied to clipboard
Retrieve a Staff Member Returns the details of a Staff Member. Example Requests: staff/1 Responses:
Link copied to clipboard
Update a Staff Member Updates the details of a staff member. Responses: