Not able to generate access token using Referece Token - 02289277

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Note meta api issue

Postby senthur123 » Mon Jun 05, 2017 8:55 am

Issue API : https://rest2.bullhornstaffing.com/rest ... 16fxxxxx...
Issue Details:
For the Note meta API we get the invalid options for Author(commentingPerson) . Please see the below json values.Why this is happning ?
{
    "name" : "commentingPerson",
    "type" : "TO_ONE",
    "dataSpecialization" : "SYSTEM",
    "confidential" : false,
    "optional" : false,
    "label" : "Author",
    "required" : false,
    "readOnly" : false,
    "multiValue" : false,
    "optionsType" : "Person",
    "optionsUrl" : "http://rest2.vip.bos.bullhorn.com/rest-services/1s2o10/options/Person",
    "options" : [ {
      "value" : "note-one",
      "label" : "note-one"
    }, {
      "value" : "",
      "label" : ""
    }, {
      "value" : "note-two",
      "label" : "note-two"
    }, {
      "value" : "",
      "label" : ""
    }, {
      "value" : "note-three",
      "label" : "note-three"
    } ],
    "hideFromSearch" : false,
    "sortOrder" : 20,
    "hint" : "",
    "description" : "",
    "associatedEntity" : {
      "entity" : "Person",
      "entityMetaUrl" : "http://rest2.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Person?fields=*",
      "label" : "Person",
      "dateLastModified" : "1496645366738",
      "fields" : [ {
        "name" : "id",
        "type" : "ID",
        "dataType" : "Integer",
        "optional" : false
      }, {
        "name" : "_subtype",
        "type" : "SCALAR",
        "dataType" : "String",
        "maxLength" : 255,
        "optional" : true
      }, {
        "name" : "firstName",
        "type" : "SCALAR",
        "dataType" : "String",
        "maxLength" : 50,
        "confidential" : false,
        "optional" : true,
        "label" : "First Name",
        "required" : false,
        "readOnly" : false,
        "multiValue" : false,
        "hideFromSearch" : false
      }, {
        "name" : "lastName",
        "type" : "SCALAR",
        "dataType" : "String",
        "maxLength" : 50,
        "confidential" : false,
        "optional" : true,
        "label" : "Last Name",
        "required" : false,
        "readOnly" : false,
        "multiValue" : false,
        "hideFromSearch" : false
      } ]
    }
--
Thanks
Senthur Pandi.S

senthur123
User
Posts: 20
Joined: Wed Jul 13, 2016 1:57 am

Option url not working

Postby senthur123 » Wed Jun 14, 2017 6:37 am

Hi Team,
We are unable to proceed following Option URL in BH REST call. Please provide your thought.

URL: https://rest2.bullhornstaffing.com/rest ... Token=.....
Response:
{
"errorMessage" : "Unknown optionsType: 'JobSubmission'",
"errorCode" : 400
}
--
Thanks
Senthur Pandi.S

pmularski
Bullhorn Support Staff
Posts: 858
Joined: Wed Dec 31, 1969 8:00 pm

Re: Not able to generate access token using Referece Token - 02289277

Postby pmularski » Tue Jun 20, 2017 1:41 pm

Good Afternoon Senthur123,

The error message associated with your URL indicates that your REST token has expired. Are you able to refresh your session?
Patrick Mularski
Senior Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
Bullhorn Support Contact Numbers
US: 617-478-9126
UK: 44 800 032 2848
Australia: 61 28 073 5089
International: 617-478-9131


Return to “REST API”

Who is online

Users browsing this forum: Google [Bot] and 2 guests