/api/accountweightings

Update the weighting of one model weighting and redistribute it to one or more other models.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This method allows you to redistribute the weighting from one model to one or more other models. The request object takes an origin model Id and the percentage of that weighting to redistribute, as well as an array of new model weightings.

A successful OK response will contain the account object with it's new weightings.

🚧

Account Weightings

If the weightings don't total 100% the API will return a 400 error with the incorrect total.

Body Params
string
required

The code of the Account to be updated.

string
required

The ModelCode of the Model from which you wish to redistribute some or all of it's weighting.

double
required

The percentage of the origin model's current weighting you wish to re-distribute.

NewModelWeights
array of objects
required

An array of model weights with the Id of the model and the percentage of the origin model's weighting to be allocated to the new model.

NewModelWeights*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain