Next Topic

Previous Topic

Book Contents

Add Staff

Adds a single staff record to a single department.

POST /system/departments/{deptId}/staff

Headers

Model Schema

Field

Datatype

Filterable

Sortable

OrgStaffId

decimal

StaffFullName

string

DeptId

decimal

SupervisorId

decimal

Title

string

Function

string

UserId

decimal

OrgId

decimal

 

ViewAllTickets

boolean

 

 

ApproveAllTimeSheets

boolean

 

 

Attributes

object

 

 

 

 

 

 

ContactInfo

 

 

 

PreferredContactMethod

string

 

 

PrimaryPhone

string

 

 

PrimaryFax

string

 

 

PrimaryEmail

string

 

 

Country

string

 

 

Street

string

 

 

City

string

 

 

State

string

 

 

ZipCode

string

 

 

PrimaryTextMessagePhone

string

 

 

Sample Request Model

{
  "OrgStaffId": 0,
  "StaffFullName": "string",
  "DeptId": 0,
  "SupervisorId": 0,
  "Title": "string",
  "Function": "string",
  "UserId": 0,
  "ContactInfo": {
    "PreferredContactMethod": "string",
    "PrimaryPhone": "string",
    "PrimaryFax": "string",
    "PrimaryEmail": "string",
    "Country": "string",
    "Street": "string",
    "City": "string",
    "State": "string",
    "ZipCode": "string",
    "PrimaryTextMessagePhone": "string"
  },
  "OrgId": 0,
  "ViewAllTickets": true,
  "ApproveAllTimeSheets": true,
  "Attributes": {}
}