> ## 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.

# Returns employee bonus information at a specific date and time

> Returns NoContent (204) if no bonus information is found. Returns BadRequest (400) if the member is not active.



## OpenAPI

````yaml openapi/member-v1.json GET /v1/employee-bonuses/{memberId}
openapi: 3.0.4
info:
  title: MemberService.Api
  version: v1
servers:
  - url: https://{host}/member
    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/employee-bonuses/{memberId}:
    get:
      tags:
        - Service2Service
      summary: Returns employee bonus information at a specific date and time
      description: >-
        Returns NoContent (204) if no bonus information is found. Returns
        BadRequest (400) if the member is not active.
      parameters:
        - name: memberId
          in: path
          description: Employee membership id
          required: true
          schema:
            maxLength: 36
            type: string
        - name: dateTime
          in: query
          description: Date and time on which the bonus must be valid
          required: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/MemberService.Api.Controllers.Service2Service.EmployeeBonusController.GetEmployeeBonusResponse
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
components:
  schemas:
    MemberService.Api.Controllers.Service2Service.EmployeeBonusController.GetEmployeeBonusResponse:
      required:
        - bonusPercentage
      type: object
      properties:
        bonusPercentage:
          type: number
          description: Bonus percentage, only for employee members
          format: double
      additionalProperties: false
    LoopFoundation.Commons.Contracts.WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````