Get filters by accessLevel
Requires List of Key-Value pairs of AccessLevelKey and AccessLevelValue
ApiScope: manage.filter.read
API Scope Level: DealerScope
Path Parameters
ServiceSubscriberDealer string required
unique identifier for a dealer
source string required
source name of the filter
Query Parameters
mongoCollection string required
Possible values: [MANAGE_USER
, MANAGE_AUTOMATED_TEMPLATE
, OPCODES_AND_DEALER_MENUS
, FACTORY_MENUS_AND_LINE_ITEMS
]
application/json
Request Body required
accessLevelKeyLevelMap object
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
filters object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"filters": [
{
"uuid": "string",
"name": "string",
"sourceName": "string",
"ownerDealerAssociateName": "string",
"ownerDealerAssociateUuid": "string",
"accessLevelKey": "GROUP",
"accessLevelValue": "string",
"filterValues": {},
"isDefault": true
}
]
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
filters object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"filters": [
{
"uuid": "string",
"name": "string",
"sourceName": "string",
"ownerDealerAssociateName": "string",
"ownerDealerAssociateUuid": "string",
"accessLevelKey": "GROUP",
"accessLevelValue": "string",
"filterValues": {},
"isDefault": true
}
]
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
POST /v2/filter/:ServiceSubscriberDealer/source/:source
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
python / requests
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
go / native
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
nodejs / axios
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
ruby / Net::HTTP
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
csharp / RestSharp
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
php / cURL
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
java / OkHttp
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'
powershell / RestMethod
curl -L -X POST '/manage/v2/filter/:ServiceSubscriberDealer/source/:source' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accessLevelKeyLevelMap": {}
}'