openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALERT_NEW_RECIPIENTS_API:
    post:
      tags:
      - SALERT_CATEGORY_API
      operationId: /rfc/SALERT_NEW_RECIPIENTS_API
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_ALIAS:
                  type: string
                  maxLength: 80
                IP_CATEGORY:
                  type: string
                  maxLength: 30
                IP_RULE:
                  type: string
                  maxLength: 14
                IP_WAIT_ON_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                IT_RULE_BINDING:
                  type: array
                  items:
                    type: object
                    properties:
                      DATAFLOW:
                        type: string
                        maxLength: 1
                        description: 'Workflow Binding: Binding Time'
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: Dictionary
                      REFSTRUCT:
                        type: string
                        maxLength: 30
                        description: Reference table
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: Reference field
                      REFOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Reference obj. type
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: Attribute type
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: ABAP Type of element
                      EXPR:
                        type: string
                        maxLength: 255
                        description: Expression in Binding Definition
                      SOURCETYPE:
                        type: string
                        maxLength: 1
                        description: Instantiation Information for Expression in Binding
                      TARGETTYPE:
                        type: string
                        maxLength: 1
                        description: Instantiation Information for Expression in Binding
                      TARGETEXPR:
                        type: string
                        maxLength: 255
                        description: Expression in Binding Definition
                      OPERATION:
                        type: string
                        maxLength: 3
                        description: Operation in Binding
                      OPCLASS:
                        type: string
                        maxLength: 1
                        description: 'Binding: Operator at Row or Container Level'
                      SKIPSNULL:
                        type: string
                        maxLength: 1
                        description: No Action If Source Value Is Not Available
                      SKIPSINIT:
                        type: string
                        maxLength: 1
                        description: No Action If Source Value Is Initial or Unavailable
                      NOVERWRITE:
                        type: string
                        maxLength: 1
                        description: Do Not Overwrite Available Target Value
                      SKIPERROR:
                        type: string
                        maxLength: 1
                        description: Treat Errors as Warnings
                      MOVE_CORR:
                        type: string
                        maxLength: 1
                        description: Assign Structures Using MOVE-CORRESPONDING
                      TRANSTYPE:
                        type: string
                        maxLength: 6
                        description: Type of Transformation to Be Executed
                      TRANSBASE:
                        type: string
                        maxLength: 64
                        description: Specification of a Component of an Executable Unit
                      TRANSEXT:
                        type: string
                        maxLength: 64
                        description: Specification of a Component of an Executable Unit
                      TRANSCATID:
                        type: string
                        maxLength: 2
                        description: Category of Objects in Persistent Object References
                      TRANSASYNC:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Transformation Is Asynchronous'
                      TRANSDIALG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Transformation Leads to Dialog'
                      TRANSLOG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Log Transformation Execution'
                      TRANSDEBUG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Execute Transformation in DEBUG Mode'
                FIXED_ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: 'ALM API: Role Name'
                FIXED_USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      UNAME:
                        type: string
                        maxLength: 12
                        description: Alert Recipients
                SUBSCRIPTION_ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: 'ALM API: Role Name'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FIXED_ROLES:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: 'ALM API: Role Name'
                  FIXED_USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        UNAME:
                          type: string
                          maxLength: 12
                          description: Alert Recipients
                  SUBSCRIPTION_ROLES:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: 'ALM API: Role Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
