Session API
Session API enables investment firms to access data of investment advice sessions and order execution sessions. Data collected by the advisor through DeepAlpha and suggested saving plan/order, can be integrated into existing systems. Such integration streamlines dataflow securely, increase efficiency and reduces friction for advisors. Key use cases enabled by Session API
- Extract information about suggested saving plan and automatically update your portfolio system to prepare orders for execution
- Extract advice information and store it in your data warehouse for further data analysis
This JSON file represents a record of an information collected throughout a session in Deep Alpha. It might include information about the investor, advice information, purpose and risk, knowledge and experience, financial situation, sustainability preferences, and details about the suggest investment plan.
The JSON file consists of several objects with various properties:
An array of objects that contains information about questions from the advice information page in Deep Alpha. This will be empty if the page is not in use.
The name of the field related to the advice information.
The value associated with the field.
The advisors note in regard to collecting advice information. PLACEHOLDER
An object that contains information about advisor that has given this advice
a string that contains advisors email address
a string that defines a unique identifier for an advisor
a string that defines an advisors name
A string that contains any notes or comments made by the advisor during the meeting. This field defines what was the reasoning for advice.
A string that contains the channel through which the advisory meeting was conducted.
Possible values:
- Tenants office
- Phone
- Online
- Other
A string that contains the date and time when the advisory meeting was completed, or null if it has not yet been completed.
A string that contains the date and time when the advisory meeting was created.
An array of objects that contain information about custom fields that were set up by the tenant for Knowledge and Experience page
a name of the custom field
a value submitted to custom field during a session
A boolean value that indicates whether or not the investment advice has been executed. This field is patched by tenants to indicate that this advice session has been finished and resulted in purchase of instrument shares.
More about patchingο»Ώο»Ώ
An object that contains information about client's financial situation. It is highly configurable and defines asset / sub asset classes and/or debt and its classes.
Below there are examples of asset class - cash and debt class - mortgage
Moreover this section might include custom fields. Those fields should be in this indentation of a payload and be a key / value pair.
An object that contains information about the client's cash assets.
defaultValue
The default value for the client's cash assets.
details
An array of objects that contain details about the client's cash assets, including their ID, title, value, and whether they are to be advised on.
id
A unique identifier for the cash details item
title
A string that defines what is that cash position name
toAdvisory
A number that defines how much of the cash will be used for advisory
value
A number that defines how much cash is in a given position
toAdvisory
The total value of the client's cash assets to be advised on.
An object that contains information about the client's mortgage.
defaultValue
The default value for the client's mortgage.
toAdvisory
The total value of the client's mortgage to be advised on.
A string that contains any notes or comments made by the advisor during the meeting. This field defines financial situation page note. PLACEHOLDER
An array of objects that contain information about the client's investment goals, including the amount they want to invest and the time horizon for their investment.
An array that contains information about the advised portfolio related to the goal.
mainAssetClass
A string that represents the main asset class of the advised portfolio.
subAssetClass
A string that represents the sub-asset class of the advised portfolio.
weight
A string that represents the weight of the advised portfolio.
instruments
An array that contains information about the instruments in the advised portfolio.
id
A string that represents a unique identifier for the instrument.
title
A string that represents the title of the instrument.
weight
A string that represents the weight of the instrument.
suitabilityAssessment
An object that contains information about the suitability assessment for the instrument.
productIsSuitable
A boolean value that indicates whether the product is suitable.
details
An array that contains details of the suitability assessment.
checkId
A number that represents the identifier for the suitability check.
checkKey
A string that represents the key for the suitability check.
score
A number that represents the score for the suitability check.
threshold
A number that represents the threshold for the suitability check.
A string that defines what was the advisor note for asset class allocation added by an advisor
The client's capital need for their investment goals. Only available when tenant is using cashflow.
A boolean value that indicates whether or not the client has a custom investment portfolio.
A string that contains a description of the client's investment goals.
The amount of the client's first deposit towards their investment goals.
A string that defines what was the advisor note for fund allocation added by an advisor
A unique identifier for the client's investment goals.
A boolean value that indicates whether or not the client's investment portfolio is custom.
The amount of the client's monthly deposit towards their investment goals.
A string that contains the name of the client's investment goals.
A string that contains the ID of the client's investment portfolio.
An object that contains information about the client's investment product platform.
namespaceId
The namespace ID for the client's investment product platform.
productPlatformReasoning
A string that contains the reasoning behind the client's investment product platform.
questions
An object that contains questions related to the client's investment product platform.
a string that defines risk level assigned to an investor
A string that contains the themes associated with the client's investment goals.
The time horizon for the client's investment goals.
A string that defines type of a goal
An integer that defines how this goal should be withdrawn
A string that contains a unique identifier for the investment advisory meeting.
An object that contains information about the investor, including their name, contact details, and KYC (know your customer) information.
The investor's address.
A string that contains a unique identifier for the advisor providing the investment advice.
The name of the advisor providing the investment advice.
The investor's city.
The investor's country.
Custom fields related to the investor.
The investor's email address.
A unique identifier for the investor.
A string that contains a unique identifier for the investor.
An object that contains KYC (know your customer) information for the investor.
advisoryTypeExperience
An array of strings that contains the investor's advisory type experience.
clientClassification
A string that contains the client classification for the investor.
moneyOrigin
An array of strings that contains the investor's source of money.
pep
A boolean value that indicates whether or not the investor is a politically exposed person.
sanctions
A boolean value that indicates whether or not the investor is subject to sanctions.
The name of the investor.
company unique identifier
The investor's phone number.
The investor's social security number.
A string that contains the type of investor.
The investor's zip code.
a string that contains notes written by an advisor within knowledge and experience page
a string that contains notes written by an advisor within proposal page
An object that contains information about the client's investment purpose and risk, including their expectation of risk, experience, and risk strategy.
Notes added by advisor when filling purpose and risk section
The client's expectation of the drop in percent of their investment.
The client's expectation of the drop in standard deviation of their investment.
The client's education and work experience related to investing.
The client's expectation of the level of risk for their investment.
The client's investing experience.
The client's risk strategy for their investment.
This object contains information about investors choices regarding suitability. Inside there can be up to five objects, each object will have same keys - names of the categories that tenant checks suitability for. Values for those keys are answers of the investor - how comfortable he is with a given topic within that category.
Example:
A boolean value that indicates whether or not the investment advice has been signed by the client. This field is patched by tenants to indicate that this advice session has been finished and order has been signed by him.
More about patchingο»Ώο»Ώ
A string that contains the current status of the investment advisory meeting.
An object that contains information about the client's sustainability preferences.
An object that contains the client's alignment criteria preferences.
alignmentCriteria1
The client's preference for alignment criteria 1.
alignmentCriteria2
The client's preference for alignment criteria 2.
An array of strings that contain the client's preference criteria.
ο»ΏA string that contains any notes or comments made by the advisor during the meeting. This field defines sustainability section note. PLACEHOLDER
A string that contains the type of investment advice provided.
A string that contains the date and time when the investment advisory meeting was last updated.
This endpoint is used to retrieve sessions generated within a tenant. When calling this endpoint it is possible to filter sessions. Detailed payload field definitions are listed above
Returns session object supplied with number of sessions returned, number of the page, page numbers, how many items per page and whether there are previous or next available pages. More about object here Session APIο»Ώο»Ώ
Here are the reasons why call results in error.
401 code:
Authorization token is incorrect. Generate new token
This endpoint is used to retrieve one session based on advice id. Additionally it allows to enable / disable investor data and investor goals. Detailed payload field definitions are listed above.
Returns session object. More about object here Session APIο»Ώο»Ώ
Here are the reasons why call results in error.
401 code:
Authorization token is incorrect. Generate new token
404 code:
It means that advice_id is incorrect.
ο»ΏThis endpoint is used to patch one session based on advice id. It allows to patch session values executed and signed. Detailed payload field definitions are listed above.ο»Ώ
Patch payload example
Returns session object. More about object here Session APIο»Ώο»Ώ
Here are the reasons why call results in error.
401 code:
Authorization token is incorrect. Generate new token
Session API do not return deleted sessions.