end point batch import

PHOTO EMBED

Mon Dec 27 2021 20:37:23 GMT+0000 (UTC)

Saved by @mathiasVDD #javascript

(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {

    // implement resource here
	// Invoke the script include that will mutate the response
    var batch = new global.BatchImport(request, response);
	var requestBody = request.body;
	var ticketData = requestBody.data;
	gs.log("***** Nowjobs backoffice api data: " + JSON.stringify(ticketData));
	//gs.log('body length: ' + request.body.data.u_backoffice_candidate.length);
	//if(!request.body.data.u_bo_contact_imp)
		//gs.log('geen contacten');
    batch.process();

})(request, response);
content_copyCOPY