> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload report

> Uploads a feedback report to blob storage.

This endpoint accepts a pre-generated report and stores it in blob storage for the specified
report type and start date. Returns the URL where the report can be accessed.



## OpenAPI

````yaml openapi/customerfeedback-v1.json POST /v1/Feedback/report
openapi: 3.0.4
info:
  title: CustomerFeedback.Api
  version: v1
servers:
  - url: https://{host}/customerfeedback
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v1/Feedback/report:
    post:
      tags:
        - Feedback
      summary: Upload report
      description: >-
        Uploads a feedback report to blob storage.


        This endpoint accepts a pre-generated report and stores it in blob
        storage for the specified

        report type and start date. Returns the URL where the report can be
        accessed.
      requestBody:
        description: Request containing report type, start date, and report content
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/CustomerFeedback.Api.DTO.Requests.UploadReportRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/CustomerFeedback.Api.DTO.Requests.UploadReportRequest
          application/*+json:
            schema:
              $ref: >-
                #/components/schemas/CustomerFeedback.Api.DTO.Requests.UploadReportRequest
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/CustomerFeedback.Api.DTO.Responses.UploadReportResponse
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/CustomerFeedback.Api.DTO.Responses.UploadReportResponse
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/CustomerFeedback.Api.DTO.Responses.UploadReportResponse
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
components:
  schemas:
    CustomerFeedback.Api.DTO.Requests.UploadReportRequest:
      required:
        - report
        - reportType
        - startDate
      type: object
      properties:
        reportType:
          $ref: >-
            #/components/schemas/CustomerFeedback.ApplicationService.CQRS.Models.ReportType
        startDate:
          type: string
          description: Start date for the report data
          format: date-time
        report:
          minLength: 1
          type: string
          description: End date for the report data
      additionalProperties: false
    CustomerFeedback.Api.DTO.Responses.UploadReportResponse:
      type: object
      properties:
        url:
          type: string
          description: File URL where the uploaded report can be accessed
          nullable: true
      additionalProperties: false
    Microsoft.AspNetCore.Mvc.ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    CustomerFeedback.ApplicationService.CQRS.Models.ReportType:
      enum:
        - Daily
        - Weekly
        - Monthly
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Opaque Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````