Get advanced search attributes
get
/api/v4/search/attributes/{objectType}
Versions Supported:
v4
Request
Path Parameters
-
objectType: string
Specify the type of object in DaaS; for example,company,contact.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success
Nested Schema : AdvanceSearchAttrInfo
Type:
Show Source
object-
attributeDisplayName(optional):
string
-
attributeName(optional):
string
-
defaultOperator(optional):
string
Allowed Values:
[ "BW", "CO", "EQ", "EW", "GT", "GTE", "IN", "LT", "LTE", "NOTBW", "NOTCO", "NOTEQ", "NOTIN", "NOTNULL", "SW" ] -
isautosuggest(optional):
boolean
-
isInternal(optional):
boolean
-
operators(optional):
array operators
-
pickList(optional):
array pickList
-
targetAttributeName(optional):
string
Nested Schema : operators
Type:
Show Source
array-
Array of:
string
Allowed Values:
[ "BW", "CO", "EQ", "EW", "GT", "GTE", "IN", "LT", "LTE", "NOTBW", "NOTCO", "NOTEQ", "NOTIN", "NOTNULL", "SW" ]
404 Response
Requested resource could not be found.
500 Response
An unexpected error occurred during the request.
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