v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Resource Employment History

Executes the Add action for the Resource Employment History data object.

Adds a new Resource Employment History record

post/direct/subscribers/{subscriber_code}/vista/hr/2/data/resource_emp_history/actions/add

Path parameters

subscriber_codestring required

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

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

HRCointeger required

key(HRCo, HRRef, Seq)

HRRefinteger required

key(HRCo, HRRef, Seq)

Seqinteger

key(HRCo, HRRef, Seq). Optional. If omitted, will be defaulted to the next Seq value for this HRco, HRRef tuple.

DateChangedstring

Format: YYYY-MM-DD. Optional. If omitted, today's date will be defaulted.

Type'H' | 'N' | 'P' required

Key to hr/codes(HRCo, Code, Type). Options: H-History, N-Reason, P-Position

Codestring required

Key to hr/codes(HRCo, Code, Type). Must be a valid code for the Type entered.

Supervisorstring nullable
Notesstring nullable
__custom_fieldsobject

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.

Response

Success

idstring
operationstring
statusstring