openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPS_MODIFY_PDCALL:
    post:
      tags:
      - PD02
      operationId: /rfc/SPS_MODIFY_PDCALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GUID:
                  type: string
                  maxLength: 32
                PDCALL:
                  type: object
                  properties:
                    GUID:
                      type: string
                      maxLength: 32
                      description: Planned Call GUID
                    ADDRNUMBER:
                      type: string
                      maxLength: 10
                      description: Address number
                    PERSNUMBER:
                      type: string
                      maxLength: 10
                      description: Person number
                    ADDR_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Address type (1=Organization, 2=Person, 3=Contact person)  enumValues: 1=Organization, Company,2=Private address,3=Contact person (in company)'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                    TELNO1:
                      type: string
                      maxLength: 30
                      description: Telephone number
                    STARTTIME1:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    ENDTIME1:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    TELNO2:
                      type: string
                      maxLength: 30
                      description: Telephone number
                    STARTTIME2:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    ENDTIME2:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    TELNO3:
                      type: string
                      maxLength: 30
                      description: Telephone number
                    STARTTIME3:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    ENDTIME3:
                      type: string
                      maxLength: 6
                      description: 'SAPphone: Time in UTC (from UTC Time Stamp)'
                    START_TMSP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    END_TMSP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    FINISHED:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
              required:
              - GUID
              - PDCALL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_DETAILED:
                    type: string
                    maxLength: 3
                  ERR_TEXT:
                    type: string
                    maxLength: 80
                    description: Error description
                  RETURNCODE:
                    type: string
                    maxLength: 4
                  SYSTEM_RC_X:
                    type: string
                    maxLength: 10
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
