Documentation ¶
Index ¶
- func CallJsonApi(url string, apikey string, method string) ([]byte, error)
- func CallJsonApiInternal(req *http.Request, apikey string) ([]byte, error)
- func CallJsonApiWithPayload(url string, apikey string, method string, payload *strings.Reader) ([]byte, error)
- func PrettyStruct(data interface{}) (string, error)
- type Config
- type Employee
- type EmployeeListResponse
- type Field
- type FieldOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallJsonApiInternal ¶
func CallJsonApiWithPayload ¶
func PrettyStruct ¶
Types ¶
type Employee ¶
type Employee struct { ID string `json:"id"` Department string `json:"department"` DisplayName string `json:"displayName"` Division string `json:"division"` EmployeeNumber string `json:"employeeNumber"` FirstName string `json:"firstName"` HireDate string `json:"hireDate"` JobTitle string `json:"jobTitle"` LastName string `json:"lastName"` Location string `json:"location"` OriginalHireDate string `json:"originalHireDate"` PayRate string `json:"payRate"` Status string `json:"status"` Supervisor string `json:"supervisor"` SupervisorID string `json:"supervisorId"` SupervisorEID string `json:"supervisorEId"` TerminationDate string `json:"terminationDate"` }
func EmployeeDirectory ¶
func ListEmployees ¶
func ListMyEmployees ¶
type EmployeeListResponse ¶
Click to show internal directories.
Click to hide internal directories.