How do we get the email notification fields of Note Entity using Rest API?

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
mahadev
User
Posts: 26
Joined: Fri Jun 21, 2019 8:03 am

How do we get the email notification fields of Note Entity using Rest API?

Post by mahadev »

Hi Team ,
I tried to get the email notification fields using Rest API. I used below API to get all fields of Note entity but Bullhorn didn't return the email notification fields . Can you help me to get the email notification fields of Note ?

Code: Select all

https://rest91.bullhornstaffing.com/rest-services/1s2o10/meta/Note?meta=full&fields=*&BhRestToken=<token>
Response :

Code: Select all

{
    "entity": "Note",
    "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Note?fields=*",
    "label": "Note",
    "dateLastModified": "1587444677830",
    "layouts": [
        {
            "name": "ListExpandedCenter",
            "label": "List - Expanded Center",
            "enabled": false
        },
        {
            "name": "ListExpandedLeft",
            "label": "List - Expanded Left",
            "enabled": true
        },
        {
            "name": "ListExpandedRight",
            "label": "List - Expanded Right",
            "enabled": false
        },
        {
            "name": "ListRow",
            "label": "List - Row",
            "enabled": true
        },
        {
            "name": "ListRowCompany",
            "label": "List - Row (Company)",
            "enabled": true
        },
        {
            "name": "Mobile Details",
            "label": "Mobile Details Layout",
            "enabled": true
        },
        {
            "name": "Mobile Edit",
            "label": "Mobile Edit Layout",
            "enabled": true
        }
    ],
    "fields": [
        {
            "name": "id",
            "type": "ID",
            "dataType": "Integer",
            "optional": false
        },
        {
            "name": "action",
            "type": "SCALAR",
            "dataType": "String",
            "maxLength": 30,
            "confidential": false,
            "optional": true,
            "label": "Action",
            "required": false,
            "readOnly": false,
            "multiValue": true,
            "inputType": "SELECT",
            "options": [
                {
                    "value": "Note CALL",
                    "label": "Note CALL"
                },
                {
                    "value": "Prescreen",
                    "label": "Prescreen"
                },
                {
                    "value": "Outbound",
                    "label": "Outbound"
                },
                {
                    "value": "WWW",
                    "label": "WWW"
                },
                {
                    "value": "Testing Maha",
                    "label": "Testing Maha"
                },
                {
                    "value": "Tesssst",
                    "label": "Tesssst"
                },
                {
                    "value": "FieldMap",
                    "label": "FieldMap"
                }
            ],
            "defaultValue": "Note CALL",
            "hideFromSearch": false,
            "sortOrder": 40,
            "hint": "",
            "description": "",
            "systemRequired": false
        },
        {
            "name": "bhTimeStamp",
            "type": "SCALAR",
            "dataType": "byte[]",
            "confidential": false,
            "optional": false,
            "label": "Bh Time Stamp",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "candidates",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Candidates",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "Candidate",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/Candidate",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Candidate",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Candidate?fields=*",
                "label": "Candidate",
                "dateLastModified": "1587442030155",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Candidate Name FN",
                        "required": true,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 210,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Candidate Name LN",
                        "required": true,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 220,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "clientContacts",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Client Contacts",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "ClientContact",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/ClientContact",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "ClientContact",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/ClientContact?fields=*",
                "label": "Contact",
                "dateLastModified": "1587442030076",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Contact FN",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 100,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Contact  LN",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 20,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "commentingPerson",
            "type": "TO_ONE",
            "dataSpecialization": "SYSTEM",
            "confidential": false,
            "optional": false,
            "label": "Author",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "optionsType": "Person",
            "optionsUrl": "http://rest91.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": "",
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Person",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Person?fields=*",
                "label": "Person",
                "dateLastModified": "1587442026255",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "First Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Last Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "comments",
            "type": "SCALAR",
            "dataType": "String",
            "maxLength": 2147483647,
            "confidential": false,
            "optional": false,
            "label": "Comments",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "inputType": "TEXTAREA",
            "hideFromSearch": false,
            "sortOrder": 60,
            "hint": "",
            "description": "",
            "systemRequired": false
        },
        {
            "name": "corporateUsers",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Corporate Users",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "CorporateUser",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/CorporateUser",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "CorporateUser",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/CorporateUser?fields=*",
                "label": "Corporate User",
                "dateLastModified": "1587451628002",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "First Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Last Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "dateAdded",
            "type": "SCALAR",
            "dataType": "Timestamp",
            "dataSpecialization": "DATE",
            "confidential": false,
            "optional": false,
            "label": "Due Date",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "sortOrder": 10,
            "hint": "",
            "description": "",
            "systemRequired": false
        },
        {
            "name": "dateLastModified",
            "type": "SCALAR",
            "dataType": "Timestamp",
            "confidential": false,
            "optional": true,
            "label": "Date Last Modified",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "entities",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Entities",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "NoteEntity",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/NoteEntity",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "NoteEntity",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/NoteEntity?fields=*",
                "label": "Note Entity",
                "dateLastModified": "1587444680071",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    }
                ]
            }
        },
        {
            "name": "externalID",
            "type": "SCALAR",
            "dataType": "String",
            "maxLength": 100,
            "confidential": false,
            "optional": true,
            "label": "External ID",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "isDeleted",
            "type": "SCALAR",
            "dataType": "Boolean",
            "confidential": false,
            "optional": false,
            "label": "Is Deleted",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "jobOrder",
            "type": "TO_ONE",
            "confidential": false,
            "optional": true,
            "label": "Job Order",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "optionsType": "JobOrder",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/JobOrder",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "JobOrder",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/JobOrder?fields=*",
                "label": "Job",
                "dateLastModified": "1587452856611",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "title",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 100,
                        "confidential": false,
                        "optional": true,
                        "label": "Job Title",
                        "required": true,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 10,
                        "hint": " ",
                        "description": " ",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "jobOrders",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Job Orders",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "JobOrder",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/JobOrder",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "JobOrder",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/JobOrder?fields=*",
                "label": "Job",
                "dateLastModified": "1587452856611",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "title",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 100,
                        "confidential": false,
                        "optional": true,
                        "label": "Job Title",
                        "required": true,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 10,
                        "hint": " ",
                        "description": " ",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "leads",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Leads",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "Lead",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/Lead",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Lead",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Lead?fields=*",
                "label": "Lead",
                "dateLastModified": "1587442030058",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "First Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 10,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Last Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 20,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "migrateGUID",
            "type": "SCALAR",
            "dataType": "String",
            "maxLength": 36,
            "confidential": false,
            "optional": true,
            "label": "Migrate GUID",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "minutesSpent",
            "type": "SCALAR",
            "dataType": "Integer",
            "dataSpecialization": "INTEGER",
            "confidential": false,
            "optional": true,
            "label": "Time Spent (min)",
            "required": true,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "sortOrder": 50,
            "hint": "",
            "description": "",
            "systemRequired": false
        },
        {
            "name": "opportunities",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Opportunities",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "Opportunity",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/Opportunity",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Opportunity",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Opportunity?fields=*",
                "label": "Opportunity",
                "dateLastModified": "1587452987232",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "title",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 100,
                        "confidential": false,
                        "optional": true,
                        "label": "Title",
                        "required": true,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "sortOrder": 10,
                        "hint": "",
                        "description": "",
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "people",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "People",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "Person",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/Person",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Person",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Person?fields=*",
                "label": "Person",
                "dateLastModified": "1587442026255",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "First Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Last Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "personReference",
            "type": "TO_ONE",
            "confidential": false,
            "optional": false,
            "label": "About",
            "required": true,
            "readOnly": false,
            "multiValue": false,
            "inputType": "SELECT",
            "optionsType": "External",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/External",
            "hideFromSearch": false,
            "sortOrder": 30,
            "hint": "Bullhorn",
            "description": "",
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Person",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Person?fields=*",
                "label": "Person",
                "dateLastModified": "1587442026255",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    },
                    {
                        "name": "firstName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "First Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    },
                    {
                        "name": "lastName",
                        "type": "SCALAR",
                        "dataType": "String",
                        "maxLength": 50,
                        "confidential": false,
                        "optional": true,
                        "label": "Last Name",
                        "required": false,
                        "readOnly": false,
                        "multiValue": false,
                        "hideFromSearch": false,
                        "systemRequired": false
                    }
                ]
            }
        },
        {
            "name": "placements",
            "type": "TO_MANY",
            "confidential": false,
            "optional": true,
            "label": "Placements",
            "required": false,
            "readOnly": true,
            "multiValue": false,
            "optionsType": "Placement",
            "optionsUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/options/Placement",
            "hideFromSearch": false,
            "systemRequired": false,
            "associatedEntity": {
                "entity": "Placement",
                "entityMetaUrl": "http://rest91.vip.bos.bullhorn.com/rest-services/1s2o10/meta/Placement?fields=*",
                "label": "Placement",
                "dateLastModified": "1587452987464",
                "fields": [
                    {
                        "name": "id",
                        "type": "ID",
                        "dataType": "Integer",
                        "optional": false
                    }
                ]
            }
        },
        {
            "name": "primaryDepartmentName",
            "type": "SCALAR",
            "dataType": "String",
            "maxLength": 0,
            "confidential": false,
            "optional": true,
            "label": "Primary Department Name",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        },
        {
            "name": "truestDateAdded",
            "type": "SCALAR",
            "dataType": "Timestamp",
            "confidential": false,
            "optional": true,
            "label": "Truest Date Added",
            "required": false,
            "readOnly": false,
            "multiValue": false,
            "hideFromSearch": false,
            "systemRequired": false
        }
    ]
}
Bullhorn.png
Bullhorn.png (38.74 KiB) Viewed 240 times

lciastko
User
Posts: 15
Joined: Wed Feb 26, 2020 12:17 pm

Re: How do we get the email notification fields of Note Entity using Rest API?

Post by lciastko »

Hey there,

Unfortunately, there is not a way to access the Email Notification Fields of any entity (including notes) using REST API.

You can only use the API to get a list of email addresses and then send it through an external client.

Hope this helps!
Lindsay

Post Reply