openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_GP_ROLES_GET_MEMBER_GPIS:
    post:
      tags:
      - SWF_GP_ROLES
      operationId: /rfc/SWF_GP_ROLES_GET_MEMBER_GPIS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_CREATE_TS_END:
                  type: integer
                  format: int64
                IM_CREATE_TS_START:
                  type: integer
                  format: int64
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                IT_ROLE_NAMES:
                  type: array
                  items:
                    type: string
                    maxLength: 32
                    description: Role Name
                IT_STATUS:
                  type: array
                  items:
                    type: object
                    properties:
                      STATUS:
                        type: string
                        maxLength: 12
                        description: Status of an Activity
                ET_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
              required:
              - IM_CREATE_TS_END
              - IM_CREATE_TS_START
              - IT_ROLE_NAMES
              - IT_STATUS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_GPI_INFOS:
                    type: array
                    items:
                      type: object
                      properties:
                        GPI_ID:
                          type: string
                          maxLength: 32
                          description: ID of a GP Instance
                        STATUS:
                          type: string
                          maxLength: 12
                          description: Status of an Activity
                        CREATE_TS:
                          type: integer
                          format: int64
                          description: Creation Time Stamp
                        GP_GUID:
                          type: string
                          maxLength: 32
                          description: ID of GP Definition
                        GP_VERS:
                          type: integer
                          format: int64
                          description: Version of GP Definition
                  EX_RETURNCODE:
                    type: integer
                    format: int64
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
