openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_MAINTAIN_HRP_ACTOR:
    post:
      tags:
      - RHWP
      operationId: /rfc/RH_MAINTAIN_HRP_ACTOR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_FCODE:
                  type: string
                  default: ' '
                  maxLength: 20
                ACT_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                ACT_OBJID:
                  type: integer
                  format: int64
              required:
              - ACT_OBJID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_HRP1000:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SEQNR:
                        type: integer
                        format: int64
                        description: Number of Infotype Record With Same Key
                      OTJID:
                        type: string
                        maxLength: 10
                        description: Concatenation of Object Type and Object ID
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      REASN:
                        type: string
                        maxLength: 2
                        description: Reason
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ITXNR:
                        type: integer
                        format: int64
                        description: Text Module for Infotype
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      GDATE:
                        type: string
                        format: date
                        description: Delimitation date
                      MC_SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      MC_STEXT:
                        type: string
                        maxLength: 40
                        description: Name
                      MC_SEARK:
                        type: string
                        maxLength: 52
                        description: Search Term
                  ACT_OK_CODE:
                    type: string
                    maxLength: 70
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
