Documentation :: TravelNurseSource.com

TravelNurseSource API v2.0

Jobs Data

The jobs endpoint is used to fetch job data from TravelNurseSource.

Fetch All Jobs

GET /api/v2.0/jobs.jsonxml

Sample Request

To get all jobs:

GET /api/v2.0/jobs.jsonxml

Sample Response

[
    {
        "referencenumber": "641bd94d822ca5",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalcode": "17603",
        "license": "RN",
        "specialty": "Cath Lab",
        "shift": "quasi",
        "payrate": "est",
        "positiontype": "aliquam",
        "duration": "est",
        "startdate": "1998-02-03",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "accusantium"
    }
]
<?xml version="1.0"?>
<jobs>
  <job>
    <referencenumber>98f4c993aba721a7e</referencenumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalcode>17603</postalcode>
    <license>LPN</license>
    <specialty>ER/Trauma</specialty>
    <shift>ipsam</shift>
    <payrate>modi</payrate>
    <positiontype>maxime</positiontype>
    <duration>voluptate</duration>
    <startdate>1970-07-01</startdate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>impedit</benefits>
  </job>
</jobs>

Fetch a Single Job

GET /api/v2.0/jobs.jsonxml/{id}

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
id Integer Yes The ID number of the job you want to fetch.

Sample Request

GET /api/v2.0/jobs.jsonxml/12345

Sample Response

[
    {
        "referencenumber": "b0eff0c281b70d9af8e",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalcode": "17603",
        "license": "LPN",
        "specialty": "Diabetes",
        "shift": "minus",
        "payrate": "consequatur",
        "positiontype": "molestias",
        "duration": "sunt",
        "startdate": "1994-01-30",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "a"
    }
]
<?xml version="1.0"?>
<jobs>
  <job>
    <referencenumber>ea6bb94fa0a240caa</referencenumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalcode>17603</postalcode>
    <license>LPN</license>
    <specialty>Orthopedics</specialty>
    <shift>voluptas</shift>
    <payrate>sequi</payrate>
    <positiontype>beatae</positiontype>
    <duration>cumque</duration>
    <startdate>1993-06-15</startdate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>fugit</benefits>
  </job>
</jobs>

Post Job(s)

POST /api/v2.0/jobs.jsonxml

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
referencenumber Alphanumeric Yes

Can be any combination of letters and numbers. Must be unique for each job.

This number is used to identify if our website already has a copy of this job. If it exists, we will update the existing job with any new information provided in your spreadsheet. If not, the job will be added as a new job. If you select the 'Deactivate' option, any jobs that were added by a previous imported spreadsheet that no longer appear in your current spreadsheet will be deactivated.

title String Yes

The title of your job posting.

city String No

The city where your job posting is located.

state USPS 2-letter abbreviation Yes

The state where your job posting is located.

postalcode USPS 5-digit ZIP code No

The zip code where your job posting is located.

license

One of the following values:

  • CNA
  • LPN
  • RN
Yes

What type of license a nurse applying to your job post needs to have. We use this to appropriately categorize your job.

specialty

One of the following values:

  • Admin/Mgmt
  • Antepartum
  • CVICU
  • CVOR
  • Case Manager
  • Cath Lab
  • Coronary Care
  • Diabetes
  • Dialysis
  • ER/Trauma
  • Endoscopy
  • Flight Nurse
  • Gastroenterology
  • Home Health
  • Hospice
  • ICU/Critical Care
  • Interventional Radiology
  • Labor/Delivery
  • Long-Term Care
  • Med/Surg
  • NICU
  • Neonatal
  • Neuro
  • OB/GYN
  • OR
  • Occupational
  • Oncology
  • Orthopedics
  • Other
  • PACU/Pre-Post Op
  • PCU
  • PICU
  • Pain Management
  • Pediatrics
  • Postpartum
  • Psych
  • RNFA
  • Radiology
  • Rehab
  • Stepdown
  • Telemetry
  • Wound/Ostomy
Yes

What specialty most accurately describes your job post. We use this to appropriately categorize your job.

If you have used our Specialty Mapping Tool, you may use any mapped term in addition to the ones on the left.

