openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DLI_UPDATE_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: Change distribution list using RFC'
      operationId: /rfc/SO_DLI_UPDATE_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DLI_ID:
                  type: string
                  default: ' '
                  maxLength: 17
                  description: ID of distribution list to be changed
                DLI_NAME:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Name of distribution list to be changed
                DLI_UPDATE_DATA:
                  type: object
                  properties:
                    OBJ_NAME:
                      type: string
                      maxLength: 12
                      description: Name of document, folder or distribution list
                    OBJ_DESCR:
                      type: string
                      maxLength: 50
                      description: Short description of contents
                    OBJ_LANGU:
                      type: string
                      maxLength: 1
                      description: Language in Which Document Is Created
                    OBJ_SORT:
                      type: string
                      maxLength: 10
                      description: Sort field
                    OBJ_EXPDAT:
                      type: string
                      format: date
                      description: Expiration date of object
                    SENSITIVTY:
                      type: string
                      maxLength: 1
                      description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                      enum:
                      - F
                      - O
                      - P
                    OBJ_PRIO:
                      type: string
                      maxLength: 1
                      description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    NO_CHANGE:
                      type: string
                      maxLength: 1
                      description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    PRIORITY:
                      type: string
                      maxLength: 1
                      description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    EXPIRY_DAT:
                      type: string
                      format: date
                      description: 'SAPoffice: Expiration Date for this Folder Entry'
                    SUBSCRIPT:
                      type: string
                      maxLength: 1
                      description: 'Subscription list  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SHARED_DLI:
                      type: string
                      maxLength: 1
                      description: 'Indicator for shared distribution list  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                DLI_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      MEMBER_NAM:
                        type: string
                        maxLength: 12
                        description: 'Entry in distribution list: Name'
                      MEMBER_ID:
                        type: string
                        maxLength: 17
                        description: ID of an entry in the distribution list
                      MEMBER_TYP:
                        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
                      FULL_NAME:
                        type: string
                        maxLength: 35
                        description: Name in address management
                      MEMBER_ADR:
                        type: string
                        maxLength: 1215
                        description: Entry address
              required:
              - DLI_UPDATE_DATA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DLI_INFO:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of a SAPoffice object'
                      OBJ_TYPE:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      OBJ_NAME:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      OBJ_DESCR:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      OBJ_LANGU:
                        type: string
                        maxLength: 1
                        description: Language in Which Document Is Created
                      OBJ_SORT:
                        type: string
                        maxLength: 10
                        description: Sort field
                      CREATOR_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the creator of an object or user'
                      CREAT_NAME:
                        type: string
                        maxLength: 12
                        description: Creator Name
                      CREAT_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Full name of creator'
                      CREAT_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date when object/user was created'
                      CREAT_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was created'
                      CHANGER_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: Last changed by: ID'
                      CHANG_NAME:
                        type: string
                        maxLength: 12
                        description: Changed by
                      CHANG_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Last changed by: Full name'
                      CHANG_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date object/user was last changed'
                      CHANG_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was last changed'
                      OWNER_ID:
                        type: string
                        maxLength: 17
                        description: ID of the owner of the document
                      OWNER_NAM:
                        type: string
                        maxLength: 12
                        description: Name of document owner
                      OWNER_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of the owner
                      LAST_ACCES:
                        type: string
                        format: date
                        description: Date of last access
                      OBJ_EXPDAT:
                        type: string
                        format: date
                        description: Expiration date of object
                      SENSITIVTY:
                        type: string
                        maxLength: 1
                        description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                        enum:
                        - F
                        - O
                        - P
                      OBJ_PRIO:
                        type: string
                        maxLength: 1
                        description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      NO_CHANGE:
                        type: string
                        maxLength: 1
                        description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PROC_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Execute: Type (Report, Dialog Module, ...)'
                      PROC_NAME:
                        type: string
                        maxLength: 30
                        description: 'SAPoffice: Text field'
                      PROC_SYST:
                        type: string
                        maxLength: 10
                        description: System in which the document is processed
                      PROC_CLINT:
                        type: string
                        maxLength: 3
                        description: Client in which document is processed
                      SKIP_SCREN:
                        type: string
                        maxLength: 1
                        description: 'Execute: Process First Screen in Background  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      TO_DO_OUT:
                        type: string
                        maxLength: 1
                        description: 'ToDo: To Be Completed Outside SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FREE_DEL:
                        type: string
                        maxLength: 1
                        description: 'Object Can Be Deleted by All Users with an Application  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SUBSCRIPT:
                        type: string
                        maxLength: 1
                        description: 'Subscription list  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SIZE:
                        type: string
                        maxLength: 5
                        description: Number of entries in the distribution list
                      SHARED_DLI:
                        type: string
                        maxLength: 1
                        description: 'Indicator for shared distribution list  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PRIORITY:
                        type: string
                        maxLength: 1
                        description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      EXPIRY_DAT:
                        type: string
                        format: date
                        description: 'SAPoffice: Expiration Date for this Folder Entry'
                  DLI_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        MEMBER_NAM:
                          type: string
                          maxLength: 12
                          description: 'Entry in distribution list: Name'
                        MEMBER_ID:
                          type: string
                          maxLength: 17
                          description: ID of an entry in the distribution list
                        MEMBER_TYP:
                          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
                        FULL_NAME:
                          type: string
                          maxLength: 35
                          description: Name in address management
                        MEMBER_ADR:
                          type: string
                          maxLength: 1215
                          description: Entry address
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
