Skip to main content
POST
Upload Position

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The position upload request.

For /api/Position/PositionUpload, omitting both provider selectors uses the Derivitec provider. Access to the selected provider is required. The /api/LegacyPosition/PositionUpload operation ignores both provider selectors.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Positions.ApiPositionUploadRequest, Derivitec.Web.Core
market_data_environment_name
string | null

Name of the market-data environment. Supply this name or provider_id, not both.

provider_id
string | null

Opaque market-data provider identifier. Supply this identifier or market_data_environment_name, not both.

create_missing_books
boolean
file_template
enum<string>
Available options:
derivitec_mixed,
derivitec_by_security_type,
eze
use_best_effort
boolean
positions
object[] | null

Response

Success

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Positions.ApiPositionUploadResponse, Derivitec.Web.Core
is_success
boolean
error_messages
string[] | null
results
object[] | null