shift String No What shift your job posting is for.
payrate String No How much this position pays.
positiontype String No What type of position this is.
duration String No The duration of this job.
startdate Date No The date your position starts.
description String Yes The description of your job posting. Basic HTML tags are allowed.
requirements String No The minimum requirements a lead applying to your job posting must meet. Basic HTML tags are allowed.
benefits String No The benefits offered by this position. Basic HTML tags are allowed.

Sample Request

POST /api/v2.0/jobs.jsonxml
[
    {
        "referencenumber": "fa74af66b1170fd2e55b",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalcode": "17603",
        "license": "RN",
        "specialty": "Occupational",
        "shift": "numquam",
        "payrate": "et",
        "positiontype": "omnis",
        "duration": "fugit",
        "startdate": "1988-08-19",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "incidunt"
    }
]
<?xml version="1.0"?>
<jobs>
  <job>
    <referencenumber>d9fe5e11f478</referencenumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalcode>17603</postalcode>
    <license>LPN</license>
    <specialty>Other</specialty>
    <shift>harum</shift>
    <payrate>harum</payrate>
    <positiontype>fugit</positiontype>
    <duration>in</duration>
    <startdate>1975-05-30</startdate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>corrupti</benefits>
  </job>
</jobs>

Sample Response

{
	"unchanged":0,
	"updated":0,
	"added":1,
	"errors":0,
	"deleted":0
}
<?xml version="1.0"?>
<jobs>
	<unchanged>1</unchanged>
	<updated>0</updated>
	<added>0</added>
	<errors>0</errors>
	<deleted>0</deleted>
</jobs>

Delete a Single Job

DELETE /api/v2.0/jobs.jsonxml/{id}

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
id Integer Yes The ID number of the job you want to delete.

Sample Request

DELETE /api/v2.0/jobs.jsonxml/12345

Sample Response

{
	"unchanged":0,
	"updated":0,
	"added":0,
	"errors":0,
	"deleted":1
}
<?xml version="1.0"?>
<jobs>
	<unchanged>0</unchanged>
	<updated>0</updated>
	<added>0</added>
	<errors>0</errors>
	<deleted>1</deleted>
</jobs>

Delete Multiple Jobs

DELETE /api/v2.0/jobs.jsonxml

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
id Integer Yes The ID number of the job you want to delete.

Sample Request

DELETE /api/v2.0/jobs.jsonxml
[
	12345,
	123456
]
<?xml version="1.0" encoding="UTF-8"?>
<jobs>
	<job>4313401</job>
	<job>4313469</job>
</jobs>

Sample Response

{
	"unchanged":0,
	"updated":0,
	"added":0,
	"errors":0,
	"deleted":2
}
<?xml version="1.0"?>
<jobs>
	<unchanged>0</unchanged>
	<updated>0</updated>
	<added>0</added>
	<errors>0</errors>
	<deleted>2</deleted>
</jobs>

Delete One Job By Reference

DELETE /api/v2.0/jobs.jsonxml/reference/{id}

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
id String Yes The reference number of the job you want to delete.

Sample Request

DELETE /api/v2.0/jobs.jsonxml/reference/12345

Sample Response

{
	"unchanged":0,
	"updated":0,
	"added":0,
	"errors":0,
	"deleted":1
}
<?xml version="1.0"?>
<jobs>
	<unchanged>0</unchanged>
	<updated>0</updated>
	<added>0</added>
	<errors>0</errors>
	<deleted>1</deleted>
</jobs>

Delete Multiple Jobs By Reference

DELETE /api/v2.0/jobs.jsonxml/reference

Parameters

Parameter should be appended to the endpoint URL.

Field Format/Values Required Description
id String Yes The reference number of the job you want to delete.

Sample Request

DELETE /api/v2.0/jobs.jsonxml/reference
[
	"12345",
	"123456"
]
<?xml version="1.0" encoding="UTF-8"?>
<jobs>
	<job>reference number</job>
	<job>reference number</job>
</jobs>

Sample Response

{
	"unchanged":0,
	"updated":0,
	"added":0,
	"errors":0,
	"deleted":2
}
<?xml version="1.0"?>
<jobs>
	<unchanged>0</unchanged>
	<updated>0</updated>
	<added>0</added>
	<errors>0</errors>
	<deleted>2</deleted>
</jobs>