Depending on applicable regulations or business limitations, specific API requests may not be available for your use.
Sync a Model
This request creates a Sync request for a specific model.
Request Data Fields
No request data fields should be provided.
POST /restapi/models/sync/1234567890123 HTTP/1.1
Returns the model's folioOid upon a successful placement of a Sync request.
HTTP/1.1 200 OK
Date: Fri, 23 Oct 2015 20:15:08 GMT
The following error codes may be returned.
|Open orders exist for the Model Folio.
|The order contained Non-tradeable securities.
|An error occurred during order generation.
|There are corporate actions in progress for at least one security in the Model Folio.
|No orders were generated for the Sync request.
|No buy or sell orders were generated for the Sync request.
|A trade was not allowed.
|A security sell rule was violated.
|Not enough cash was in the account for buy orders.
|Mutual fund minimum rule violated.
|An error occurred while generating orders.
|An error occurred while posting Folio order.
|An error occurred while placing the Sync request.
The request is made using the folioOid of the model, and only the member who created the model can sync the model.
- Clarified Request URL Syntax
- Added Notes