PUT api/Broker/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Broker
NameDescriptionTypeAdditional information
Id

integer

None.

AccountNumber

string

None.

Code

string

None.

FundCode

string

None.

BrokerTypeCode

string

None.

Description

string

None.

LocationCode

string

None.

IsInactive

boolean

None.

LocationId

integer

None.

CashAccountId

integer

None.

CollateralPoolId

integer

None.

ExportCode

string

None.

GiveUpAcctount

integer

None.

IsPositionRecipient

boolean

None.

PositionPath

string

None.

PositionReportSchedule

string

None.

CashAccount

CashAccount

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AccountNumber": "sample string 2",
  "Code": "sample string 3",
  "FundCode": "sample string 4",
  "BrokerTypeCode": "sample string 5",
  "Description": "sample string 6",
  "LocationCode": "sample string 7",
  "IsInactive": true,
  "LocationId": 1,
  "CashAccountId": 1,
  "CollateralPoolId": 1,
  "ExportCode": "sample string 9",
  "GiveUpAcctount": 1,
  "IsPositionRecipient": true,
  "PositionPath": "sample string 11",
  "PositionReportSchedule": "sample string 12",
  "CashAccount": {
    "AccountId": 1,
    "ExternalAccountId": "sample string 2",
    "FundCode": "sample string 3",
    "Party": "sample string 4",
    "Spread": 5.1,
    "IsPbk": true,
    "CalculatedInterest": true,
    "TradeGroupId": 8,
    "IsInactive": true,
    "BrokerAccountId": 1,
    "Counter": "sample string 10",
    "AccountType": "sample string 11",
    "CurrencyCode": "sample string 12",
    "CollateralPoolId": 1,
    "Fund": {
      "Code": "sample string 1",
      "FullName": "sample string 2",
      "InactiveIndicator": true,
      "SkipPLIndicator": true,
      "CompanyCode": "sample string 5",
      "TradeExport": "sample string 6",
      "PlPath": "sample string 7",
      "TradesPath": "sample string 8",
      "PricingPath": "sample string 9",
      "PositionPath": "sample string 10",
      "IsManaged": true,
      "IsUmbrella": true,
      "UmbrellaCode": "sample string 13",
      "AllowTrades": true,
      "SkipPosition": true,
      "AccountFamily": "sample string 16",
      "PlTypeCode": "sample string 17",
      "WebContent": "sample string 18",
      "FundDescription": "sample string 19",
      "NonTaxAccount": true,
      "Capacity": 1.0,
      "AssetBaseCode": "sample string 21",
      "GoodFaithIndicator": true,
      "TaxLotMethod": "sample string 23",
      "InvestorDescription": "sample string 24",
      "InvestingStyle": "sample string 25",
      "PerformanceCashMode": "sample string 26",
      "PerfDurationIndex": "sample string 27",
      "IsMam": true,
      "IsEmm": true
    },
    "TradeGroup": {
      "Id": 1,
      "Description": "sample string 2",
      "StrategyName": "sample string 3",
      "SubType": "sample string 4",
      "TradeGroupDate": "2019-07-21T00:17:08.8871415+00:00",
      "IsClosed": true,
      "SpreadCurveBias": "sample string 5",
      "SpreadBias": "sample string 6",
      "CurveBias": "sample string 7",
      "TraderId": 1,
      "ClosedDate": "2019-07-21T00:17:08.8871415+00:00",
      "ParentId": 1,
      "StrategyId": 1,
      "LotId": 1,
      "Currency": "sample string 8",
      "Factors": "sample string 9",
      "InitialSpread": 1.0,
      "TargetSpread": 1.0,
      "Bucket": "sample string 10",
      "IsInternal": true,
      "ForwardDate": "2019-07-21T00:17:08.8871415+00:00",
      "NonRepo": true,
      "Algo": true,
      "Strategy": {
        "Id": 1,
        "Name": "sample string 2",
        "Legs": 64,
        "StrategyGroupId": 4,
        "IsInactive": true,
        "StrategyGroup": {
          "Name": "sample string 1",
          "Id": 2,
          "BusinessLineId": 3,
          "IsInactive": true,
          "BusinessLine": {
            "Id": 1,
            "Name": "sample string 2",
            "IsInactive": true
          }
        }
      }
    }
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.