openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALERT_NEW_CATEGORIES_API:
    post:
      tags:
      - SALERT_CATEGORY_API
      operationId: /rfc/SALERT_NEW_CATEGORIES_API
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IP_WAIT_ON_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CATEGORY:
                        type: string
                        maxLength: 30
                        description: Alert Category
                      ALIAS:
                        type: string
                        maxLength: 80
                        description: 'ALM: Long Name of an Alert Category'
                      CLASS:
                        type: string
                        maxLength: 30
                        description: Classification of Alert Category
                      DESCR:
                        type: string
                        maxLength: 60
                        description: Description of Alert Category
                      PRIORITY:
                        type: string
                        maxLength: 1
                        description: Alert priority
                      CONTDEF:
                        type: string
                        maxLength: 32
                        description: ID for Parameter Condition
                      MAXDELVRY:
                        type: integer
                        format: int32
                        description: Maximum Number of Alert Deliveries
                      ESCACTIVE:
                        type: string
                        maxLength: 1
                        description: Escalation Active
                      ESCRECIPT:
                        type: string
                        maxLength: 12
                        description: Escalation Recipient
                      ESCTOLTIME:
                        type: integer
                        format: int64
                        description: Tolerance Time for Escalation in Minutes
                      DYNTEXT:
                        type: string
                        maxLength: 1
                        description: Dynamic Text
                      EXPIRYTIME:
                        type: integer
                        format: int64
                        description: Expiry Time in Minutes
                      NOEXTID:
                        type: string
                        maxLength: 1
                        description: Do not insert an external alert ID
                      ORIGLANG:
                        type: string
                        maxLength: 1
                        description: Original Language of the Alert Category
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Application Package of the Alert Category
                ERROR_CATEGORIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CATEGORY:
                        type: string
                        maxLength: 30
                        description: Alert Category
                      ALIAS:
                        type: string
                        maxLength: 80
                        description: 'ALM: Long Name of an Alert Category'
                      CLASS:
                        type: string
                        maxLength: 30
                        description: Classification of Alert Category
                      DESCR:
                        type: string
                        maxLength: 60
                        description: Description of Alert Category
                      PRIORITY:
                        type: string
                        maxLength: 1
                        description: Alert priority
                      CONTDEF:
                        type: string
                        maxLength: 32
                        description: ID for Parameter Condition
                      MAXDELVRY:
                        type: integer
                        format: int32
                        description: Maximum Number of Alert Deliveries
                      ESCACTIVE:
                        type: string
                        maxLength: 1
                        description: Escalation Active
                      ESCRECIPT:
                        type: string
                        maxLength: 12
                        description: Escalation Recipient
                      ESCTOLTIME:
                        type: integer
                        format: int64
                        description: Tolerance Time for Escalation in Minutes
                      DYNTEXT:
                        type: string
                        maxLength: 1
                        description: Dynamic Text
                      EXPIRYTIME:
                        type: integer
                        format: int64
                        description: Expiry Time in Minutes
                      NOEXTID:
                        type: string
                        maxLength: 1
                        description: Do not insert an external alert ID
                      ORIGLANG:
                        type: string
                        maxLength: 1
                        description: Original Language of the Alert Category
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Application Package of the Alert Category
              required:
              - IP_LANGUAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CATEGORY:
                          type: string
                          maxLength: 30
                          description: Alert Category
                        ALIAS:
                          type: string
                          maxLength: 80
                          description: 'ALM: Long Name of an Alert Category'
                        CLASS:
                          type: string
                          maxLength: 30
                          description: Classification of Alert Category
                        DESCR:
                          type: string
                          maxLength: 60
                          description: Description of Alert Category
                        PRIORITY:
                          type: string
                          maxLength: 1
                          description: Alert priority
                        CONTDEF:
                          type: string
                          maxLength: 32
                          description: ID for Parameter Condition
                        MAXDELVRY:
                          type: integer
                          format: int32
                          description: Maximum Number of Alert Deliveries
                        ESCACTIVE:
                          type: string
                          maxLength: 1
                          description: Escalation Active
                        ESCRECIPT:
                          type: string
                          maxLength: 12
                          description: Escalation Recipient
                        ESCTOLTIME:
                          type: integer
                          format: int64
                          description: Tolerance Time for Escalation in Minutes
                        DYNTEXT:
                          type: string
                          maxLength: 1
                          description: Dynamic Text
                        EXPIRYTIME:
                          type: integer
                          format: int64
                          description: Expiry Time in Minutes
                        NOEXTID:
                          type: string
                          maxLength: 1
                          description: Do not insert an external alert ID
                        ORIGLANG:
                          type: string
                          maxLength: 1
                          description: Original Language of the Alert Category
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Application Package of the Alert Category
                  ERROR_CATEGORIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CATEGORY:
                          type: string
                          maxLength: 30
                          description: Alert Category
                        ALIAS:
                          type: string
                          maxLength: 80
                          description: 'ALM: Long Name of an Alert Category'
                        CLASS:
                          type: string
                          maxLength: 30
                          description: Classification of Alert Category
                        DESCR:
                          type: string
                          maxLength: 60
                          description: Description of Alert Category
                        PRIORITY:
                          type: string
                          maxLength: 1
                          description: Alert priority
                        CONTDEF:
                          type: string
                          maxLength: 32
                          description: ID for Parameter Condition
                        MAXDELVRY:
                          type: integer
                          format: int32
                          description: Maximum Number of Alert Deliveries
                        ESCACTIVE:
                          type: string
                          maxLength: 1
                          description: Escalation Active
                        ESCRECIPT:
                          type: string
                          maxLength: 12
                          description: Escalation Recipient
                        ESCTOLTIME:
                          type: integer
                          format: int64
                          description: Tolerance Time for Escalation in Minutes
                        DYNTEXT:
                          type: string
                          maxLength: 1
                          description: Dynamic Text
                        EXPIRYTIME:
                          type: integer
                          format: int64
                          description: Expiry Time in Minutes
                        NOEXTID:
                          type: string
                          maxLength: 1
                          description: Do not insert an external alert ID
                        ORIGLANG:
                          type: string
                          maxLength: 1
                          description: Original Language of the Alert Category
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Application Package of the Alert Category
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
