Get advanced search attributes

get

/api/v4/search/attributes/{objectType}

Versions Supported:

v4

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : advanceSearchAttributes
Type: array
Show Source
Nested Schema : AdvanceSearchAttrInfo
Type: object
Show Source
Nested Schema : operators
Type: array
Show Source
  • Allowed Values: [ "BW", "CO", "EQ", "EW", "GT", "GTE", "IN", "LT", "LTE", "NOTBW", "NOTCO", "NOTEQ", "NOTIN", "NOTNULL", "SW" ]
Nested Schema : pickList
Type: array
Show Source
Nested Schema : Lookup
Type: object
Show Source

404 Response

Requested resource could not be found.

500 Response

An unexpected error occurred during the request.
Back to Top

Examples

Example Request:

/api/v4/search/attributes/company

Example Output:

 {
   "advanceSearchAttributes": [
     {
 	  "attributeDisplayName": "Location Type",
       "attributeName": "company.status_ind",
       "defaultOperator": "EQ",
       "operators": [
         "EQ",
         "NOTEQ",
         "NOTNULL"
       ],
       "pickList": [
         {
           "displayValue": "Single Location",
           "value": "0"
         },
         {
           "displayValue": "Headquarters",
           "value": "1"
         },
         {
           "displayValue": "Branch",
           "value": "2"
         }
       ],
       "isautosuggest": "false"
     },
     {
       "attributeDisplayName": "Global Ultimate Business Name",
       "attributeName": "company.gl_ult_nam",
       "defaultOperator": "CO",
       "operators": [
         "SW",
         "CO",
         "NOTCO",
         "NOTIN",
         "NOTNULL"
       ],
       "isautosuggest": "true"
     }
   ]
  }
Back to Top