v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Resource Employment History

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

Changes an existing Resource Employment History record

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

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

DateChangedstring

Format: YYYY-MM-DD. Optional. If omitted, the existing value will persist.

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

Key to hr/codes(HRCo, Code, Type). Options: H-History, N-Reason, P-Position. Optional. If omitted, the existing value will persist.

Codestring

Key to hr/codes(HRCo, Code, Type). Must be a valid code for the Type entered. Optional. If omitted, the existing value will persist.

Supervisorstring nullable

Optional. If omitted, the existing value will persist.

Notesstring nullable

Optional. If omitted, the existing value will persist.

__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