openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_USER_ADDRESS_READ_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: View addresses using RFC'
      operationId: /rfc/SO_USER_ADDRESS_READ_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GET_PUNYCODE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Flag indicating whether e-mail addresses are returned in punycode form
                USER_ADDRESS:
                  type: array
                  items:
                    type: object
                    properties:
                      USERID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: User ID of an Office user'
                      SAPNAME:
                        type: string
                        maxLength: 12
                        description: SAP name of a SAPoffice user
                      OFFICENAME:
                        type: string
                        maxLength: 12
                        description: SAPoffice user name
                      COM_TYPE:
                        type: string
                        maxLength: 6
                        description: 'Transmission Method (Fax, Telex, ...)  enumValues: ""=SAPoffice internal,TELEX=Telex,TELFAX=Fax'
                        enum:
                        - ''
                        - TELEX
                        - TELFAX
                      LFDNR:
                        type: string
                        maxLength: 3
                        description: 'Addresses: Sequence Number of Address'
                      ADDRESS:
                        type: string
                        maxLength: 1215
                        description: External address (SMTP/X.400...)
                      RETRN_CODE:
                        type: string
                        maxLength: 4
                        description: Return code
                      LONG_NAME:
                        type: string
                        maxLength: 241
                        description: Long name of address to be displayed on screen
                      HOME_ADDR:
                        type: string
                        maxLength: 1
                        description: User's Home Address (Internal Users Only)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_ADDRESS:
                    type: array
                    items:
                      type: object
                      properties:
                        USERID:
                          type: string
                          maxLength: 17
                          description: 'SAPoffice: User ID of an Office user'
                        SAPNAME:
                          type: string
                          maxLength: 12
                          description: SAP name of a SAPoffice user
                        OFFICENAME:
                          type: string
                          maxLength: 12
                          description: SAPoffice user name
                        COM_TYPE:
                          type: string
                          maxLength: 6
                          description: 'Transmission Method (Fax, Telex, ...)  enumValues: ""=SAPoffice internal,TELEX=Telex,TELFAX=Fax'
                          enum:
                          - ''
                          - TELEX
                          - TELFAX
                        LFDNR:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Sequence Number of Address'
                        ADDRESS:
                          type: string
                          maxLength: 1215
                          description: External address (SMTP/X.400...)
                        RETRN_CODE:
                          type: string
                          maxLength: 4
                          description: Return code
                        LONG_NAME:
                          type: string
                          maxLength: 241
                          description: Long name of address to be displayed on screen
                        HOME_ADDR:
                          type: string
                          maxLength: 1
                          description: User's Home Address (Internal Users Only)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
