forked from multrees/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.raml
More file actions
1641 lines (1637 loc) · 55.4 KB
/
api.raml
File metadata and controls
1641 lines (1637 loc) · 55.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#%RAML 1.0
title: Multrees WebAPI
version: 1.2
protocols: [ HTTPS ]
baseUriParameters:
fi:
type: string
description: The Financial Institution's short-code, supplied by Multrees.
displayName: Financial Institution Short Code
required: true
subfi:
type: string
description: An optional parameter to define an area within the Financial Institution.
displayName: Sub Financial Institution
required: false
baseUri: https://api-live.multrees.com:8443/{subfi}/{fi}
mediaType: application/json
description: The Multrees Web API provides secure, programmatic access into the core elements of Multrees' services and data.
Version 1 focusses on exposing out 'GET' functionality for integration into Digital and Reporting Tools.
Version 2 will focus on POST/PUT for integration into CRM and platform technologies.
Version 3 will integrate Corporate Action notifications and elections.
types:
AssetAllocation:
displayName: Asset Allocation
description: Asset Allocation
type: object
properties:
extractDate:
type: datetime
description: The day the data was last updated. Normally this will be close of business of the previous day.
required: true
EntityType:
type: string
description: The type of entity returned (ACCOUNT, GROUP or CUSTOMER)
required: true
EntityId:
type: string
description: The ID of the entity
required: true
EntityName:
type: string
description: The name of the entity that has been returned (e.g. account name, client name or group name).
required: true
classification1:
type: string
description: The name of the Classification.
required: true
baseCurrency:
type: string
description: The base reporting currency of entity.
required: true
marketValueBase:
type: number
description: The market value in base currency
required: true
marketValueGBP:
type: number
description: The market value in GBP
required: true
marketValueEUR:
type: number
description: The market value in EUR
required: true
marketValueUSD:
type: number
description: The market value in USD
required: true
weighting:
type: number
description: The weighting of asset from over all call.
required: true
order:
type: integer
description: The sort order used in client reporting based of the classification.
required: true
example:
extractDate: "2019-02-24T00:00:00.0000000+00:00"
EntityType: "GROUP"
EntityId: "12345"
EntityName: "Paul Smith"
classification1: "Fixed Income"
baseCurrency: "GBP"
marketValueBase: 8831.25
marketValueGBP: 8831.25
marketValueEUR: 10175.419238
marketValueUSD: 11537.145
weighting: 0.12055394528205418
order: 2
AssetAllocations:
description: An array of assets allocations.
type: AssetAllocation[]
Classification:
displayName: Classification
description: Retrurn all possible values a Classification can have
type: object
properties:
ClassificationType:
type: string
description: The type of classification
required: true
ClassificationLabel:
type: string
description: The name of classification
required: true
ClassificationValue:
type: string
description: The Multrees platform ID for that classification
required: true
example:
ClassificationType: Geography
ClassificationLabel: Asia ex Japan
ClassificationValue: ABC_ASIA_E
Classifications:
description: An array of Classifications.
type: Classification[]
minItems: 1
AUM:
displayName: Assets Under Management
description: returns all the total market value and bookcost
in Base currency, GBP, EUR and USD.
type: object
properties:
ExtractDate:
type: datetime
description: The day the data was last updated. Normally this will be close of business of the previous day.
required: true
EntityType:
type: string
description: The type of entity returned (ACCOUNT, GROUP or CUSTOMER).
required: true
EntityId:
type: string
description: The Id of the entity returned.
required: true
EntityName:
type: string
description: The name of the entity returned.
required: true
BaseCurrency:
type: string
description: The base reporting currency of entity.
required: true
BookCostBase:
type: number
description: The Bookcost in base currency.
required: true
BookCostGBP:
type: number
description: The Bookcost in GBP.
required: true
BookCostEUR:
type: number
description: The Bookcost in EUR.
required: true
BookCostUSD:
type: number
description: The Bookcost in USD.
required: true
MarketValueBase:
type: number
description: The Market Value in base currency.
required: true
MarketValueGBP:
type: number
description: The Market Value in GBP.
required: true
MarketValueEUR:
type: number
description: The Market Value in EUR.
required: true
MarketValueUSD:
type: number
description: The Market Value in USD.
required: true
example:
ExtractDate: "2019-02-24T00:00:00.0000000+00:00"
EntityType: "GROUP"
EntityId: "101257"
EntityName: "The Paul Smith Trust"
BaseCurrency: "GBP"
BookCostBase: 6638633.98
BookCostGBP: 6638633.98
BookCostEUR: 7649073.90355988
BookCostUSD: 8672711.431472
MarketValueBase: 224096412.90316302
MarketValueGBP: 224096412.90316302
MarketValueEUR: 258205231.52550185
MarketValueUSD: 292759553.81669217
AssetsUnderManagement:
description: An array of AUM.
type: AUM[]
minItems: 1
CashAccount:
displayName: Cash Account
description: A cash account.
type: object
properties:
accountId:
type: integer
description: The cash account's internal Id
required: true
accountNumber:
type: string
description: The cash account's number.
required: true
accountName:
type: string
description: The display name given to the account
required: true
accountCurrency:
type: string
description: The Cash Account's currency
required: true
accountStatus:
type: string
description: The status of the account
required: true
example:
accountId: 1234
accountNumber: "1001234"
accountName: "Brian Smith Cash Account GBP"
accountCurrency: "GBP"
accountStatus: "ACTIVE"
CashAccounts:
description: : An array of Cash Accounts
type: CashAccount[]
minItems: 1
CashTransaction:
displayName: Cash Transactions
description: Cash Transactions
type: object
properties:
entityType:
type: string
description: The type of parent entity searched for.
required: true
entityId:
type: string
description: The ID of the entity you searched for.
required: true
entityName:
type: string
description: The name of the parent entity.
required: true
investmentAccountNumber:
type: string
description: The parent Investment Account number that the cash transaction is linked to.
required: true
investmentAccountName:
type: string
description: Name of the parent Investment Account the cash transaction is linked to
required: true
cashAccountName:
type: string
description: Name of the Cash Account.
required: true
cashAccountNumber:
type: string
description: The Cash Account Number.
required: true
cashAccountType:
type: string
description: The type of the account (e.g. Income\Capital).
required: true
transactionId:
type: integer
description: Unique Transaction ID
required: true
valueDate:
type: datetime
description: Value Date of transaction
required: true
postedDate:
type: datetime
description: Posted Date of the cash transaction
required: true
transactionType:
type: string
description: Transaction type
required: true
creditDebit:
type: string
description: Direction of transaction
required: true
transactionCurrency:
type: string
description: Currency of the transaction
required: true
transactionAmount:
type: number
description: Value of the transaction in transaction currency.
required: true
cashTransactionStatus:
type: string
description: Status of transaction
required: true
transactionDescription:
type: string
description: Narrative of the transaction
required: true
quantity:
type: number
description: Nominal of the related investment transaction
required: true
settledQuantity:
type: number
description: The settled nominal of the related investment transaction
required: true
expectedSettlementDate:
type: datetime
description: The expected settlement date of the related investment transaction
required: true
investmentTransactionStatus:
type: nil | string
description: Status of the related investment transaction
required: true
transDate:
type: datetime
description: Trade date of the related investment transaction
required: true
example:
entityType: "CUSTOMER"
entityId: "20821"
entityName: "Smith, Paul"
investmentAccountNumber: "1002746"
investmentAccountName: "Paul Smith Execution Only"
cashAccountName: "Paul Smith Execution Only - Income GBP"
cashAccountNumber: "1027856"
cashAccountType: "Income"
transactionId: 5624325
valueDate: "2019-02-21T00:00:00.0000000+00:00"
postedDate: "2019-02-21T16:59:39.0000000+00:00"
transactionType: "Trade"
creditDebit: "DEBIT"
transactionCurrency: "GBP"
transactionAmount: 2590
cashTransactionStatus: "Posted"
transactionDescription: "Buy 1716 AVON CAPITAL ESTATES 1 (SBF)"
quantity: 1716
settledQuantity: 1716
expectedSettlementDate: "2019-02-21T00:00:00.0000000+00:00"
investmentTransactionStatus: "Settled"
transDate: "2019-02-18T00:00:00.0000000+00:00"
CashTransactions:
description: An array of accounts.
type: CashTransaction[]
minItems: 1
Client:
type: object
description: A client.
displayName: The properties of a client
properties:
customerId:
type: integer
description: Multrees' internal customer Id
required: true
customerName:
type: string
description: Name of the customer
required: true
customerRef:
description: The customer reference number.
type: string
required: true
customerDomicile:
description: The customer's country of domicile
type: string
required: true
customerBaseCurrency :
type: string
description: The customer's base reporting currency
required: true
customerStatus:
type: string
description: The status of the customer (e.g. Proven, Closed)
required: true
example:
customerId: 123456
customerName: "Smith, Paul"
customerRef: "ABC2356"
customerDomicile: "GB"
customerBaseCurrency: "GBP"
customerStatus: "PROVEN"
Clients:
description: An array of clients.
type: Client[]
minItems: 1
Holding:
description: A single position
properties:
extractDate:
type: datetime
description: The day the data was last updated. Normally this will be close of business of the previous day.
required: true
EntityType:
type: string
description: The type of entity searched for.
required: true
EntityId:
type: string
description: The ID of the entity searched for.
required: true
EntityName:
type: string
description: The name of the entity searched for.
required: true
baseCurrency:
type: string
description: Base currency of the holding
required: true
accountNumber:
type: string
description: Account Number
required: true
accountName:
type: string
description: Account Name
required: true
accountType:
type: string
description: Account Type
required: true
securityId:
type: integer
description: The security's unique identifier
required: true
securityName:
type: string
description: Name of security
required: true
securityCCY:
type: string
description: The local price currency of the security
required: true
ISIN:
type: string
description: The Security's ISIN
required: true
SEDOL:
type: string
description: The Security's SEDOL
required: true
quantity:
type: number
description: The traded nominal of the position
required: true
bookCostBase:
type: number
description: Book cost of security in base currency
required: true
bookCostGBP:
type: number
description: Book cost of security in GBP
required: true
bookCostEUR:
type: number
description: Book cost of security in EUR
required: true
bookCostUSD:
type: number
description: Book cost of security in USD
required: true
bookCostSec:
type: number
description: Book cost of security in security currency
required: true
marketPriceSec:
type: number
description: Market price in security currency
required: true
marketValueSec:
type: number
description: The dirty market value in security currency
required: true
marketValueGBP:
type: number
description: The dirty market value in GBP
required: true
marketValueUSD:
type: number
description: The dirty market value in USD
required: true
marketValueEUR:
type: number
description: The dirty market value in EUR
required: true
marketValueBase:
type: number
description: The dirty market value in client base currency
required: true
accruedInterestGBP:
type: number
description: Accrued intrest in GBP
required: true
accruedInterestUSD:
type: number
description: Accrued intrest in USD
required: true
accruedInterestEUR:
type: number
description: Accrued intrest in EUR
required: true
accruedInterestBase:
type: number
description: Accrued intrest in clients base currency
required: true
securityType:
type: string
description: Security type
required: true
instrumentType:
type: string
description: Instrument type
required: true
classification1:
type: string
description: First level of client specific security classifications
required: true
classification2:
type: string | nil
description: Second level of client specific security classifications
required: false
classification3:
type: string | nil
description: Thrid level of client specific security classifications
required: false
custodyAccountNumber:
type: string
description: Custody account ID or unique identifier
required: true
custodyAccountName:
type: string
description: Custody account name
required: true
yield:
type: number
description: Yield of the security
required: true
estimatedAnnualIncome:
type: number
description: Estimated annual income from the security
required: true
fxRate :
type: number
description: Current FX rate used to covert security to base currency
required: true
example:
extractDate: "2019-02-24T00:00:00.0000000+00:00"
EntityType: "GROUP"
EntityId: "100617"
EntityName: "Paul Smith"
baseCurrency: "GBP"
accountNumber: "1126704"
accountName: "Paul Smith ISA"
accountType: "Trust"
securityId: 6062
securityName: "HERONBRIDGE UK EQUITY FUND CLS'A'UNITS"
securityCCY: "GBP"
ISIN: "GB00B0TN1N90"
SEDOL: "B0TN1N9"
quantity: 8114.1823
bookCostBase: 205253.92
bookCostGBP: 205253.92
bookCostEUR: 267979.517952
bookCostUSD: 236304.32250976
bookCostSec: 205253.92
marketPriceSec: 26.279
marketValueSec: 213232.596662
marketValueGBP: 213232.596662
marketValueUSD: 278396.47820190719
marketValueEUR: 245489.99741983405
marketValueBase: 213232.596662
accruedInterestGBP: 0
accruedInterestUSD: 0
accruedInterestEUR: 0
accruedInterestBase: 0
securityType: "Other Funds 4dp"
instrumentType: "Fund"
classification1: "Equities"
classification2: "United Kingdom"
classification3: null
custodyAccountNumber: "ABCIMWSTAX"
custodyAccountName: "IMWS (Nominees) Limited a/c ABCTAX"
yield: 2.57
estimatedAnnualIncome: 5469.84257
fxRate: 1
GroupDetail:
displayName: Group Details
description: Details of a group
type: object
properties:
groupId:
description: The group Id
type: integer
required: true
groupName:
description: The name of the group
type: string
required: true
groupDescription:
description: The group's description
type: string
required: true
groupType:
description: The group type (e.g. client or portfolio)
type: string
required: true
example:
groupId: 12345,
groupName: Paul Smith Investments
description: For client reporting
groupType: Portfolio
GroupDetails:
description: : An array of groups
type: GroupDetail[]
minItems: 1
Holdings:
description: An array of holdings.
type: Holding[]
minItems: 1
Performance:
displayName: : Performance
description: : Performance figures for an entity
type: object
properties:
BrandCD:
type: string
description: Client's FI Code
required: true
EntityType:
type: string
description: The level the data is at (ACCOUNT, GROUP or CUSTOMER).
required: true
EntityID:
type: string
description: The ID of the entity.
required: true
EntityName:
type: string
description: The name of the entity that has been returned
required: true
YTD:
type: number
description: Year to date performance to close of business yesterday.
required: true
ThreeMonths:
type: number
description: 3 month performance to the end of the last quarter
required: true
SixMonths:
type: number
description: 6 month performance to the end of the last quarter
required: true
OneYear:
type: number
description: 1 year performance to the end of the last quarter
required: true
ThreeYears:
type: number
description: 3 year performance to the end of the last quarter
required: true
FiveYears:
type: number
description: 5 year performance to the end of the last quarter
required: true
SinceInception:
type: number
description: Since Inception performance to close of business yesterday.
required: true
AnnualisedReturn:
type: number
description: Annualised return to close of business yesterday.
required: true
InceptionDate:
type: datetime
description: The inception date.
required: true
Year1:
type: number
description: 1 year performance for previous year (e.g. 2018 performance in 2019)
required: true
Year2:
type: number
description: 1 year performance for two years ago (e.g. 2017 performance in 2019)
required: true
Year3:
type: number
description: 1 year performance for three years ago (e.g. 2016 performance in 2019)
required: true
Year4:
type: number
description: 1 year performance for four years ago (e.g. 2015 performance in 2019)
required: true
Year5:
type: number
description: 1 year performance for five years ago (e.g. 2014 performance in 2019)
required: true
YTDQE:
type: number
description: Year to Date performance to end of last quarter
required: true
SinceInceptionQE:
type: number
description: Since Inception performance to end of last quarter
required: true
AnnualisedReturnQE:
type: number
description: Annualised return to end of last quarter
required: true
example:
BrandCD: "ABC"
EntityType: "ACCOUNT"
EntityID: "101234"
EntityName: "Paul Smith ISA"
YTD: -2.25426374
ThreeMonths: -7.409
SixMonths: -5.9804
OneYear: -5.4487
ThreeYears: 14.2067
FiveYears: 0
SinceInception: 17.58468574
AnnualisedReturn: 4.34846258
InceptionDate: "2015-03-13T00:00:00.0000000+00:00"
Year1: 7.8859
Year2: 11.9578
Year3: 0
Year4: 0
Year5: 0
YTDQE: -5.4487
SinceInceptionQE: 14.6768
AnnualisedReturnQE: 3.66410000211
PerformanceTable:
description: : An array of performance figures for an entity
type: Performance[]
minItems: 1
InvestmentAccount:
displayName: Investment Account
description: An investment account.
type: object
properties:
accountId:
type: integer
description: The internal Multrees Investment account ID
required: true
accountNumber:
type: string
description: The Investment Account Number
required: true
accountName:
type: string
description: The investment account name.
required: true
accountType:
type: string
description: The account type
required: true
accountStatus:
type: string
description: The account Status (e.g. Active or closed)
required: true
example:
accountId: 101234
accountNumber: "1101234"
accountName: "Paul Smith ISA"
accountType: "ISA"
accountStatus: "ACTIVE"
InvestmentAccounts:
description: An array of investment accounts.
type: InvestmentAccount[]
minItems: 1
InvestmentTransaction:
displayName: Investment Transactions
description: Investment Transactions
type: object
properties:
EntityType:
type: string
description: The type of entity being searched for
required: true
EntityId:
type: string
description: The Id of the entity being searched for.
required: true
EntityName:
type: string
description: The name of the entity being searched for.
required: true
investmentTransactionId:
type: integer
description: The unique transaction ID.
required: true
investmentAccountNumber:
type: string
description: The investment account number
required: true
investmentAccountName:
type: string
description: The name of the investment account.
required: true
securityId:
type: integer
description: Security ID or unique identifier
required: true
securityName:
type: string
description: Security name
required: true
ISIN:
type: string
description: ISIN
required: true
SEDOL:
type: string
description: SEDOL
required: true
transactionType:
type: string
description: The type of transaction
required: true
transactionDate:
type: datetime
description: Date and time of transaction
required: true
settlementDate:
type: datetime
description: Date and time transaction was settled
required: true
quantity:
type: number
description: Nominal of transaction
required: true
securityCurrency:
type: string
description: The local security price currency
required: true
priceSecCurrency:
type: number
description: Price in security currency
required: true
settlementCurrency:
type: string
description: The settlement currency
required: true
settlementAmount:
type: number
description: Transaction amount in settlement currency.
required: true
grossAmountInSettlementCurrency:
type: number
description: Gross amount in settlement currency
required: true
tradeCurrency:
type: string
description: Currency of transaction
required: true
settlementAmountInTradeCurrency:
type: number
description: Settlement amount in traded currency
required: true
grossAmountInTradeCurrency:
type: number
description: Gross amount in traded currency
required: true
baseCurrency:
type: string
description: Base currency of transaction
required: true
settlementAmountInBaseCurrency:
type: number
description: Settlement amount in base currency
required: true
grossAmountInBaseCurrency:
type: number
description: Gross amount in base currency
required: true
custodyAccountNumber:
type: string
description: Custody account number
required: true
tradeStatus:
type: string
description: Status of the transaction
required: true
example:
EntityType: "CUSTOMER"
EntityId: "101234"
EntityName: "Smith, Paul"
investmentTransactionId: 1889752
investmentAccountNumber: "1104321"
investmentAccountName: "Paul Smith Execution Only"
securityId: 270540,
securityName: "ISHARES VI PLC EDGE MSCI WLD MIN VOL UCITS ETF USD ACC"
ISIN: "IE00B8FHGS14"
SEDOL: "B894QH7"
transactionType: "Buy"
transactionDate: "2018-12-11T00:00:00.0000000+00:00"
settlementDate: "2018-12-13T00:00:00.0000000+00:00"
quantity: 1725
securityCurrency: "GBP"
priceSecCurrency: 35
settlementCurrency: "GBP"
settlementAmount: 60405.19
grossAmountInSettlementCurrency: 60375
tradeCurrency: "GBP"
settlementAmountInTradeCurrency: 60405.19
grossAmountInTradeCurrency: 60375
baseCurrency: "GBP"
settlementAmountInBaseCurrency: 60405.19
grossAmountInBaseCurrency: 60375
custodyAccountNumber: "MIS CUST ABC A/c ONSHORE"
tradeStatus: "Settled"
InvestmentTransactions:
description: An array of Investment accounts.
type: InvestmentTransaction[]
minItems: 1
resourceTypes:
/AssetAllocation:
displayName: Asset Allocations
description: The Asset Allocations for a specified entity.
get:
description:
Retrieve all asset allocations for the specified entity.
Allocations are returned in client base currency, USD,
GBP, EUR and percentage weightings.
queryParameters:
LEVEL:
displayName: LEVEL
type: string
description: Defines which level the request is being made at.
example: GROUP
required: true
enum:
- ACCOUNT
- GROUP
- CUSTOMER
filter:
displayName: filter
type: string
description: The ID of the entity you are looking for.
example: 12345
required: true
responses:
200:
body:
application/json:
type: AssetAllocations
example: |
[
{
"extractDate": "2019-02-25T00:00:00.0000000+00:00",
"EntityType": "GROUP",
"EntityId": "12345",
"EntityName": "Paul Smith",
"classification1": "Fixed Income",
"baseCurrency": "GBP",
"marketValueBase": 880620.027147,
"marketValueGBP": 880620.027147,
"marketValueEUR": 1026243.757937,
"marketValueUSD": 1166733.473967,
"weighting": 12.012057159573683,
"order": 1
},
{
"extractDate": "2019-02-25T00:00:00.0000000+00:00",
"EntityType": "GROUP",
"EntityId": "12345",
"EntityName": "Paul Smith",
"classification1": "Cash",
"baseCurrency": "GBP",
"marketValueBase": 586366.738077,
"marketValueGBP": 586366.738077,
"marketValueEUR": 683331.273719,
"marketValueUSD": 776877.291278,
"weighting": 7.9983086429147754,
"order": 3
}
]
/Classifications:
displayName: Classifications
description: Returns all possible values for the classification
get:
description: Retrieve all categories in a classification
queryParameters:
ClassificationType:
diplayName: ClassificationType
type: string
description: The name of classification.
example: Asset Type
required: true
responses:
200:
body:
application/json:
type: Classifications
example: |
[
{
"ClassificationType": "Asset Type",