openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPERS_SAVE_DATA_RFC:
    post:
      tags:
      - SPERS_DIALOG
      operationId: /rfc/SPERS_SAVE_DATA_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_BACKGROUND:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Save in Background
                P_LINKED_OBJECT:
                  type: string
                  maxLength: 30
                  description: Personalization object key
                P_OVERWRITE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-Character Flag
                P_PERS_KEY:
                  type: string
                  maxLength: 30
                  description: Personalization Object Key
                P_PERS_TYPE:
                  type: string
                  maxLength: 1
                  description: Personalization Level
                P_SEL_COND_AND:
                  type: string
                  default: X
                  maxLength: 1
                  description: Selection conditions AND operator
                P_SEL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      FIELDVALUE:
                        type: string
                        maxLength: 255
                        description: Personalization data field
                P_BUFFER_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PERS_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Personalization level  enumValues: U=User level,""=System level,A=Role level'
                        enum:
                        - U
                        - ''
                        - A
                      OBJECT_ID:
                        type: string
                        maxLength: 30
                        description: Personalization object key
                      PERS_KEY:
                        type: string
                        maxLength: 30
                        description: Personalization object key
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      ADD_KEY:
                        type: string
                        maxLength: 22
                        description: Personalization GUID
                      LDATE:
                        type: string
                        format: date
                        description: Date
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Time
                      INTLEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      FIELDLEN:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      FIELDVALUE:
                        type: string
                        maxLength: 255
                        description: Personalization data field
              required:
              - P_BACKGROUND
              - P_LINKED_OBJECT
              - P_PERS_KEY
              - P_PERS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_BUFFER_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PERS_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Personalization level  enumValues: U=User level,""=System level,A=Role level'
                          enum:
                          - U
                          - ''
                          - A
                        OBJECT_ID:
                          type: string
                          maxLength: 30
                          description: Personalization object key
                        PERS_KEY:
                          type: string
                          maxLength: 30
                          description: Personalization object key
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        ADD_KEY:
                          type: string
                          maxLength: 22
                          description: Personalization GUID
                        LDATE:
                          type: string
                          format: date
                          description: Date
                        LTIME:
                          type: string
                          maxLength: 6
                          description: Time
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        FIELDLEN:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        FIELDVALUE:
                          type: string
                          maxLength: 255
                          description: Personalization data field
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
