Depending on applicable regulations or business limitations, specific API requests may not be available for your use.

Update Target Weights

This request updates the target percentage weights for a folio in a member’s brokerage account.

Request URL

Syntax PUT /resatpi/accounts/{accountnumber}/folios/{folionumber}/targetweights
Example URL https://api.uat.foliofn.com/restapi/accounts/RA1234ABCD/folios/RA1234ABCD03/targetweights

Response Data Fields

Field Description
ticker The symbol of the security for which the target weight is being updated.
targetWeight The security’s new target percentage weight in the folio. The sum of the new target weights must add up to 100%.

Request Example


PUT /restapi/accounts/RA1234ABCD/folios/RA1234ABCD03/targetweights HTTP/1.1
[
{
  "targetWeight" : "0.01",
  "ticker" : "A"
}, {
  "targetWeight" : "1",
  "ticker" : "GOOG"
}, {
  "targetWeight" : "20.1",
  "ticker" : "F"
}, {
  "targetWeight" : "10",
  "ticker" : "MSFT"
}, {
  "targetWeight" : "28.73",
  "ticker" : "T"
}, {
  "targetWeight" : "40.16",
  "ticker" : "X"
}
]

Response Example


HTTP/1.1 200 OK
X-Powered-By: Servlet/2.5
Server: Sun GlassFish Enterprise Server v2.1.1
Location: https://api.uat.foliofn.com/restapi/accounts/RA1234ABCD/folios/RA1234ABCD03/targetWeights
Content-Type: application/json
Transfer-Encoding: chunked
Date: Sat, 05 July 2014 17:51:06 GMT

Getting Started

REST APIs

Resources