openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_CREATE_POSITIONS:
    post:
      tags:
      - RHGB
      operationId: /rfc/RH_CREATE_POSITIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Validity period start date
                ACT_ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: Validity period end date
                ACT_ISTAT:
                  type: string
                  default: '1'
                  maxLength: 1
                  description: Planning status
                ACT_JOB_OBJID:
                  type: integer
                  format: int64
                  description: Object ID job
                ACT_ORG_OBJID:
                  type: integer
                  format: int64
                  description: Object ID superior organizational unit
                ACT_PLVAR:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Plan version
                ACT_POSITION_COUNT:
                  type: integer
                  format: int64
                  default: 1
                  description: Number of positions
              required:
              - ACT_ORG_OBJID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
