openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EXTERNAL_GET_ACTIVITY_TEXTS:
    post:
      tags:
      - SIC1
      summary: Read texts for activities
      operationId: /rfc/EXTERNAL_GET_ACTIVITY_TEXTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                E_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DOC_CLS:
                        type: string
                        maxLength: 4
                        description: 'Documentation: Class'
                      DOC_OBJ:
                        type: string
                        maxLength: 20
                        description: Documentation Object Name
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                I_ACTIVITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_CLS:
                        type: string
                        maxLength: 4
                        description: 'Documentation: Class'
                      DOC_OBJ:
                        type: string
                        maxLength: 20
                        description: Documentation Object Name
                      VOR_MOD:
                        type: string
                        maxLength: 3
                        description: Procedure model number
                      COUNTRY:
                        type: string
                        maxLength: 1
                        description: 'Country ID  enumValues: I=Valid for countries specified,E=Invalid for countries specified,A=Valid for all countries'
                        enum:
                        - I
                        - E
                        - A
                      ACTIVITY:
                        type: integer
                        format: int64
                        description: 'Activity  enumValues: 1=Mandatory activity,3=Nonrequired activity,2=Optional activity'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                      CRITICAL:
                        type: integer
                        format: int64
                        description: 'Critical  enumValues: 2=Non-critical,1=Critical'
                        enum:
                        - '2'
                        - '1'
                      ROADMAP_ID:
                        type: string
                        maxLength: 12
                        description: Roadmap node identifier
                      LOIO:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      CUS_TSTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DOC_CLS:
                          type: string
                          maxLength: 4
                          description: 'Documentation: Class'
                        DOC_OBJ:
                          type: string
                          maxLength: 20
                          description: Documentation Object Name
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Explanatory short text
                  I_ACTIVITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_CLS:
                          type: string
                          maxLength: 4
                          description: 'Documentation: Class'
                        DOC_OBJ:
                          type: string
                          maxLength: 20
                          description: Documentation Object Name
                        VOR_MOD:
                          type: string
                          maxLength: 3
                          description: Procedure model number
                        COUNTRY:
                          type: string
                          maxLength: 1
                          description: 'Country ID  enumValues: I=Valid for countries specified,E=Invalid for countries specified,A=Valid for all countries'
                          enum:
                          - I
                          - E
                          - A
                        ACTIVITY:
                          type: integer
                          format: int64
                          description: 'Activity  enumValues: 1=Mandatory activity,3=Nonrequired activity,2=Optional activity'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                        CRITICAL:
                          type: integer
                          format: int64
                          description: 'Critical  enumValues: 2=Non-critical,1=Critical'
                          enum:
                          - '2'
                          - '1'
                        ROADMAP_ID:
                          type: string
                          maxLength: 12
                          description: Roadmap node identifier
                        LOIO:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        CUS_TSTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
