Authentication

POST /ver2/AuthenticationService.svc/sessions/long

Creates long-living session from current (source session). It does not close source session, so user still in source session (getCurrentSession() should return same value). Second call of createLongLivingSession() should reuse longSession if it already exists. Security: All users.

SDK API: envianceSdk.authentication.createLongLivingSession(onsuccess, onerror)
null

envianceSdk.authentication.createLongLivingSession

[
  "onsuccess",
  "onerror"
]

Request

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Response

not available

string guid required

Changes

No recorded changes to this operation across all 1 revision of this API.