POST api/Sales/Upload

UploadSalesReport

Request Information

Parameters

NameDescriptionAdditional information
request

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "BusinessUnitID": "sample string 1",
  "BusinessUnitName": "sample string 2",
  "LeaseNumber": 3,
  "TenantName": "sample string 4",
  "TenantEmail": "sample string 5",
  "TenantPhone": "sample string 6",
  "Period": "sample string 7",
  "Year": 8,
  "Jan": 9.0,
  "Feb": 10.0,
  "Mar": 11.0,
  "Apr": 12.0,
  "May": 13.0,
  "Jun": 14.0,
  "Jul": 15.0,
  "Aug": 16.0,
  "Sep": 17.0,
  "Oct": 18.0,
  "Nov": 19.0,
  "Dec": 20.0,
  "Q1": 21.0,
  "Q2": 22.0,
  "Q3": 23.0,
  "Q4": 24.0,
  "H1": 25.0,
  "H2": 26.0,
  "Annual": 27.0,
  "Comments": "sample string 28",
  "FileName": "sample string 29",
  "File": "sample string 30"
}

text/javascript

Sample:
{"BusinessUnitID":"sample string 1","BusinessUnitName":"sample string 2","LeaseNumber":3,"TenantName":"sample string 4","TenantEmail":"sample string 5","TenantPhone":"sample string 6","Period":"sample string 7","Year":8,"Jan":9.0,"Feb":10.0,"Mar":11.0,"Apr":12.0,"May":13.0,"Jun":14.0,"Jul":15.0,"Aug":16.0,"Sep":17.0,"Oct":18.0,"Nov":19.0,"Dec":20.0,"Q1":21.0,"Q2":22.0,"Q3":23.0,"Q4":24.0,"H1":25.0,"H2":26.0,"Annual":27.0,"Comments":"sample string 28","FileName":"sample string 29","File":"sample string 30"}

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 'SalesReportDocumentRequest'.