> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Support Satisfaction Rating

> Rates a resolved support case.



## OpenAPI

````yaml /api-reference/customer/openapi.json post /api/v1/customer/support-cases/{supportCaseId}/satisfaction-rating
openapi: 3.0.0
info:
  title: OABUS Customer API
  description: OABUS API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /api/v1/customer/support-cases/{supportCaseId}/satisfaction-rating:
    post:
      tags:
        - Support Case
      summary: Create Support Satisfaction Rating
      description: Rates a resolved support case.
      operationId: createSupportCaseSatisfactionRating
      parameters:
        - name: supportCaseId
          required: true
          in: path
          schema:
            type: string
            format: uuid
            description: Support case identifier
            example: 0197f150-40d6-7c1a-bdf2-c5884e07d401
        - name: fields
          required: false
          in: query
          description: >-
            Comma-separated list of fields to include in the response. Supports
            dot notation for nested projection (e.g.
            `id,name,user.email,trips.route.id`). Unknown fields are silently
            dropped.
          schema:
            type: string
      requestBody:
        $ref: >-
          #/components/requestBodies/CreateSupportCaseSatisfactionRatingRequestBody
      responses:
        '204':
          $ref: >-
            #/components/responses/CreateSupportCaseSatisfactionRating204Response
        '400':
          $ref: >-
            #/components/responses/CreateSupportCaseSatisfactionRating400Response
        '401':
          $ref: >-
            #/components/responses/CreateSupportCaseSatisfactionRating401Response
        '500':
          $ref: >-
            #/components/responses/CreateSupportCaseSatisfactionRating500Response
      security:
        - bearer: []
components:
  requestBodies:
    CreateSupportCaseSatisfactionRatingRequestBody:
      required: true
      content:
        application/json:
          schema:
            type: object
            properties:
              rating:
                type: integer
                description: Support rating from 1 to 5
                example: 5
              comment:
                description: Customer comment
                example: null
                nullable: true
                type: string
                maxLength: 2000
            required:
              - rating
  responses:
    CreateSupportCaseSatisfactionRating204Response:
      content:
        application/json:
          examples:
            204-Support case rated:
              summary: Support case rated
      description: Support case rated
    CreateSupportCaseSatisfactionRating400Response:
      content:
        application/json:
          example:
            errors:
              - message: required
                path: name
            message: Bad Request Error
            statusCode: 400
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 400
                type: number
              errors:
                items:
                  properties:
                    message:
                      type: string
                    path:
                      type: string
                  required:
                    - message
                    - path
                  type: object
                type: array
            required:
              - message
              - statusCode
            type: object
      description: Bad Request Error
    CreateSupportCaseSatisfactionRating401Response:
      content:
        application/json:
          example:
            message: Missing or invalid access token
            statusCode: 401
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 401
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Unauthorized
    CreateSupportCaseSatisfactionRating500Response:
      content:
        application/json:
          example:
            message: Internal Server Error
            statusCode: 500
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 500
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Internal Server Error
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````