openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPK_EARMARK_PERS_TO_POS:
    post:
      tags:
      - RHPK
      summary: 'Designate Persons for Posts: Create Designations'
      operationId: /rfc/RHPK_EARMARK_PERS_TO_POS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OTYPE:
                  type: string
                  maxLength: 2
                  description: Object type
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                SOBID:
                  type: string
                  maxLength: 45
                  description: Object ID
                VBEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Object ID
                VENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: Object ID
                ERR_PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type (Personnel Development)
                      TOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ADATA:
                        type: string
                        maxLength: 600
                        description: Additional Relationship Data
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type (Personnel Development)
                      TOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ADATA:
                        type: string
                        maxLength: 600
                        description: Additional Relationship Data
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - OTYPE
              - PLVAR
              - SOBID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type (Personnel Development)
                        TOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ADATA:
                          type: string
                          maxLength: 600
                          description: Additional Relationship Data
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                  PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type (Personnel Development)
                        TOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ADATA:
                          type: string
                          maxLength: 600
                          description: Additional Relationship Data
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
