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

# Post Partin Resend

> Resend our current datasheet to one partner - the follow-up to a
rejection whose cause has been fixed. Role resolution: explicit
argument, reply ledger, or the partner's own latest PARTIN.



## OpenAPI

````yaml /setup/internal-openapi.json post /v1/process/partin/resend
openapi: 3.1.0
info:
  title: n:lead Scheduling Bridge — Internal API
  version: 0.4.0
  description: >-
    Internal API of the n:lead scheduling bridge: the process endpoints that
    drive the day-ahead pipeline (aggregate, publish the open position, submit
    schedules, generate forecasts, orchestrate) and the operator console
    endpoints. Requires the process API key; not for customer use.
servers:
  - url: >-
      https://nleadbridge-app.lemonisland-7d6503d3.germanywestcentral.azurecontainerapps.io
    description: Deployed service
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /v1/process/partin/resend:
    post:
      summary: Post Partin Resend
      description: |-
        Resend our current datasheet to one partner - the follow-up to a
        rejection whose cause has been fixed. Role resolution: explicit
        argument, reply ledger, or the partner's own latest PARTIN.
      operationId: post_partin_resend_v1_process_partin_resend_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartinResendRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartinResendResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    PartinResendRequest:
      properties:
        receiver_mp_id:
          type: string
          title: Receiver Mp Id
          description: MP-ID of the NB, BIKO or ÜNB
        receiver_role:
          anyOf:
            - type: string
              enum:
                - NB
                - BIKO
                - UNB
            - type: 'null'
          title: Receiver Role
      type: object
      required:
        - receiver_mp_id
      title: PartinResendRequest
      description: |-
        Resend our current datasheet to one partner after a fixed rejection.

        The role is resolved from the reply ledger or the partner's own latest
        PARTIN; pass ``receiver_role`` only when neither knows the partner.
    PartinResendResponse:
      properties:
        receiver_mp_id:
          type: string
          title: Receiver Mp Id
        receiver_role:
          type: string
          title: Receiver Role
        version:
          type: integer
          title: Version
        ingress_status:
          type: integer
          title: Ingress Status
      type: object
      required:
        - receiver_mp_id
        - receiver_role
        - version
        - ingress_status
      title: PartinResendResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      description: OIDC access token (Auth0 M2M)
      scheme: bearer

````