openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_ORG_SELECT:
    post:
      tags:
      - SO13
      operationId: /rfc/SO_ORG_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NO_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
                SEARCH_STRING:
                  type: string
                  default: '*'
                  maxLength: 241
                  description: Identification of a user or address
                SINGLE_SELECTION:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Only single selection possible
                ORGS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 1215
                        description: 'SAPoffice: Name of the recipient of a document (also ext.)'
                      FULLNAME:
                        type: string
                        maxLength: 241
                        description: Recipient address
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Specification of recipient type  enumValues: K=Pager/SMS,G=Organization object/ID,J=SAP object,H=Organizational unit/position,D=X.500 Address,R=SAP user in another SAP System,""=Name,P=Private distribution list,X=X.400 address,O=SAPoffice user,A=External address,L=Telex number,1=Other Recipient Types,F=Fax number,C=Shared distribution list,B=SAP user,U=Internet address'
                        enum:
                        - K
                        - G
                        - J
                        - H
                        - D
                        - R
                        - ''
                        - P
                        - X
                        - O
                        - A
                        - L
                        - '1'
                        - F
                        - C
                        - B
                        - U
                      LFDNR:
                        type: string
                        maxLength: 3
                        description: 'Addresses: Sequence Number of Address'
                      SNDART:
                        type: string
                        maxLength: 8
                        description: 'Output device  enumValues: MAIL=Mail,SCREEN=Screen,TELEFAX=Fax Number,PRINTER=Printer'
                        enum:
                        - MAIL
                        - SCREEN
                        - TELEFAX
                        - PRINTER
                      DELIVER:
                        type: string
                        maxLength: 1
                        description: 'Acknowledgment of receipt expected  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NOT_DELI:
                        type: string
                        maxLength: 1
                        description: 'Acknowledgment of receipt expected  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      READ:
                        type: string
                        maxLength: 1
                        description: Read acknowledgment expected
                      SAP_BODY:
                        type: string
                        maxLength: 1
                        description: 'Send externally with SAP data part  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  F_CANCELED:
                    type: string
                    maxLength: 1
                  ORGS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 1215
                          description: 'SAPoffice: Name of the recipient of a document (also ext.)'
                        FULLNAME:
                          type: string
                          maxLength: 241
                          description: Recipient address
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Specification of recipient type  enumValues: K=Pager/SMS,G=Organization object/ID,J=SAP object,H=Organizational unit/position,D=X.500 Address,R=SAP user in another SAP System,""=Name,P=Private distribution list,X=X.400 address,O=SAPoffice user,A=External address,L=Telex number,1=Other Recipient Types,F=Fax number,C=Shared distribution list,B=SAP user,U=Internet address'
                          enum:
                          - K
                          - G
                          - J
                          - H
                          - D
                          - R
                          - ''
                          - P
                          - X
                          - O
                          - A
                          - L
                          - '1'
                          - F
                          - C
                          - B
                          - U
                        LFDNR:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Sequence Number of Address'
                        SNDART:
                          type: string
                          maxLength: 8
                          description: 'Output device  enumValues: MAIL=Mail,SCREEN=Screen,TELEFAX=Fax Number,PRINTER=Printer'
                          enum:
                          - MAIL
                          - SCREEN
                          - TELEFAX
                          - PRINTER
                        DELIVER:
                          type: string
                          maxLength: 1
                          description: 'Acknowledgment of receipt expected  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NOT_DELI:
                          type: string
                          maxLength: 1
                          description: 'Acknowledgment of receipt expected  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        READ:
                          type: string
                          maxLength: 1
                          description: Read acknowledgment expected
                        SAP_BODY:
                          type: string
                          maxLength: 1
                          description: 'Send externally with SAP data part  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
