The VAIRKKO API allows Authorized Data Distribution Partners (ADDP) to consume our REST-style web services over unique URLs. Below is a list of the available scheduling functions and their parameters.

Return One or More Employee Records:

https://api.vairkko.com/API/index.cfm/users/getUsers?PK=[Insert Your Partner Key]&CK=[Insert Client Key]

Parameters:

ParameterRequired/OptionalDescription
RFOptional

Determines the return format of requested data:

  • XML (Default)
  • JSON
BadgeIDOptionalA unique employee number assigned to the employee by your organization. Allows searching for a single user/employee record; if not included in your request, all users within your VAIRKKO platform are returned.
emailAddrOptionalEmployee's email address in VAIRKKO. 
UserStatusOptional
  • Active will return only active accounts
  • Disabled will return only disabled accounts
  • Blank will return only active accounts
WorkStatusOptionalActive, In-Active, Leave (Medical), Leave (Personal), Light Duty, Suspended

Example: https://api.vairkko.com/API/index.cfm/users/getUsers?PK=[Insert Your Partner Key]&CK=[Insert Client Key]&RF=JSON&BadgeID=ABC123&empstatus=active

Data That is Returned

ParameterDescription
fnameFirst Name of the user record being created
middleNameMiddle Name of the user record being created
lnameLast Name of the user record being created
primaryjobPrimary Job Title of the user record being created
badgeIDUnique number assigned to employee created by your Agency
emailAddrUnique Email Address assigned to employee created by your Agency
locationIDLocation associated with the employee. If not used employee will be linked to the first location created in the system.
deptDepartment associated with the employee. If not used employee will be linked to the first department created in the system.
genderMale, Female, Other
ftptpdFull Time, Part Time, Per Diem, Casual, Volunteer
workStatusActive, In-Active, Leave (Medical), Leave (Personal), Light Duty, Suspended
personalEmailEmployee's Personal Email Address
addrEmployee's Street address 
addr2Additional address information (Suite, Apt)
CityCity portion of employee's address
StateState portion of employee's address
ZipZip Code portion of employee's address
dobEmployee's birthday MM/DD/YYYY format
cellNum9195551234 format
homePhone9195551234 format
workPhone9195551234 format
workExtEmployee's work Ext
hireDateEmployee's Hire Date MM/DD/YYYY format
seniorityDateFull time start date of an employee that was previously part time. MM/DD/YYYY format
cmpyIDCompany associated with the employee. If not used employee will be linked to the first company created in the system.
userSupLast Name, First Name
userstatusActive or Disabled
terminationdatewill only return values for disabled accounts

Create New Employee / User Record:

https://api.vairkko.com/API/index.cfm/users/Create?PK=[Insert Your Partner Key]&CK=[Insert Client Key]

ParameterRequired/OptionalDescription
fnameRequiredFirst Name of the user record being created
middleNameOptionalMiddle Name of the user record being created
lnameRequiredLast Name of the user record being created
primaryjobOptionalPrimary Job Title of the user record being created
badgeIDRequired if NOT using Email AddressUnique number assigned to employee created by your Agency
emailAddrRequired if NOT using Badge IDUnique Email Address assigned to employee created by your Agency
passwordOptionalIf not provided the system will generate password
locationIDOptionalLocation associated with the employee. If not used employee will be linked to the first location created in the system.
deptOptionalDepartment associated with the employee. If not used employee will be linked to the first department created in the system.
genderOptionalMale, Female, Other
ftptpdOptionalFull Time, Part Time, Per Diem, Casual, Volunteer
workStatusOptionalActive, In-Active, Leave (Medical), Leave (Personal), Light Duty, Suspended
personalEmailOptionalEmployee's Personal Email Address
addrOptionalEmployee's Street address 
addr2OptionalAdditional address information (Suite, Apt)
CityOptionalCity portion of employee's address
StateOptionalState portion of employee's address
ZipOptionalZip Code portion of employee's address
dobOptionalEmployee's birthday MM/DD/YYYY format
cellNumOptional9195551234 format
homePhoneOptional9195551234 format
workPhoneOptional9195551234 format
workExtOptionalEmployee's work Ext
hireDateOptionalEmployee's Hire Date MM/DD/YYYY format
seniorityDateOptionalFull time start date of an employee that was previously part time. MM/DD/YYYY format
cmpyIDOptionalCompany associated with the employee. If not used employee will be linked to the first company created in the system.
userSupOptionalEmail address of Employee's Supervisor
customfield_XXOptionalTo assign values to custom fields in a user record within VAIRKKO, use the following format: customfield_[custom field ID] = "value". For example, if the custom field has an ID of 99, and you want to set its value to "blue", you would use: customfield_99=blue

Example: https://api.vairkko.com/API/index.cfm/users/Create?PK=[Insert Your Partner Key]&CK=[Insert Client Key]&RF=JSON&BadgeID=ABC123&fname=John&lname=Doe........

Returns: Success: Status Code of 200 along with JSON String

Update Existing Employee / User Record: 

https://api.vairkko.com/API/index.cfm/users/edit?PK=[Insert Your Partner Key]&CK=[Insert Client Key]

ParameterRequired/OptionalDescription
fnameRequiredFirst Name of the user record being created
middleNameOptionalMiddle Name of the user record being created
lnameRequiredLast Name of the user record being created
primaryjobOptionalPrimary Job Title of the user record being created
badgeIDRequired if NOT using Email AddressUnique number assigned to employee created by your Agency
emailAddrRequired if NOT using Badge IDUnique Email Address assigned to employee created by your Agency
passwordOptionalIf not provided the system will generate password
locationIDOptionalLocation associated with the employee. If not used employee will be linked to the first location created in the system.
deptOptionalDepartment associated with the employee. If not used employee will be linked to the first department created in the system.
genderOptionalMale, Female, Other
ftptpdOptionalFull Time, Part Time, Per Diem, Casual, Volunteer
workStatusOptionalActive, In-Active, Leave (Medical), Leave (Personal), Light Duty, Suspended
personalEmailOptionalEmployee's Personal Email Address
addrOptionalEmployee's Street address 
addr2OptionalAdditional address information (Suite, Apt)
CityOptionalCity portion of employee's address
StateOptionalState portion of employee's address
ZipOptionalZip Code portion of employee's address
dobOptionalEmployee's birthday MM/DD/YYYY format
cellNumOptional9195551234 format
homePhoneOptional9195551234 format
workPhoneOptional9195551234 format
workExtOptionalEmployee's work Ext
hireDateOptionalEmployee's Hire Date MM/DD/YYYY format
seniorityDateOptionalFull time start date of an employee that was previously part time. MM/DD/YYYY format
cmpyIDOptionalCompany associated with the employee. If not used employee will be linked to the first company created in the system.
userSupOptionalEmail address of Employee's Supervisor
customfield_XXOptionalTo assign values to custom fields in a user record within VAIRKKO, use the following format: customfield_[custom field ID] = "value". For example, if the custom field has an ID of 99, and you want to set its value to "blue", you would use: customfield_99=blue

Example: https://api.vairkko.com/API/index.cfm/users/edit?PK=[Insert Your Partner Key]&CK=[Insert Client Key]&RF=JSON&BadgeID=ABC123&fname=John&lname=Doe........

Returns: Success: Status Code of 200 along with JSON String