TrackerRMS Help

Your one-stop shop for help on TrackerRMS

Back to Topics

Help Topic: resourceApplication


resourceApplication

POST

/api/widget/resourceApplication

Able to send a payload of data to the api in order to assign a resource (Candidate) to any Job on either the long or shortlist as either an application event (Applied) or shortlist event (Shortlisted).

Sample Request:

{
    "trackerrms": {
        "resourceApplication": {
            "credentials": {
                "username": "",
                "password": "",
                "oauthtoken": "",
                "apikey": ""
            },
            "instructions": {
                "opportunityid": "2482",
                "resourceid": "24562",
                "assigntolist": "short",
                "shortlistedby": "user",
                "source": "Website"
            }
        }
    }
}

 

Sample Response:

{
   "status": 0,
   "message": "success",
   "count": 0
}

Response status codes:

0

success (message will be “created” or “updated”)

1

user not found

2

user not active

3

record found and cannot be overwritten

99

Invalid request

 

Assign to List options:

short

Assign to the Shortlist

long

Assign to the Longlist

 

Shortlisted by options:

user

Set the status based on being shortlisted by a User

resource

Set the status based on being shortlisted by a Candidate