IRPCWOPIOperations.CreateWOPIUserSession -- Creates a WOPI user session for one file version and returns its token (or a one-time token that can be exchanged for it).
IRPCWOPIOperationsPublic.GetWOPIUserSession -- Gets the details of a WOPI user session: the shared object and file version, the action, the user and whether editing is allowed.
Used in fields
CreateWOPIUserSessionRequest.wopi_user_session -- The file to open: obj_ver, file_ver, action_type, user_account_id (the session's own user ID), external_username (usually empty) and additional_data (the URLs and culture that the WOPI host passes on to Office for the web; th...
GetWOPIUserSessionResponse.wopi_user_session -- The session. is_edit_allowed is false when the user's license is read-only, the user lacks edit access, the object is deleted or has no editable files, an older version is shared, or the object is checked out to someone else (except in...