Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Get a list of feedback by service Id

Description

The GetByServiceId() method is used to get a list of feedback for a service.

Package Details

Interface

IFeedbackManager

Syntax

await _feedbackManager.GetByServiceId(int serviceId, int page, int pageSize)

Returns

Task<ICollection<Feedback>>

API

GET
/api/v1/feedback/services/{serviceId}?page={page}&pageSize={pageSize}

Parameter

Description

Parameter Type

serviceId

The service Id to search for

Path

page (optional)

Specify the page to retrieve. Default value is 1

Query string

pageSize (optional)

Set the number of feedback per page. Default value is 25

Query string

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

var serviceId = 1;
var feedback = await _feedbackManager.GetByServiceId(serviceId));
  • No labels