PortfolioLinkApi

<back to all web services

GetAnimationData

The following routes are available for this service:
All Verbs/animation/video
GetAnimationData Parameters:
NameParameterData TypeRequiredDescription
IdqueryintNo
GuidquerystringNo
UniqueIdquerystringNo
GetAnimationDataResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformProposalV2SummaryAdobeNo
ProposalV2SummaryAdobe Parameters:
NameParameterData TypeRequiredDescription
ProposalIdformstringNo
ProposalNameformstringNo
ProposalDescriptionformstringNo
CustomCoverLetterTextformstringNo
PartnerIdformintNo
PartnerformstringNo
PartnerLogoformstringNo
VideoLogoformstringNo
PrimaryColourformstringNo
SecondaryColourformstringNo
SecondaryColourOpacityformdoubleNo
FirstNameformstringNo
FullNameformstringNo
ClientIdformintNo
GoalsformList<ClientGoalSummary>No
CreatedAsAtformDateTimeNo
UpdatedAsAtformDateTimeNo
ClientGoalSummary Parameters:
NameParameterData TypeRequiredDescription
GoalTypeformstringNo
GoalNameformstringNo
GoalDescriptionformstringNo
GoalPictureUrlformstringNo
GoalCurrencyformstringNo
PortfolioNameformstringNo
GoalOutcomeDescriptionformstringNo
FundNameformstringNo
ProjectedBalancesformList<AdobeRangeSeries>No
AdobeRangeSeries Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNo
LabelformstringNo
ItemsformList<AdobeSeriesItem>No
AdobeSeriesItem Parameters:
NameParameterData TypeRequiredDescription
YearformintNo
Valueformdecimal?No
RangeValue1Fieldformdecimal?No
RangeValue2Fieldformdecimal?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /animation/video HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	guid: String,
	uniqueId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: 
	{
		proposalId: String,
		proposalName: String,
		proposalDescription: String,
		customCoverLetterText: String,
		partnerId: 0,
		partner: String,
		partnerLogo: String,
		videoLogo: String,
		primaryColour: String,
		secondaryColour: String,
		secondaryColourOpacity: 0,
		firstName: String,
		fullName: String,
		clientId: 0,
		goals: 
		[
			{
				goalType: String,
				goalName: String,
				goalDescription: String,
				goalPictureUrl: String,
				goalCurrency: String,
				portfolioName: String,
				goalOutcomeDescription: String,
				fundName: String,
				projectedBalances: 
				[
					{
						type: String,
						label: String,
						items: 
						[
							{
								year: 0,
								value: 0,
								rangeValue1Field: 0,
								rangeValue2Field: 0
							}
						]
					}
				]
			}
		],
		createdAsAt: 0001-01-01,
		updatedAsAt: 0001-01-01
	}
}