Skip to content

Submits a feature rating (or product-level comment) for the caller. Accepted with the caller's own license-session token — the same credential they activated with — so an end user can rate what they use with no account, admin credential, or separate sign-in.

POST
/api/v1/provision/consumer/me/rating
curl --request POST \
--url https://example.com/api/v1/provision/consumer/me/rating \
--header 'Content-Type: application/json' \
--data '{ "sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "productId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "featureId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "featureCode": "example", "rating": 1, "remark": "example" }'

Rating payload; its SessionId must belong to the caller.

Consumer request to submit a rating/remark for a feature, tied to the caller’s license session.

object
sessionId
string format: uuid
productId
string format: uuid
featureId

Rated feature; Guid.Empty submits product-level “other” feedback.

string format: uuid
featureCode
string
rating

Score in the range 1–5; null for a comment-only submission.

null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
remark
string
Examplegenerated
{
"sessionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"productId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"featureId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"featureCode": "example",
"rating": 1,
"remark": "example"
}

OK

Bad Request

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

Unauthorized

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

Forbidden

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string