GET api/Sale/GetTodaySale

Get current Day sale URL: api/GetTodaySale

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Return Report View model

ReportViewModel
NameDescriptionTypeAdditional information
DailySale

DailySale

None.

MonthlySale

MonthlySale

None.

Response Formats

application/json, text/json

Sample:
{
  "DailySale": {
    "$id": "2",
    "Description": "sample string 1",
    "GrandTotal": 2.0,
    "NetTotal": 3.0,
    "OutletSale": [
      {
        "$id": "3",
        "OutletId": "5046ea04-ac02-4345-8511-960ae103b4f1",
        "SaleDate": "2024-05-16T08:43:49.4721483+02:00",
        "OutletName": "sample string 3",
        "GrossTotal": 4.0,
        "NetTotal": 5.0
      },
      {
        "$ref": "3"
      }
    ]
  },
  "MonthlySale": {
    "$id": "4",
    "Description": "sample string 1",
    "SaleMonth": "sample string 2",
    "GrandTotal": 3.0,
    "NetTotal": 4.0,
    "OutletSale": [
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  }
}