How to pass Too Many type fields in BH Rest API while Push record.

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
ashishM
User
Posts: 28
Joined: Tue May 03, 2016 2:28 am

How to pass Too Many type fields in BH Rest API while Push record.

Post by ashishM » Fri Apr 06, 2018 9:29 am

Hello all,
I am trying to pass the "Too Many type" field to BH Rest API while pushing the record but I am not able to do that.
Here I am below posting format of my BH rest API

{
"owner": {
"id": "2"
},
"clientCorporation": {
"id": "1126"
},
"email": "4620182@gmail.com",
"firstName": "testPushDataFname",
"lastName": "testPushDataLname",
"name": "testPushDataFname testPushDataLname",
"occupation": "",
"mobile": "",
"massMailOptOut": false,
"businessSectors":{
"data":[
{
"id":1100016,
"name": "Building & Construction"
},
{
"id": 1100001,
"name": "Automotive"
}
]
}

}

& response which I getting is as below.

{
"changedEntityType": "ClientContact",
"changedEntityId": 10859,
"changeType": "INSERT",
"messages": [
{
"propertyName": "businessSectors",
"severity": "WARNING",
"type": "ATTEMPT_TO_SET_TO_MANY"

}
],
"data": {
"owner": {
"id": "2"
},
"clientCorporation": {
"id": "1126"
},
"email": "4620182@gmail.com",
"firstName": "testPushDataFname",
"lastName": "testPushDataLname",
"name": "testPushDataFname testPushDataLname",
"occupation": "",
"mobile": "",
"massMailOptOut": false,
"businessSectors": {
"data": [
{
"id": 1100016,
"name": "Building & Construction"
},
{
"id": 1100001,
"name": "Automotive"
}
]
}
}
}

for this, I am using Postman
Please provide me the solution to this.Thanks in advance.

Post Reply