curl --request POST \
--url https://cool.jobmojito.com/functions/v1/merchant-application-move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_position_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pre_screening": "rescore",
"close_application": true,
"message": "<string>",
"notify_candidate": true
}
'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-application-move"
payload = {
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_position_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pre_screening": "rescore",
"close_application": True,
"message": "<string>",
"notify_candidate": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
application_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
target_position_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
start_step_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
pre_screening: 'rescore',
close_application: true,
message: '<string>',
notify_candidate: true
})
};
fetch('https://cool.jobmojito.com/functions/v1/merchant-application-move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cool.jobmojito.com/functions/v1/merchant-application-move",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'application_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'target_position_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'start_step_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'pre_screening' => 'rescore',
'close_application' => true,
'message' => '<string>',
'notify_candidate' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cool.jobmojito.com/functions/v1/merchant-application-move"
payload := strings.NewReader("{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cool.jobmojito.com/functions/v1/merchant-application-move")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-application-move")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}"
response = http.request(request)
puts response.read_body{
"application_id": "<string>",
"moved_from_application_id": "<string>",
"start_step_id": "<string>",
"start_step_type": "<string>",
"skipped_steps": 123,
"pre_screening": "rescored",
"previous_application_closed": true,
"candidate_notified": true
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Move an application to another position
Moves a candidate’s application to another position of the company, for a candidate who fits it better. A new application is created for the target, starting at the step you choose (by default the first one after the pre-screening); the steps before it are recorded as skipped. The old application is closed as not selected (no rejection e-mail) unless close_application is false, and both are linked. The candidate is e-mailed once (“Your application has moved”, with your message) unless notify_candidate is false. There is no preview. Not for positions linked to an ATS job (move the application in the ATS). Owners and recruiters with access to both positions; hiring managers read only.
curl --request POST \
--url https://cool.jobmojito.com/functions/v1/merchant-application-move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_position_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pre_screening": "rescore",
"close_application": true,
"message": "<string>",
"notify_candidate": true
}
'import requests
url = "https://cool.jobmojito.com/functions/v1/merchant-application-move"
payload = {
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_position_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pre_screening": "rescore",
"close_application": True,
"message": "<string>",
"notify_candidate": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
application_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
target_position_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
start_step_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
pre_screening: 'rescore',
close_application: true,
message: '<string>',
notify_candidate: true
})
};
fetch('https://cool.jobmojito.com/functions/v1/merchant-application-move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cool.jobmojito.com/functions/v1/merchant-application-move",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'application_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'target_position_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'start_step_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'pre_screening' => 'rescore',
'close_application' => true,
'message' => '<string>',
'notify_candidate' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cool.jobmojito.com/functions/v1/merchant-application-move"
payload := strings.NewReader("{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cool.jobmojito.com/functions/v1/merchant-application-move")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cool.jobmojito.com/functions/v1/merchant-application-move")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"application_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_position_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"start_step_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"pre_screening\": \"rescore\",\n \"close_application\": true,\n \"message\": \"<string>\",\n \"notify_candidate\": true\n}"
response = http.request(request)
puts response.read_body{
"application_id": "<string>",
"moved_from_application_id": "<string>",
"start_step_id": "<string>",
"start_step_type": "<string>",
"skipped_steps": 123,
"pre_screening": "rescored",
"previous_application_closed": true,
"candidate_notified": true
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}{
"error": "Field is required.",
"name": "interview_result_id"
}Body
The step of the target position to start at (position_def_step.id, from get_interview_definition with include=process). Left out or null: the first step after the pre-screening (the first step when the process has no pre-screening, the pre-screening when it is the only step). The steps before it are recorded as skipped ("Moved from "); the candidate gets no e-mail for them.
When the target's pre-screening is one of the skipped steps: rescore copies the candidate's CV from this application into it and scores it against the target (the step stays skipped; one pre-screening credit), skip records it as skipped only. A form-only pre-screening is never re-scored.
rescore, skip Response
The new application.
rescored: the CV is being scored against the target; skipped: the target's pre-screening was skipped without a score (asked, no CV, or a form); none: the target has no pre-screening before the start; start: the candidate starts at the target's pre-screening.
rescored, skipped, none, start