# Show Attendance Challenge History

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/members/me/attendance_challenge/history:
    get:
      summary: Show Attendance Challenge History
      deprecated: false
      description: >
        Returns information about all Editions the member participated in,
        including active one.
      tags:
        - API Reference/Public API/Member/AttendanceChallenge
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  editions:
                    type: array
                    items:
                      type: object
                      properties:
                        start_date:
                          type: string
                          description: The month determining the start of the Edition
                          format: regex
                          minLength: 1
                          pattern: ^(0[1-9]|1[0-2])-\d{4}$
                          examples:
                            - 2026-04
                        end_date:
                          type: string
                          description: The month determining the end of the Edition
                          format: regex
                          minLength: 1
                          pattern: ^(0[1-9]|1[0-2])-\d{4}$
                          examples:
                            - 2026-11
                        stages:
                          type: array
                          items:
                            type: object
                            properties:
                              date:
                                type: string
                                description: The month of the Edition
                                minLength: 1
                                pattern: ^(0[1-9]|1[0-2])-\d{4}$
                                examples:
                                  - 2026-05
                              starts_at:
                                type: string
                                format: date-time
                                examples:
                                  - '2026-04-01T00:00:00.000000+02:00'
                                readOnly: true
                                description: >-
                                  The actual time (reflecting the Customer's
                                  timezone and start hour of the Edition) when
                                  the Edition starts.
                              ends_at:
                                type: string
                                format: date-time
                                examples:
                                  - '2026-11-31T23:59:59.999999+01:00'
                                readOnly: true
                                description: >-
                                  The actual time (reflecting the Customer's
                                  timezone and start hour of the Edition) when
                                  the Edition ends.
                              extra_period_ends_at:
                                type: string
                                format: date-time
                                examples:
                                  - '2026-12-10T23:59:59.999999+01:00'
                                readOnly: true
                                description: >-
                                  The time (reflecting the Customer's timezone
                                  and start hour of the Edition) when the extra
                                  period ends.
                            x-apidog-orders:
                              - date
                              - starts_at
                              - ends_at
                              - extra_period_ends_at
                            required:
                              - date
                            x-apidog-ignore-properties: []
                          description: Stages (names of months). Enumerated.
                          minItems: 1
                          uniqueItems: true
                          readOnly: true
                        starts_at:
                          type: string
                          format: date-time
                          examples:
                            - '2026-04-01T00:00:00.000000+02:00'
                          readOnly: true
                          description: >-
                            The actual time (reflecting the Customer's timezone
                            and start hour of the Edition) when the Edition
                            starts.
                        ends_at:
                          type: string
                          format: date-time
                          examples:
                            - '2026-11-31T23:59:59.999999+01:00'
                          readOnly: true
                          description: >-
                            The actual time (reflecting the Customer's timezone,
                            start hour of the Edition and the extra days) when
                            the Edition ends.
                        nominal_ends_at:
                          type: string
                          format: date-time
                          examples:
                            - '2026-11-31T23:59:59.999999+01:00'
                          readOnly: true
                          description: >-
                            The actual nominal (end of month) time (reflecting
                            the Customer's timezone, start hour of the Edition)
                            when the Edition ends.
                        stages_streak_goal:
                          type: integer
                          minimum: 1
                          examples:
                            - 3
                          description: >-
                            Number of subsequently completed stages required for
                            member to get a reward
                        monthly_attendances_goal:
                          type: integer
                          description: >-
                            Number of the attendances completed during a stage
                            required to have this stage completed by a member
                          minimum: 1
                          examples:
                            - 8
                        daily_value_goal:
                          type: number
                          description: >-
                            Total amount money on scanned (and verified)
                            receipts made by member on a single day to mark the
                            day as completed
                          minimum: 0.01
                          examples:
                            - 100
                        entries_limit:
                          type: integer
                          description: >-
                            Maximum number of entries of a single member to the
                            Edition. When null, there is no limit.
                          minimum: 1
                          default: 1
                          examples:
                            - 2
                          nullable: true
                        first_stage_reward_id:
                          description: >-
                            ID of MPC exclusive Offer granted to Member when he
                            completes his first stage of the Edition 
                          examples:
                            - 5513
                          anyOf:
                            - &ref_0
                              $ref: '#/components/schemas/id'
                              description: >-
                                ID of MPC exclusive Offer granted to Member when
                                he completes histfirst stage of the Edition 
                            - type: 'null'
                        first_stage_reward_name:
                          type: string
                          readOnly: true
                          description: Name of MPC exclusive Offer
                        streak_reward_value:
                          type: integer
                          description: >-
                            Amount of money granted to Member after completing
                            the streak
                          examples:
                            - 150
                          minimum: 1
                        title:
                          type: string
                          examples:
                            - Win in 2026
                          nullable: true
                        rules:
                          type: string
                          description: I.e. Terms and Conditions. HTML
                        onboarding_description:
                          type: string
                          description: HTML
                        completed:
                          type: boolean
                          description: Was the Edition completed for the member?
                        events:
                          type: array
                          items:
                            type: object
                            properties:
                              type:
                                type: string
                                enum:
                                  - edition_joined
                                  - first_stage_reward_granted
                                  - streak_reward_granted
                                x-apidog-enum:
                                  - value: edition_joined
                                    name: ''
                                    description: ''
                                  - value: first_stage_reward_granted
                                    name: ''
                                    description: ''
                                  - value: streak_reward_granted
                                    name: ''
                                    description: ''
                              date:
                                $ref: '#/components/schemas/date_time'
                            x-apidog-orders:
                              - type
                              - date
                            required:
                              - type
                              - date
                            x-apidog-ignore-properties: []
                          description: Entries of the history
                      x-apidog-orders:
                        - 01KYAAK73R3V344B50T1RTMQVC
                        - completed
                        - events
                      required:
                        - start_date
                        - end_date
                        - stages
                        - starts_at
                        - ends_at
                        - stages_streak_goal
                        - monthly_attendances_goal
                        - daily_value_goal
                        - entries_limit
                        - first_stage_reward_id
                        - first_stage_reward_name
                        - streak_reward_value
                        - rules
                        - onboarding_description
                        - completed
                        - events
                      x-apidog-refs:
                        01KYAAK73R3V344B50T1RTMQVC:
                          $ref: '#/components/schemas/Edition'
                      x-apidog-ignore-properties:
                        - start_date
                        - end_date
                        - stages
                        - starts_at
                        - ends_at
                        - nominal_ends_at
                        - stages_streak_goal
                        - monthly_attendances_goal
                        - daily_value_goal
                        - entries_limit
                        - first_stage_reward_id
                        - first_stage_reward_name
                        - streak_reward_value
                        - title
                        - rules
                        - onboarding_description
                x-apidog-orders:
                  - editions
                required:
                  - editions
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
        '404':
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Record not found
                x-apidog-orders:
                  - error
                required:
                  - error
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: No current Edition
      security: []
      x-apidog-folder: API Reference/Public API/Member/AttendanceChallenge
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4456234-run
components:
  schemas:
    date_time:
      type: string
      format: date-time
      examples:
        - '2022-11-09T16:25:58.099512Z'
      x-apidog-folder: ''
    id:
      type: integer
      title: ''
      description: Identifier
      examples:
        - 1
      minimum: 1
      x-apidog-folder: ''
    Edition:
      type: object
      properties:
        start_date: &ref_1
          type: string
          description: The month determining the start of the Edition
          format: regex
          minLength: 1
          pattern: ^(0[1-9]|1[0-2])-\d{4}$
          examples:
            - 2026-04
        end_date: &ref_2
          type: string
          description: The month determining the end of the Edition
          format: regex
          minLength: 1
          pattern: ^(0[1-9]|1[0-2])-\d{4}$
          examples:
            - 2026-11
        stages:
          type: array
          items:
            type: object
            properties:
              date: &ref_3
                type: string
                description: The month of the Edition
                minLength: 1
                pattern: ^(0[1-9]|1[0-2])-\d{4}$
                examples:
                  - 2026-05
              starts_at: &ref_4
                type: string
                format: date-time
                examples:
                  - '2026-04-01T00:00:00.000000+02:00'
                readOnly: true
                description: >-
                  The actual time (reflecting the Customer's timezone and start
                  hour of the Edition) when the Edition starts.
              ends_at: &ref_5
                type: string
                format: date-time
                examples:
                  - '2026-11-31T23:59:59.999999+01:00'
                readOnly: true
                description: >-
                  The actual time (reflecting the Customer's timezone and start
                  hour of the Edition) when the Edition ends.
              extra_period_ends_at: &ref_6
                type: string
                format: date-time
                examples:
                  - '2026-12-10T23:59:59.999999+01:00'
                readOnly: true
                description: >-
                  The time (reflecting the Customer's timezone and start hour of
                  the Edition) when the extra period ends.
            x-apidog-orders: &ref_7
              - date
              - starts_at
              - ends_at
              - extra_period_ends_at
            required:
              - date
            x-apidog-ignore-properties: []
          description: Stages (names of months). Enumerated.
          minItems: 1
          uniqueItems: true
          readOnly: true
        starts_at: &ref_8
          type: string
          format: date-time
          examples:
            - '2026-04-01T00:00:00.000000+02:00'
          readOnly: true
          description: >-
            The actual time (reflecting the Customer's timezone and start hour
            of the Edition) when the Edition starts.
        ends_at: &ref_9
          type: string
          format: date-time
          examples:
            - '2026-11-31T23:59:59.999999+01:00'
          readOnly: true
          description: >-
            The actual time (reflecting the Customer's timezone, start hour of
            the Edition and the extra days) when the Edition ends.
        nominal_ends_at: &ref_10
          type: string
          format: date-time
          examples:
            - '2026-11-31T23:59:59.999999+01:00'
          readOnly: true
          description: >-
            The actual nominal (end of month) time (reflecting the Customer's
            timezone, start hour of the Edition) when the Edition ends.
        stages_streak_goal: &ref_11
          type: integer
          minimum: 1
          examples:
            - 3
          description: >-
            Number of subsequently completed stages required for member to get a
            reward
        monthly_attendances_goal: &ref_12
          type: integer
          description: >-
            Number of the attendances completed during a stage required to have
            this stage completed by a member
          minimum: 1
          examples:
            - 8
        daily_value_goal: &ref_13
          type: number
          description: >-
            Total amount money on scanned (and verified) receipts made by member
            on a single day to mark the day as completed
          minimum: 0.01
          examples:
            - 100
        entries_limit: &ref_14
          type: integer
          description: >-
            Maximum number of entries of a single member to the Edition. When
            null, there is no limit.
          minimum: 1
          default: 1
          examples:
            - 2
          nullable: true
        first_stage_reward_id:
          description: >-
            ID of MPC exclusive Offer granted to Member when he completes his
            first stage of the Edition 
          examples: &ref_15
            - 5513
          anyOf:
            - *ref_0
            - &ref_16
              type: 'null'
        first_stage_reward_name: &ref_17
          type: string
          readOnly: true
          description: Name of MPC exclusive Offer
        streak_reward_value: &ref_18
          type: integer
          description: Amount of money granted to Member after completing the streak
          examples:
            - 150
          minimum: 1
        title:
          type: string
          examples:
            - Win in 2026
          nullable: true
        rules:
          type: string
          description: I.e. Terms and Conditions. HTML
        onboarding_description:
          type: string
          description: HTML
      x-apidog-orders:
        - 01KV63Q894P5SFMHN20GB8140J
        - title
        - rules
        - onboarding_description
      description: Empty when there is no ongoing Edition
      required:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
        - rules
        - onboarding_description
      x-apidog-refs:
        01KV63Q894P5SFMHN20GB8140J:
          $ref: '#/components/schemas/Edition%20Core'
      x-apidog-ignore-properties:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - nominal_ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      x-apidog-folder: ''
    Edition Core:
      type: object
      properties:
        start_date: *ref_1
        end_date: *ref_2
        stages:
          type: array
          items:
            type: object
            properties:
              date: *ref_3
              starts_at: *ref_4
              ends_at: *ref_5
              extra_period_ends_at: *ref_6
            x-apidog-orders: *ref_7
            required:
              - date
            x-apidog-ignore-properties: []
          description: Stages (names of months). Enumerated.
          minItems: 1
          uniqueItems: true
          readOnly: true
        starts_at: *ref_8
        ends_at: *ref_9
        nominal_ends_at: *ref_10
        stages_streak_goal: *ref_11
        monthly_attendances_goal: *ref_12
        daily_value_goal: *ref_13
        entries_limit: *ref_14
        first_stage_reward_id:
          description: >-
            ID of MPC exclusive Offer granted to Member when he completes his
            first stage of the Edition 
          examples: *ref_15
          anyOf:
            - *ref_0
            - *ref_16
        first_stage_reward_name: *ref_17
        streak_reward_value: *ref_18
      x-apidog-orders:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - nominal_ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      required:
        - start_date
        - end_date
        - stages
        - starts_at
        - ends_at
        - stages_streak_goal
        - monthly_attendances_goal
        - daily_value_goal
        - entries_limit
        - first_stage_reward_id
        - first_stage_reward_name
        - streak_reward_value
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```