POST Api/Market/AddMarketFileData

Request Information

URI Parameters

None.

Body Parameters

UploadMarketDataRequest
NameDescriptionTypeAdditional information
UploadType

UploadType

None.

MarketData

Collection of MarketsExcel

None.

Request Formats

application/json, text/json

Sample:
{
  "UploadType": 0,
  "MarketData": [
    {
      "Market": "sample string 1",
      "RegionCountry": "sample string 2",
      "InitiatingCountry": "sample string 3",
      "Email": "sample string 4",
      "IsActive": true,
      "Notes": "sample string 6",
      "Row": 7
    },
    {
      "Market": "sample string 1",
      "RegionCountry": "sample string 2",
      "InitiatingCountry": "sample string 3",
      "Email": "sample string 4",
      "IsActive": true,
      "Notes": "sample string 6",
      "Row": 7
    }
  ]
}

application/xml, text/xml

Sample:
<UploadMarketDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices.Request">
  <MarketData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels.NAServices">
    <d2p1:MarketsExcel>
      <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">7</Row>
      <d2p1:Email>sample string 4</d2p1:Email>
      <d2p1:InitiatingCountry>sample string 3</d2p1:InitiatingCountry>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Market>sample string 1</d2p1:Market>
      <d2p1:Notes>sample string 6</d2p1:Notes>
      <d2p1:RegionCountry>sample string 2</d2p1:RegionCountry>
    </d2p1:MarketsExcel>
    <d2p1:MarketsExcel>
      <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">7</Row>
      <d2p1:Email>sample string 4</d2p1:Email>
      <d2p1:InitiatingCountry>sample string 3</d2p1:InitiatingCountry>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Market>sample string 1</d2p1:Market>
      <d2p1:Notes>sample string 6</d2p1:Notes>
      <d2p1:RegionCountry>sample string 2</d2p1:RegionCountry>
    </d2p1:MarketsExcel>
  </MarketData>
  <UploadType>AppendInExisting</UploadType>
</UploadMarketDataRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.