Executes the Add action for the Crafts data object.

Adds a new record to the Payroll Craft program

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The code of the subscriber that you are making this request for.

Body Params
integer
required
string
required
length ≤ 10
string | null
string | null
string | null
string | null
string | null
string
required
string | null
integer | null
integer | null
integer | null
string | null
integer | null
string | null
[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
string
enum
required
Allowed:
string | null
^[-+]?[0-9]{1,8}(?:.[0-9]{1,2})?$
string | null
string | null
__custom_fields
object

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

Classes
array of objects

Classes associated with the craft.

Classes
AddonEarnings
array of objects

Addon Earnings associated with the craft.

AddonEarnings
DednLIabs
array of objects

Deductions/Liabilities associated with the craft.

DednLIabs
CappedCodes
array of objects

Capped Codes associated with the craft.

CappedCodes
CappedBasis
array of objects

Capped Basis codes associated with the craft.

CappedBasis
Holidays
array of objects

Holidays associated with the craft.

Holidays
Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json