Interface IMapiMailboxes


@Path("/mapi_mailboxes") public interface IMapiMailboxes
  • Method Details

    • byMailboxGuid

      @GET @Path("mailbox_guid/{mailboxGuid}") MapiReplica byMailboxGuid(@PathParam("mailboxGuid") String mailboxGuid) throws net.bluemind.core.api.fault.ServerFault
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • byMessageObjectsGuid

      @GET @Path("message_objects_guid/{objectsGuid}") MapiReplica byMessageObjectsGuid(@PathParam("objectsGuid") String objectsGuid) throws net.bluemind.core.api.fault.ServerFault
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • byLocalReplicaGuid

      @GET @Path("logon_guid/{logonGuid}") MapiReplica byLocalReplicaGuid(@PathParam("logonGuid") String logonGuid) throws net.bluemind.core.api.fault.ServerFault
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • identity

      @GET @Path("_identity") MapiLogonIdentity identity(@QueryParam("domain") String domain, @QueryParam("login") String login, @QueryParam("mailbox") String mailbox) throws net.bluemind.core.api.fault.ServerFault
      Resolves in one call who logs on and which mailbox is opened: the domain, the user who authenticates, the directory entry of the mailbox and its owner. Each lookup is done with the rights of the caller.
      Parameters:
      domain - name or alias of the domain
      login - email of the user who authenticates
      mailbox - email of the mailbox to open
      Returns:
      what the directory knows of them; only the domain is looked up when it is unknown
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • openSession

      @POST @Path("_session") MapiSession openSession(MapiSessionRequest request) throws net.bluemind.core.api.fault.ServerFault
      Opens in one call the session bm-mapi uses to reach a mailbox: a sudo session whose token lasts as long as an upgraded one, with its owner when it is used on behalf of another user, and reads the settings of a user. The caller must be allowed to sudo.
      Returns:
      the outcome of the sudo, and the settings when it is granted
      Throws:
      net.bluemind.core.api.fault.ServerFault