POST api/Post_ADSRData

Request Information

URI Parameters

None.

Body Parameters

MADSRDataLsts
NameDescriptionTypeAdditional information
ErrorMessage

string

None.

ADSRData

Collection of MADSRData

None.

Request Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "ADSRData": [
    {
      "Date": "sample string 1",
      "BrandName": "sample string 2",
      "GrossTotalAmount": 3.0,
      "NetTotalAmount": 4.0,
      "InvoiceCount": 5,
      "TotalTax": 6.0,
      "NetSaleAmount": 7.0,
      "SaleTax": 8.0,
      "SaleDiscount": 9.0,
      "RefundAmount": 10.0,
      "RefundDiscount": 11.0,
      "RefundTax": 12.0,
      "NetRefundAmount": 13.0,
      "LocationCode": "sample string 14",
      "PrimaryKey": "sample string 15"
    },
    {
      "Date": "sample string 1",
      "BrandName": "sample string 2",
      "GrossTotalAmount": 3.0,
      "NetTotalAmount": 4.0,
      "InvoiceCount": 5,
      "TotalTax": 6.0,
      "NetSaleAmount": 7.0,
      "SaleTax": 8.0,
      "SaleDiscount": 9.0,
      "RefundAmount": 10.0,
      "RefundDiscount": 11.0,
      "RefundTax": 12.0,
      "NetRefundAmount": 13.0,
      "LocationCode": "sample string 14",
      "PrimaryKey": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<MADSRDataLsts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IndmercTallySQL.Models">
  <ADSRData>
    <MADSRData>
      <BrandName>sample string 2</BrandName>
      <Date>sample string 1</Date>
      <GrossTotalAmount>3</GrossTotalAmount>
      <InvoiceCount>5</InvoiceCount>
      <LocationCode>sample string 14</LocationCode>
      <NetRefundAmount>13</NetRefundAmount>
      <NetSaleAmount>7</NetSaleAmount>
      <NetTotalAmount>4</NetTotalAmount>
      <PrimaryKey>sample string 15</PrimaryKey>
      <RefundAmount>10</RefundAmount>
      <RefundDiscount>11</RefundDiscount>
      <RefundTax>12</RefundTax>
      <SaleDiscount>9</SaleDiscount>
      <SaleTax>8</SaleTax>
      <TotalTax>6</TotalTax>
    </MADSRData>
    <MADSRData>
      <BrandName>sample string 2</BrandName>
      <Date>sample string 1</Date>
      <GrossTotalAmount>3</GrossTotalAmount>
      <InvoiceCount>5</InvoiceCount>
      <LocationCode>sample string 14</LocationCode>
      <NetRefundAmount>13</NetRefundAmount>
      <NetSaleAmount>7</NetSaleAmount>
      <NetTotalAmount>4</NetTotalAmount>
      <PrimaryKey>sample string 15</PrimaryKey>
      <RefundAmount>10</RefundAmount>
      <RefundDiscount>11</RefundDiscount>
      <RefundTax>12</RefundTax>
      <SaleDiscount>9</SaleDiscount>
      <SaleTax>8</SaleTax>
      <TotalTax>6</TotalTax>
    </MADSRData>
  </ADSRData>
  <ErrorMessage>sample string 1</ErrorMessage>
</MADSRDataLsts>

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.