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
const url = 'https://example.com/api/v1/provision/consumer/me/rating';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"sessionId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","productId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","featureId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","featureCode":"example","rating":1,"remark":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Request Bodyrequired
Section titled “Request Bodyrequired”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
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"}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
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"}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
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"}Responses
Section titled “Responses”OK
Bad Request
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Unauthorized
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
null | string
title
null | string
status
null | integer | string format: int32
detail
null | string
instance
null | string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}