Get Rule
Get a customer rule by its id.
Request
URI
GET
https://{api_host}/rules/{id}
COPY
Path Parameters
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"
}
string
name
Optional
name
string
targetId
Optional
targetId
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