Get Rule

Get Rule

Get a customer rule by its id.

Request
URI
GET
https://{api_host}/rules/{id}
COPY
Path Parameters
id
Required

The id(UUID) of a customer rule

Header Parameters
string
sessionid
Required

The authentication token obtained from login API response


Responses
200

OK

Returns GetRuleResponse of type(s) application/json
{
    "productType": "string",
    "productId": 0,
    "name": "string",
    "targetId": "string",
    "targetType": "string",
    "id": "string"
}
productType
Optional

productType

productId
Optional

productId

string
name
Optional

name

string
targetId
Optional

targetId

targetType
Optional

targetType

id
Optional

id


401
Returns 401Unauthorized_sessionID of type(s) application/json
{
    "errCode": "GW_LOGIN_REQUIRED",
    "errMessage": "Your session not found or already expired. Please login"
}
string
errCode
Optional

errCode

string
errMessage
Optional

errMessage