Application Load

ICustomerTicketRatingRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

ICustomerTicketRatingRequest

Put ticket_id in the URL and rating at the JSON root.

interfaces/orionplace/tickets/ICustomerTicketApi.ts
TypeScript
export interface ICustomerTicketRatingRequest {
  // Whole number from 0 to 5. A repeated rating replaces the previous one.
  rating: number;
}