Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource URL 

Create a new staff member.

Code Block
languagebash
POST /staff/:id

Parameters

Table of allowed paramatersparameters. Underlined parameters are required.

usernamestringThe unique username to assign to the staff member
passwordstringThe password assigned to the staff member.
firstnamestringThe firstname of the staff member.
surnamestringThe surname of the staff member.
titlestringThe staff members title. For example: mr, mrs, dr, etc
emailstringThe staff members email.
faxstringThe staff members fax
phonestringThe staff members phone number.
mobilestringThe staff members mobile number
positionstringThe staff members position. For example, software engineer or CEO.

Handling the response

Please see the GET endpoint for handling the response.