openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OXT_GENOBJDEF_GET:
    post:
      tags:
      - OXT_TASK_API
      operationId: /rfc/OXT_GENOBJDEF_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_TASKID:
                  type: string
                  maxLength: 32
                  description: ID of OXT Task
              required:
              - I_TASKID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_GOX_HEADER:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_TYPE:
                          type: string
                          maxLength: 30
                          description: GOX Object Type
                        KEY_GUID:
                          type: string
                          maxLength: 32
                          description: Key for Subobject at Generation
                        PARENT_KEY:
                          type: string
                          maxLength: 32
                          description: GUID for Next Highest Level Node of Subobject
                        TEMPLATE_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name for Generic Object Extension (OXT)
                        OBJECT_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name for Generic Object Extension (OXT)
                        NEW_STRING:
                          type: string
                          maxLength: 255
                          description: Character String to Replace Placeholder During Obj. Gen.
                        REPLACE_STRING:
                          type: string
                          maxLength: 255
                          description: Character String to be Replaced During Object Generation
                        PREFIX:
                          type: string
                          maxLength: 30
                          description: Prefix for Object Name in SAP System
                        SUFFIX:
                          type: string
                          maxLength: 30
                          description: Character String Suffix to Object Name
                        POSITION:
                          type: integer
                          format: int64
                          description: Item Where a Substitution Should Be Made
                        REFERENCE_KEY:
                          type: string
                          maxLength: 32
                          description: Key GUID for the Reference of a Subobject
                        REFERENCE_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name for Generic Object Extension (OXT)
                        CREATE_SEQUENCE:
                          type: integer
                          format: int64
                          description: Sequence when Creating an Object
                        CHANGE_SEQUENCE:
                          type: integer
                          format: int64
                          description: Sequence when Changing an Object
                        DELETE_SEQUENCE:
                          type: integer
                          format: int64
                          description: Sequence when Deleting an Object
                        DETAILS:
                          type: array
                          items:
                            type: object
                            properties:
                              FIELDNAME:
                                type: string
                                maxLength: 30
                                description: Fieldname for generic Interface
                              FIELDVALUE:
                                type: string
                                maxLength: 255
                                description: Field Values for Table Entries
                        REPLACE_DETAILS:
                          type: array
                          items:
                            type: object
                            properties:
                              NEW_STRING:
                                type: string
                                maxLength: 255
                                description: Character String to Replace Placeholder During Obj. Gen.
                              REPLACE_STRING:
                                type: string
                                maxLength: 255
                                description: Character String to be Replaced During Object Generation
                              PREFIX:
                                type: string
                                maxLength: 30
                                description: Prefix for Object Name in SAP System
                              SUFFIX:
                                type: string
                                maxLength: 30
                                description: Character String Suffix to Object Name
                              POSITION:
                                type: integer
                                format: int64
                                description: Item Where a Substitution Should Be Made
                        OBJECT_TEXT:
                          type: array
                          items:
                            type: object
                            properties:
                              LANGUAGE:
                                type: string
                                maxLength: 1
                                description: Language Key
                              DESCRIPTION:
                                type: string
                                maxLength: 255
                                description: Field Values for Table Entries
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
