Documentation :: TravelNurseSource.com

TravelNurseSource API v2.0

Jobs Data

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

Fetch All Jobs

GET https://www.travelnursesource.com/api/v2.0/jobs.jsonxml

Sample Request

To get all jobs:

GET https://www.travelnursesource.com/api/v2.0/jobs.jsonxml

Sample Response

[
    {
        "referenceNumber": "91c2a9a9a6119c1873",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalCode": "17603",
        "license": "CNA",
        "specialty": "Interventional Radiology",
        "shift": "impedit",
        "payRate": "aut",
        "employmentType": "Part-Time",
        "positionType": "voluptatem",
        "duration": "qui",
        "startDate": "2014-10-02",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "sed"
    },
    {
        "referenceNumber": "665de1f2775ca0b64d3",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalCode": "17603",
        "license": "LPN",
        "specialty": "CVOR",
        "shift": "aut",
        "payRate": "unde",
        "employmentType": "Temporary",
        "positionType": "repudiandae",
        "duration": "quia",
        "startDate": "1972-01-31",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "omnis"
    }
]
<?xml version="1.0"?>
<jobs>
  <job>
    <referenceNumber>91c2a9a9a6119c1873</referenceNumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalCode>17603</postalCode>
    <license>CNA</license>
    <specialty>Interventional Radiology</specialty>
    <shift>impedit</shift>
    <payRate>aut</payRate>
    <employmentType>Part-Time</employmentType>
    <positionType>voluptatem</positionType>
    <duration>qui</duration>
    <startDate>2014-10-02</startDate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>sed</benefits>
  </job>
  <job>
    <referenceNumber>665de1f2775ca0b64d3</referenceNumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalCode>17603</postalCode>
    <license>LPN</license>
    <specialty>CVOR</specialty>
    <shift>aut</shift>
    <payRate>unde</payRate>
    <employmentType>Temporary</employmentType>
    <positionType>repudiandae</positionType>
    <duration>quia</duration>
    <startDate>1972-01-31</startDate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>omnis</benefits>
  </job>
</jobs>

Fetch a Single Job

GET https://www.travelnursesource.com/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 https://www.travelnursesource.com/api/v2.0/jobs.jsonxml/12345

Sample Response

{
    "referenceNumber": "3531fd0c2948d121",
    "title": "Job Title",
    "city": "Lancaster",
    "state": "PA",
    "postalCode": "17603",
    "license": "CNA",
    "specialty": "ICU/Critical Care",
    "shift": "consequatur",
    "payRate": "fuga",
    "employmentType": "Full-Time",
    "positionType": "debitis",
    "duration": "id",
    "startDate": "1979-10-27",
    "description": "Job Description",
    "requirements": "Job Requirements",
    "benefits": "non"
}
<?xml version="1.0"?>
<jobs>
  <job>
    <referenceNumber>3531fd0c2948d121</referenceNumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalCode>17603</postalCode>
    <license>CNA</license>
    <specialty>ICU/Critical Care</specialty>
    <shift>consequatur</shift>
    <payRate>fuga</payRate>
    <employmentType>Full-Time</employmentType>
    <positionType>debitis</positionType>
    <duration>id</duration>
    <startDate>1979-10-27</startDate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>non</benefits>
  </job>
</jobs>

Post Job(s)

POST https://www.travelnursesource.com/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

String

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

String

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.
employmentType

List

Any combination of the following values:

  • Full-Time
  • Part-Time
  • Temporary
  • Permanent
No

The type(s) of employment applicable for this job. You can include more than one type.

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 https://www.travelnursesource.com/api/v2.0/jobs.jsonxml
[
    {
        "referenceNumber": "223610393cf4",
        "title": "Job Title",
        "city": "Lancaster",
        "state": "PA",
        "postalCode": "17603",
        "license": "LPN",
        "specialty": "Radiology",
        "shift": "cumque",
        "payRate": "cum",
        "employmentType": "Part-Time",
        "positionType": "tenetur",
        "duration": "natus",
        "startDate": "1999-05-19",
        "description": "Job Description",
        "requirements": "Job Requirements",
        "benefits": "temporibus"
    }
]
<?xml version="1.0"?>
<jobs>
  <job>
    <referenceNumber>223610393cf4</referenceNumber>
    <title>Job Title</title>
    <city>Lancaster</city>
    <state>PA</state>
    <postalCode>17603</postalCode>
    <license>LPN</license>
    <specialty>Radiology</specialty>
    <shift>cumque</shift>
    <payRate>cum</payRate>
    <employmentType>Part-Time</employmentType>
    <positionType>tenetur</positionType>
    <duration>natus</duration>
    <startDate>1999-05-19</startDate>
    <description>Job Description</description>
    <requirements>Job Requirements</requirements>
    <benefits>temporibus</benefits>
  </job>
</jobs>

Sample Response

{
    "unchanged": 0,
    "updated": 0,
    "added": 1,
    "deleted": 0,
    "errors": 0,
    "errorMessages": {
        "missingErrors": {
            "errors": []
        },
        "invalidErrors": {
            "errors": []
        },
        "duplicationErrors": {
            "errors": []
        },
        "limitErrors": {
            "errors": []
        }
    }
}
<?xml version="1.0"?>
<jobs>
  <unchanged>0</unchanged>
  <updated>0</updated>
  <added>1</added>
  <deleted>0</deleted>
  <errors>0</errors>
  <errorMessages>
    <missingErrors>
      <errors/>
    </missingErrors>
    <invalidErrors>
      <errors/>
    </invalidErrors>
    <duplicationErrors>
      <errors/>
    </duplicationErrors>
    <limitErrors>
      <errors/>
    </limitErrors>
  </errorMessages>
</jobs>

Delete a Single Job

DELETE https://www.travelnursesource.com/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 https://www.travelnursesource.com/api/v2.0/jobs.jsonxml/12345

Sample Response

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

Delete Multiple Jobs

DELETE https://www.travelnursesource.com/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 https://www.travelnursesource.com/api/v2.0/jobs.jsonxml
[
    12345,
    123456
]
<?xml version="1.0"?>
<jobs>
  <job>12345</job>
  <job>123456</job>
</jobs>

Sample Response

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

Delete One Job By Reference

DELETE https://www.travelnursesource.com/api/v2.0/jobs.jsonxml/reference/{referenceNumber}

Parameters

Parameter should be appended to the endpoint URL.

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

Sample Request

DELETE https://www.travelnursesource.com/api/v2.0/jobs.jsonxml/reference/12345

Sample Response

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

Delete Multiple Jobs By Reference

DELETE https://www.travelnursesource.com/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 https://www.travelnursesource.com/api/v2.0/jobs.jsonxml/reference
[
    12345,
    123456
]
<?xml version="1.0"?>
<jobs>
  <job>12345</job>
  <job>123456</job>
</jobs>

Sample Response

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