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

# Worksite operations list



## OpenAPI

````yaml /api-reference/partners/api.json get /v1/worksites/{id}/operations
openapi: 3.1.0
info:
  title: Laravel
  version: 0.0.1
servers:
  - url: https://api.opx.co/partners
    description: Production
security: []
paths:
  /v1/worksites/{id}/operations:
    get:
      tags:
        - WorksitesOperations
      summary: Worksite operations list
      operationId: partners.worksites.operations.index
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
        - name: page
          in: query
          schema:
            type:
              - integer
              - 'null'
            minimum: 1
        - name: per_page
          in: query
          schema:
            type:
              - integer
              - 'null'
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: '`WorksiteOperationCollection`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorksiteOperationCollection'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    WorksiteOperationCollection:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WorksiteOperationResource'
      required:
        - data
      title: WorksiteOperationCollection
    WorksiteOperationResource:
      type: object
      properties:
        id:
          type: integer
        external_reference:
          type:
            - string
            - 'null'
        worksite_id:
          type: integer
        operation_id:
          type: integer
        status:
          type: string
        code:
          type: string
        fost_version:
          type: string
        classic_kwhc:
          type:
            - string
            - 'null'
        precarity_kwhc:
          type:
            - string
            - 'null'
        cee_amount:
          type: string
          description: prime CEE reversée au bénéficiaire
        cee_amount_total:
          type: string
          description: prime CEE totale
        cdp_amount:
          type: string
          description: prime CDP reversée au bénéficiaire
        cdp_amount_total:
          type: string
          description: prime CDP totale
        mpr_amount:
          type:
            - string
            - 'null'
        invoice_reference:
          type:
            - string
            - 'null'
        aides_informations:
          type: array
          items: {}
        ah_informations:
          type: array
          items: {}
        material_ids:
          type: array
          items: {}
        completion_proof_date:
          type:
            - string
            - 'null'
          description: date de preuve de réalisation
        commitment_date:
          type:
            - string
            - 'null'
          description: date d'engagement
        subcontractor_id:
          type:
            - integer
            - 'null'
        custom_worksite_operation_status_id:
          type: string
        custom_worksite_operation_status_label:
          type: string
        quote_reference:
          type:
            - string
            - 'null'
      required:
        - id
        - external_reference
        - worksite_id
        - operation_id
        - status
        - code
        - fost_version
        - classic_kwhc
        - precarity_kwhc
        - cee_amount
        - cee_amount_total
        - cdp_amount
        - cdp_amount_total
        - mpr_amount
        - invoice_reference
        - aides_informations
        - ah_informations
        - material_ids
        - completion_proof_date
        - commitment_date
        - subcontractor_id
        - custom_worksite_operation_status_id
        - custom_worksite_operation_status_label
        - quote_reference
      title: WorksiteOperationResource
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors

````