Affluenza REST API

<back to all web services

NewOperationPutRequest

The following routes are available for this service:
PUT,OPTIONS/operationsv2/{operationId}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/NewOperationPutRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/xml
Content-Length: length

<ContractTransport.NewOperationPutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <AppKey xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">0</AppKey>
  <Token xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">String</Token>
  <IsTemporary>false</IsTemporary>
  <Operation xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Contract">
    <d2p1:AcquisitionDate>0001-01-01T00:00:00</d2p1:AcquisitionDate>
    <d2p1:Agents>
      <d2p1:Custodian>String</d2p1:Custodian>
      <d2p1:Fiduciary>String</d2p1:Fiduciary>
      <d2p1:Issuer>String</d2p1:Issuer>
    </d2p1:Agents>
    <d2p1:AmortizationDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:AmortizationDates>
    <d2p1:AmortizationPercentages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>0</d3p1:double>
    </d2p1:AmortizationPercentages>
    <d2p1:Bonus>0</d2p1:Bonus>
    <d2p1:BrokerageFee>0</d2p1:BrokerageFee>
    <d2p1:CashFlow>
      <d2p1:AmortizationRelativeTo>String</d2p1:AmortizationRelativeTo>
      <d2p1:GeneratedCashFlow>
        <d2p1:GeneratedBaseCashFlowResource>
          <d2p1:Amortization>0</d2p1:Amortization>
          <d2p1:AmortizationPercentage>0</d2p1:AmortizationPercentage>
          <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
          <d2p1:Interest>0</d2p1:Interest>
        </d2p1:GeneratedBaseCashFlowResource>
      </d2p1:GeneratedCashFlow>
      <d2p1:GenerationRules>
        <d2p1:Amortization>
          <d2p1:PeriodLength>0</d2p1:PeriodLength>
          <d2p1:PeriodUnit>String</d2p1:PeriodUnit>
          <d2p1:ThresholdDate>0001-01-01T00:00:00</d2p1:ThresholdDate>
        </d2p1:Amortization>
        <d2p1:DateAdjustment>String</d2p1:DateAdjustment>
        <d2p1:HasReset>false</d2p1:HasReset>
        <d2p1:Interest>
          <d2p1:PeriodLength>0</d2p1:PeriodLength>
          <d2p1:PeriodUnit>String</d2p1:PeriodUnit>
          <d2p1:ThresholdDate>0001-01-01T00:00:00</d2p1:ThresholdDate>
        </d2p1:Interest>
        <d2p1:Rule>String</d2p1:Rule>
      </d2p1:GenerationRules>
      <d2p1:Interest>
        <d2p1:Convention>String</d2p1:Convention>
        <d2p1:Rate>0</d2p1:Rate>
        <d2p1:TermConvention>String</d2p1:TermConvention>
      </d2p1:Interest>
    </d2p1:CashFlow>
    <d2p1:Category>String</d2p1:Category>
    <d2p1:ContractWarrantyValue>0</d2p1:ContractWarrantyValue>
    <d2p1:CounterParty>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Type>String</d2p1:Type>
    </d2p1:CounterParty>
    <d2p1:DataSource>String</d2p1:DataSource>
    <d2p1:Duties>
      <d2p1:IOFTVM>false</d2p1:IOFTVM>
      <d2p1:IR>false</d2p1:IR>
    </d2p1:Duties>
    <d2p1:Emolument>0</d2p1:Emolument>
    <d2p1:ExternalKeys>
      <d2p1:Contract>String</d2p1:Contract>
      <d2p1:ERP>String</d2p1:ERP>
      <d2p1:ISIN>String</d2p1:ISIN>
    </d2p1:ExternalKeys>
    <d2p1:FairValue>0</d2p1:FairValue>
    <d2p1:HedgeAccounting>String</d2p1:HedgeAccounting>
    <d2p1:Id>00000000-0000-0000-0000-000000000000</d2p1:Id>
    <d2p1:Indexer>
      <d2p1:AnniversaryType>String</d2p1:AnniversaryType>
      <d2p1:Currency>String</d2p1:Currency>
      <d2p1:Fixing>
        <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
        <d2p1:OtherDate>0001-01-01T00:00:00</d2p1:OtherDate>
        <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
        <d2p1:Ticker>String</d2p1:Ticker>
      </d2p1:Fixing>
      <d2p1:IndexPercentage>0</d2p1:IndexPercentage>
      <d2p1:IndexType>String</d2p1:IndexType>
      <d2p1:IndexerStringPercentage>String</d2p1:IndexerStringPercentage>
      <d2p1:PaymentDate>0001-01-01T00:00:00</d2p1:PaymentDate>
      <d2p1:ProRata>String</d2p1:ProRata>
      <d2p1:Quotation>
        <d2p1:InitialValue>0</d2p1:InitialValue>
        <d2p1:Position>String</d2p1:Position>
        <d2p1:Pricing>String</d2p1:Pricing>
      </d2p1:Quotation>
      <d2p1:Ticker>String</d2p1:Ticker>
    </d2p1:Indexer>
    <d2p1:Instrument>String</d2p1:Instrument>
    <d2p1:InterestFineRate>0</d2p1:InterestFineRate>
    <d2p1:InterestFineValue>0</d2p1:InterestFineValue>
    <d2p1:InterestLateRate>0</d2p1:InterestLateRate>
    <d2p1:MaturityDate>0001-01-01T00:00:00</d2p1:MaturityDate>
    <d2p1:Notional>
      <d2p1:Base>0</d2p1:Base>
      <d2p1:Quantity>0</d2p1:Quantity>
      <d2p1:Type>String</d2p1:Type>
    </d2p1:Notional>
    <d2p1:Observation>String</d2p1:Observation>
    <d2p1:PaymentType>String</d2p1:PaymentType>
    <d2p1:PortfolioId>00000000-0000-0000-0000-000000000000</d2p1:PortfolioId>
    <d2p1:Position>String</d2p1:Position>
    <d2p1:Premium>0</d2p1:Premium>
    <d2p1:Settlement>
      <d2p1:Currency>String</d2p1:Currency>
      <d2p1:DeltaExchangeCurrency>String</d2p1:DeltaExchangeCurrency>
      <d2p1:Fixing>
        <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
        <d2p1:OtherDate>0001-01-01T00:00:00</d2p1:OtherDate>
        <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
        <d2p1:Ticker>String</d2p1:Ticker>
      </d2p1:Fixing>
      <d2p1:Quotation>
        <d2p1:InitialValue>0</d2p1:InitialValue>
        <d2p1:Position>String</d2p1:Position>
        <d2p1:Pricing>String</d2p1:Pricing>
      </d2p1:Quotation>
    </d2p1:Settlement>
    <d2p1:Simulation>false</d2p1:Simulation>
    <d2p1:StrAmortizationPercentages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:StrAmortizationPercentages>
    <d2p1:StrSettlementType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:StrSettlementType>
    <d2p1:Taxes>
      <d2p1:FeeApplicationType>String</d2p1:FeeApplicationType>
      <d2p1:FeeDeferredType>String</d2p1:FeeDeferredType>
      <d2p1:FeeUpFront>
        <d2p1:Type>String</d2p1:Type>
        <d2p1:Value>0</d2p1:Value>
      </d2p1:FeeUpFront>
      <d2p1:IOFApplicationType>String</d2p1:IOFApplicationType>
      <d2p1:IOFDeferredType>String</d2p1:IOFDeferredType>
      <d2p1:Unfunded>
        <d2p1:Type>String</d2p1:Type>
        <d2p1:Value>0</d2p1:Value>
      </d2p1:Unfunded>
    </d2p1:Taxes>
    <d2p1:UnitPrice>0</d2p1:UnitPrice>
    <d2p1:Warranty>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Type>String</d2p1:Type>
    </d2p1:Warranty>
  </Operation>
  <OperationId>00000000-0000-0000-0000-000000000000</OperationId>
  <Parcela>String</Parcela>
  <PaymentDate>0001-01-01T00:00:00</PaymentDate>
  <Status>String</Status>
</ContractTransport.NewOperationPutRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ContractTransport.NewOperationPutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <_x003C_ErrorMessage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField>
    <_x003C_StatusCode_x003E_k__BackingField>0</_x003C_StatusCode_x003E_k__BackingField>
  </_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Response_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">false</_x003C_Response_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">Success</_x003C_Status_x003E_k__BackingField>
</ContractTransport.NewOperationPutResponse>