OnTime REST API
OnTime REST API / REST Endpoints Resource Group / api/userSessions (Get)
In This Topic
    Getapi/userSessions
    In This Topic

    Resource Path: /sites/{company-id}/api/userSessions

    Uri: https://secure.ontime360.com/sites/{company-id}/api/userSessions

    Description
    Finds and returns unique identifiers for all UserSessions that match a given criteria.
    Parameters
    NameDescriptionData Type
    The unique identifier of a User as a Guid.string
    The minimum log-in time as a Date.string
    The maximum log-out time as a Date.string
    200 Response

    The response body is of type Array[].

    Returns an unordered array of unique Guid identifiers assigned to matching UserSession objects.
    Fault Responses
    FaultDescription
    Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information.
    Authorization key is invalid or no longer exists.
    Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information.
    See Also