POST api/integration/trade/InactivateTradeQuantities

Request Information

URI Parameters

None.

Body Parameters

Collection of RelatedEntityLookup
NameDescriptionTypeAdditional information
Name

string

None.

Abbreviation

string

None.

SourceSystemId

integer

None.

SourceId

integer

None.

SourceId2

integer

None.

SourceId3

integer

None.

SourceIdString

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Abbreviation": "sample string 2",
    "SourceSystemId": 1,
    "SourceId": 1,
    "SourceId2": 1,
    "SourceId3": 1,
    "SourceIdString": "sample string 3"
  },
  {
    "Name": "sample string 1",
    "Abbreviation": "sample string 2",
    "SourceSystemId": 1,
    "SourceId": 1,
    "SourceId2": 1,
    "SourceId3": 1,
    "SourceIdString": "sample string 3"
  }
]

text/html

Sample:
[{"Name":"sample string 1","Abbreviation":"sample string 2","SourceSystemId":1,"SourceId":1,"SourceId2":1,"SourceId3":1,"SourceIdString":"sample string 3"},{"Name":"sample string 1","Abbreviation":"sample string 2","SourceSystemId":1,"SourceId":1,"SourceId2":1,"SourceId3":1,"SourceIdString":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfRelatedEntityLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Library.Integration">
  <RelatedEntityLookup>
    <Abbreviation>sample string 2</Abbreviation>
    <Name>sample string 1</Name>
    <SourceId>1</SourceId>
    <SourceId2>1</SourceId2>
    <SourceId3>1</SourceId3>
    <SourceIdString>sample string 3</SourceIdString>
    <SourceSystemId>1</SourceSystemId>
  </RelatedEntityLookup>
  <RelatedEntityLookup>
    <Abbreviation>sample string 2</Abbreviation>
    <Name>sample string 1</Name>
    <SourceId>1</SourceId>
    <SourceId2>1</SourceId2>
    <SourceId3>1</SourceId3>
    <SourceIdString>sample string 3</SourceIdString>
    <SourceSystemId>1</SourceSystemId>
  </RelatedEntityLookup>
</ArrayOfRelatedEntityLookup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RelatedEntityLookup[]'.

Response Information

Resource Description

None.