openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CSLTM_LOCATEANDMOVETOKEN:
    post:
      tags:
      - SCLT
      operationId: /rfc/CSLTM_LOCATEANDMOVETOKEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PEXISTSTOKMGRTOKLNK:
                  type: string
                  maxLength: 1
                PFUNC_ISACTIVE:
                  type: object
                  properties:
                    ISACL:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is Locking with Token Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ISACC:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is the Reference Count Mechanism Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ISACT:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is Reference Follow-up Meachnism Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ISACML:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is Monitoring of Lock with Token Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ISACMC:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is Monitoring of Reference Count Mechanism Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ISACMT:
                      type: string
                      maxLength: 1
                      description: 'CSL: Is Monitoring of  Ref.Follow-Up Mechanism Activated?  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                PMOVE_TRIAL:
                  type: object
                  properties:
                    T:
                      type: string
                      maxLength: 108
                      description: 'CSL: Token'
                    MVSRSY:
                      type: string
                      maxLength: 10
                      description: 'CSL: Log.System of Source Token Manager of a Shift'
                    MVSRNU:
                      type: string
                      maxLength: 2
                      description: 'CSL: Number of Source Token Manager of a Shift'
                    MVDSSY:
                      type: string
                      maxLength: 10
                      description: 'CSL: Log.System of Target Token Manager of a Shift'
                    MVDSNU:
                      type: string
                      maxLength: 2
                      description: 'CSL: Number of Target Token Manager of a Shift'
                    MVTS:
                      type: integer
                      format: int64
                      description: 'CSL: Time of Shift'
                    MVNU:
                      type: string
                      format: byte
                      description: 'CSL: (Relative) Number of Token Shift'
                    MVCSH:
                      type: string
                      maxLength: 4
                      description: 'CSL: Communication Schema for Shift  enumValues: S=Solely Synchronous Communication,AS=Synchronous and Asynchronous Communication,A=Solely Asynchronous Communication'
                      enum:
                      - S
                      - AS
                      - A
                PTOKENHOME:
                  type: object
                  properties:
                    THSY:
                      type: string
                      maxLength: 10
                      description: 'CSL: Logical System of Home Tok. Mgr of a Token'
                    THNU:
                      type: string
                      maxLength: 2
                      description: 'CSL: Number of Home Tok.Mgr of a Token'
                PTOKMGRTOKLNK_DATA_PRE:
                  type: object
                  properties:
                    MTLKST:
                      type: string
                      maxLength: 4
                      description: 'CSL: Status of Assignment Token Manager to Token  enumValues: INIT=Initial Status: Before Creation of Token,REFD=Token is in Token Manager and Referenced (Not Available),UKWN=Token or Its Status is Not Known to Token Manager,FINL=Final Status: After Destruction of Token,MOVD=Token Was Shifted From the Token Manager,FREE=Token is in Token Manager and Available (Not Referenced),ERRO=Known Error Situation'
                      enum:
                      - INIT
                      - REFD
                      - UKWN
                      - FINL
                      - MOVD
                      - FREE
                      - ERRO
                    MVINU:
                      type: string
                      format: byte
                      description: 'CSL: (Relative) Number of Token Shift'
                    MVITS:
                      type: integer
                      format: int64
                      description: 'CSL: Time of Shift'
                    MVISRSY:
                      type: string
                      maxLength: 10
                      description: 'CSL: Log.System of Source Token Manager of a Shift'
                    MVISRNU:
                      type: string
                      maxLength: 2
                      description: 'CSL: Number of Source Token Manager of a Shift'
                    MVICSH:
                      type: string
                      maxLength: 4
                      description: 'CSL: Communication Schema for Shift  enumValues: S=Solely Synchronous Communication,AS=Synchronous and Asynchronous Communication,A=Solely Asynchronous Communication'
                      enum:
                      - S
                      - AS
                      - A
                    MVICST:
                      type: string
                      maxLength: 4
                      description: 'CSL: Status of Commication for Shift  enumValues: AS=Synchronous and Asynchronous Issue and Receipt,A=Solely Asynchronous Issue and Receipt,S=Solely Synchronous Issue and Receipt'
                      enum:
                      - AS
                      - A
                      - S
                    MVONU:
                      type: string
                      format: byte
                      description: 'CSL: (Relative) Number of Token Shift'
                    MVOTS:
                      type: integer
                      format: int64
                      description: 'CSL: Time of Shift'
                    MVODSSY:
                      type: string
                      maxLength: 10
                      description: 'CSL: Log.System of Target Token Manager of a Shift'
                    MVODSNU:
                      type: string
                      maxLength: 2
                      description: 'CSL: Number of Target Token Manager of a Shift'
                    MVOCSH:
                      type: string
                      maxLength: 4
                      description: 'CSL: Communication Schema for Shift  enumValues: S=Solely Synchronous Communication,AS=Synchronous and Asynchronous Communication,A=Solely Asynchronous Communication'
                      enum:
                      - S
                      - AS
                      - A
                    MVOCST:
                      type: string
                      maxLength: 4
                      description: 'CSL: Status of Commication for Shift  enumValues: AS=Synchronous and Asynchronous Issue and Receipt,A=Solely Asynchronous Issue and Receipt,S=Solely Synchronous Issue and Receipt'
                      enum:
                      - AS
                      - A
                      - S
                    LLUW:
                      type: string
                      format: byte
                      description: 'CSL: LUW of Token Lock'
                    LNU:
                      type: string
                      format: byte
                      description: 'CSL: Number of Token Lock'
                    LTS:
                      type: integer
                      format: int64
                      description: 'CSL: Time of Token Lock'
                    LUS:
                      type: string
                      maxLength: 12
                      description: 'CSL: User Who Initiated Token Lock'
                    LMI:
                      type: string
                      maxLength: 255
                      description: 'CSL: User-Readable Lock Information'
                    LRCNT:
                      type: integer
                      format: int64
                      description: 'CSL: Current Number of References to Token Lock'
                    TWRKY:
                      type: string
                      format: byte
                      description: 'CSL: Key of Last Write Access to Token'
                    TWRTS:
                      type: integer
                      format: int64
                      description: 'CSL: Time of Last Write Access to Token'
                PWAIT:
                  type: string
                  maxLength: 1
                  description: 'CSL: Control of Wait Behavior When Lock is Requested'
              required:
              - PEXISTSTOKMGRTOKLNK
              - PFUNC_ISACTIVE
              - PMOVE_TRIAL
              - PTOKENHOME
              - PTOKMGRTOKLNK_DATA_PRE
              - PWAIT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PTOKMGRTOKLNK_DATA_POST:
                    type: object
                    properties:
                      MTLKST:
                        type: string
                        maxLength: 4
                        description: 'CSL: Status of Assignment Token Manager to Token  enumValues: INIT=Initial Status: Before Creation of Token,REFD=Token is in Token Manager and Referenced (Not Available),UKWN=Token or Its Status is Not Known to Token Manager,FINL=Final Status: After Destruction of Token,MOVD=Token Was Shifted From the Token Manager,FREE=Token is in Token Manager and Available (Not Referenced),ERRO=Known Error Situation'
                        enum:
                        - INIT
                        - REFD
                        - UKWN
                        - FINL
                        - MOVD
                        - FREE
                        - ERRO
                      MVINU:
                        type: string
                        format: byte
                        description: 'CSL: (Relative) Number of Token Shift'
                      MVITS:
                        type: integer
                        format: int64
                        description: 'CSL: Time of Shift'
                      MVISRSY:
                        type: string
                        maxLength: 10
                        description: 'CSL: Log.System of Source Token Manager of a Shift'
                      MVISRNU:
                        type: string
                        maxLength: 2
                        description: 'CSL: Number of Source Token Manager of a Shift'
                      MVICSH:
                        type: string
                        maxLength: 4
                        description: 'CSL: Communication Schema for Shift  enumValues: S=Solely Synchronous Communication,AS=Synchronous and Asynchronous Communication,A=Solely Asynchronous Communication'
                        enum:
                        - S
                        - AS
                        - A
                      MVICST:
                        type: string
                        maxLength: 4
                        description: 'CSL: Status of Commication for Shift  enumValues: AS=Synchronous and Asynchronous Issue and Receipt,A=Solely Asynchronous Issue and Receipt,S=Solely Synchronous Issue and Receipt'
                        enum:
                        - AS
                        - A
                        - S
                      MVONU:
                        type: string
                        format: byte
                        description: 'CSL: (Relative) Number of Token Shift'
                      MVOTS:
                        type: integer
                        format: int64
                        description: 'CSL: Time of Shift'
                      MVODSSY:
                        type: string
                        maxLength: 10
                        description: 'CSL: Log.System of Target Token Manager of a Shift'
                      MVODSNU:
                        type: string
                        maxLength: 2
                        description: 'CSL: Number of Target Token Manager of a Shift'
                      MVOCSH:
                        type: string
                        maxLength: 4
                        description: 'CSL: Communication Schema for Shift  enumValues: S=Solely Synchronous Communication,AS=Synchronous and Asynchronous Communication,A=Solely Asynchronous Communication'
                        enum:
                        - S
                        - AS
                        - A
                      MVOCST:
                        type: string
                        maxLength: 4
                        description: 'CSL: Status of Commication for Shift  enumValues: AS=Synchronous and Asynchronous Issue and Receipt,A=Solely Asynchronous Issue and Receipt,S=Solely Synchronous Issue and Receipt'
                        enum:
                        - AS
                        - A
                        - S
                      LLUW:
                        type: string
                        format: byte
                        description: 'CSL: LUW of Token Lock'
                      LNU:
                        type: string
                        format: byte
                        description: 'CSL: Number of Token Lock'
                      LTS:
                        type: integer
                        format: int64
                        description: 'CSL: Time of Token Lock'
                      LUS:
                        type: string
                        maxLength: 12
                        description: 'CSL: User Who Initiated Token Lock'
                      LMI:
                        type: string
                        maxLength: 255
                        description: 'CSL: User-Readable Lock Information'
                      LRCNT:
                        type: integer
                        format: int64
                        description: 'CSL: Current Number of References to Token Lock'
                      TWRKY:
                        type: string
                        format: byte
                        description: 'CSL: Key of Last Write Access to Token'
                      TWRTS:
                        type: integer
                        format: int64
                        description: 'CSL: Time of Last Write Access to Token'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
