Return attributes for a source
get
/api/{version}/mapping/attributes/{source}
Versions Supported:
v4
Request
Path Parameters
-
source: string
The type of attributes to be retrieved; for example, daas, fcrm.
Query Parameters
-
attributetype: string
-
ignoresubscription: boolean
-
inActive: string
-
mapMode: string
-
object: string
Specify the type of object in DaaS; for example, company.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success
Nested Schema : CatalogAttributes
Type:
Show Source
object
-
active(optional):
string
-
attributeDisplayName(optional):
string
-
attributeId(optional):
integer(int64)
-
attributeMsgKey(optional):
string
-
attributeName(optional):
string
-
isautosuggest(optional):
boolean
-
objectName(optional):
string
-
operations(optional):
array operations
-
pickListValues(optional):
array pickListValues
-
searchReturn(optional):
boolean
-
tierLevel(optional):
string
Nested Schema : operations
Type:
Show Source
array
-
Array of:
string
Allowed Values:
[ "BETWEEN", "CONTAINS", "DOESNOTEXIST", "ENDSWITH", "EQUALS", "EXISTS", "GREATERTHAN", "GREATERTHANEQUALS", "ISBLANK", "ISNOTBLANK", "LESSTHAN", "LESSTHANEQUALS", "LIKE", "NOTBETWEEN", "RANGE", "STARTSWITH" ]
404 Response
Requested resource could not be found.
500 Response
An unexpected error occurred during request.
Examples
Example Request:
/api/v4/mapping/attributes/daas?object=COMPANY
Example Output:
{ "catalogAttributes": [{ "attributeDisplayName": "Company ID", "attributeId": "11385", "attributeName": "id", "objectName": "COMPANY", "tierLevel": "STANDARD" }, { "attributeDisplayName": "Business Name", "attributeId": "11386", "attributeName": "name.display_name", "objectName": "COMPANY", "tierLevel": "STANDARD" }, { "attributeDisplayName": "OrganizationType", "attributeId": "11387", "attributeName": "info.organization_type", "objectName": "COMPANY", "tierLevel": "STANDARD" }, ...] }
Error Response Details:
{"errorMessage": "DCS-1 : The version of the service is not supported. Action: Provide the supported version for accessing the service." }Back to Top