REST.Backend.EMSApi.TEMSClientAPI.AddSessionToken

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddSessionToken(const ARequest: TCustomRESTRequest; const AAppSecret, ASessionToken: string);

C++

void __fastcall AddSessionToken(Rest::Client::TCustomRESTRequest* const ARequest, const System::UnicodeString AAppSecret, const System::UnicodeString ASessionToken);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
REST.Backend.EMSApi.pas
REST.Backend.EMSApi.hpp
REST.Backend.EMSApi TEMSClientAPI

Description

Adds the specified application secret and session token to the headers of the specified request.

Exceptions

Exception Message Description

EEMSClientAPIError

Session token required

The specified session token is an empty string.

See Also