GET api/V3/ModernTrade/Sales/list?date={date}
Lists all the modern trade sales for the date given. date passed in "MM/dd/yyyy" format
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of V3.MTSalesDataName | Description | Type | Additional information |
---|---|---|---|
EmployeeName |
Name of the Employee. |
string |
None. |
EmpoyeeERPId |
Name of the Employee erp id. |
string |
None. |
OutletName |
Name of the Outlet. |
string |
None. |
BeatName |
BeatName |
string |
None. |
BeatERPId |
Beat erp id |
string |
None. |
CheckinTime |
ISR CheckIn time |
date |
None. |
CheckoutTime |
ISR CheckOut time |
date |
None. |
Region |
Region |
string |
None. |
Latitude |
Latitude |
decimal number |
None. |
Longitude |
Longitude |
decimal number |
None. |
SyncTime |
Sync time |
date |
None. |
Sales |
Product wise sale details |
Collection of V3.Sales |
None. |
Outlet | ModernTradeOutlet |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmployeeName": "sample string 1", "EmpoyeeERPId": "sample string 2", "OutletName": "sample string 3", "BeatName": "sample string 4", "BeatERPId": "sample string 5", "CheckinTime": "2025-04-04T05:10:17.7096245+00:00", "CheckoutTime": "2025-04-04T05:10:17.7096245+00:00", "Region": "sample string 6", "Latitude": 1.0, "Longitude": 1.0, "SyncTime": "2025-04-04T05:10:17.7096245+00:00", "Sales": [ { "ProductERPId": 1, "ProductName": "sample string 2", "Variant": "sample string 3", "MRP": "sample string 4", "AlternateCategory": "sample string 5", "ProductUnit": "sample string 6", "OpeningStock": 7.1, "ClosingStock": 8.1, "StockInward": 9.1, "Return": 10.1 }, { "ProductERPId": 1, "ProductName": "sample string 2", "Variant": "sample string 3", "MRP": "sample string 4", "AlternateCategory": "sample string 5", "ProductUnit": "sample string 6", "OpeningStock": 7.1, "ClosingStock": 8.1, "StockInward": 9.1, "Return": 10.1 } ], "Outlet": { "OutletGuid": "sample string 1", "Latitude": 1.0, "Longitude": 1.0, "OutletName": "sample string 2", "Address": "sample string 3", "OwnersName": "sample string 4", "OwnersNo": "sample string 5", "TIN": "sample string 6", "GSTIN": "sample string 7", "PAN": "sample string 8", "Aadhar": "sample string 9", "Email": "sample string 10", "PinCode": "sample string 11", "MarketName": "sample string 12", "City": "sample string 13", "SubCity": "sample string 14", "State": "sample string 15", "GSTRegistered": true, "BankAccountNumber": "sample string 17", "AccountHoldersName": "sample string 18", "IFSCCode": "sample string 19", "AttributeText1": "sample string 20", "AttributeText2": "sample string 21", "AttributeText3": "sample string 22", "SegmentationDisplayName": "sample string 23", "Segmentation": 24, "SegmentationErpId": "sample string 25" } }, { "EmployeeName": "sample string 1", "EmpoyeeERPId": "sample string 2", "OutletName": "sample string 3", "BeatName": "sample string 4", "BeatERPId": "sample string 5", "CheckinTime": "2025-04-04T05:10:17.7096245+00:00", "CheckoutTime": "2025-04-04T05:10:17.7096245+00:00", "Region": "sample string 6", "Latitude": 1.0, "Longitude": 1.0, "SyncTime": "2025-04-04T05:10:17.7096245+00:00", "Sales": [ { "ProductERPId": 1, "ProductName": "sample string 2", "Variant": "sample string 3", "MRP": "sample string 4", "AlternateCategory": "sample string 5", "ProductUnit": "sample string 6", "OpeningStock": 7.1, "ClosingStock": 8.1, "StockInward": 9.1, "Return": 10.1 }, { "ProductERPId": 1, "ProductName": "sample string 2", "Variant": "sample string 3", "MRP": "sample string 4", "AlternateCategory": "sample string 5", "ProductUnit": "sample string 6", "OpeningStock": 7.1, "ClosingStock": 8.1, "StockInward": 9.1, "Return": 10.1 } ], "Outlet": { "OutletGuid": "sample string 1", "Latitude": 1.0, "Longitude": 1.0, "OutletName": "sample string 2", "Address": "sample string 3", "OwnersName": "sample string 4", "OwnersNo": "sample string 5", "TIN": "sample string 6", "GSTIN": "sample string 7", "PAN": "sample string 8", "Aadhar": "sample string 9", "Email": "sample string 10", "PinCode": "sample string 11", "MarketName": "sample string 12", "City": "sample string 13", "SubCity": "sample string 14", "State": "sample string 15", "GSTRegistered": true, "BankAccountNumber": "sample string 17", "AccountHoldersName": "sample string 18", "IFSCCode": "sample string 19", "AttributeText1": "sample string 20", "AttributeText2": "sample string 21", "AttributeText3": "sample string 22", "SegmentationDisplayName": "sample string 23", "Segmentation": 24, "SegmentationErpId": "sample string 25" } } ]
application/xml, text/xml
Sample:
<ArrayOfModernTradeSales xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.V3"> <ModernTradeSales> <BeatERPId>sample string 5</BeatERPId> <BeatName>sample string 4</BeatName> <CheckinTime>2025-04-04T05:10:17.7096245+00:00</CheckinTime> <CheckoutTime>2025-04-04T05:10:17.7096245+00:00</CheckoutTime> <EmployeeName>sample string 1</EmployeeName> <EmpoyeeERPId>sample string 2</EmpoyeeERPId> <Latitude>1</Latitude> <Longitude>1</Longitude> <Outlet> <Aadhar>sample string 9</Aadhar> <AccountHoldersName>sample string 18</AccountHoldersName> <Address>sample string 3</Address> <AttributeText1>sample string 20</AttributeText1> <AttributeText2>sample string 21</AttributeText2> <AttributeText3>sample string 22</AttributeText3> <BankAccountNumber>sample string 17</BankAccountNumber> <City>sample string 13</City> <Email>sample string 10</Email> <GSTIN>sample string 7</GSTIN> <GSTRegistered>true</GSTRegistered> <IFSCCode>sample string 19</IFSCCode> <Latitude>1</Latitude> <Longitude>1</Longitude> <MarketName>sample string 12</MarketName> <OutletGuid>sample string 1</OutletGuid> <OutletName>sample string 2</OutletName> <OwnersName>sample string 4</OwnersName> <OwnersNo>sample string 5</OwnersNo> <PAN>sample string 8</PAN> <PinCode>sample string 11</PinCode> <Segmentation>24</Segmentation> <SegmentationDisplayName>sample string 23</SegmentationDisplayName> <SegmentationErpId>sample string 25</SegmentationErpId> <State>sample string 15</State> <SubCity>sample string 14</SubCity> <TIN>sample string 6</TIN> </Outlet> <OutletName>sample string 3</OutletName> <Region>sample string 6</Region> <Sales> <Sales> <AlternateCategory>sample string 5</AlternateCategory> <ClosingStock>8.1</ClosingStock> <MRP>sample string 4</MRP> <OpeningStock>7.1</OpeningStock> <ProductERPId>1</ProductERPId> <ProductName>sample string 2</ProductName> <ProductUnit>sample string 6</ProductUnit> <Return>10.1</Return> <StockInward>9.1</StockInward> <Variant>sample string 3</Variant> </Sales> <Sales> <AlternateCategory>sample string 5</AlternateCategory> <ClosingStock>8.1</ClosingStock> <MRP>sample string 4</MRP> <OpeningStock>7.1</OpeningStock> <ProductERPId>1</ProductERPId> <ProductName>sample string 2</ProductName> <ProductUnit>sample string 6</ProductUnit> <Return>10.1</Return> <StockInward>9.1</StockInward> <Variant>sample string 3</Variant> </Sales> </Sales> <SyncTime>2025-04-04T05:10:17.7096245+00:00</SyncTime> </ModernTradeSales> <ModernTradeSales> <BeatERPId>sample string 5</BeatERPId> <BeatName>sample string 4</BeatName> <CheckinTime>2025-04-04T05:10:17.7096245+00:00</CheckinTime> <CheckoutTime>2025-04-04T05:10:17.7096245+00:00</CheckoutTime> <EmployeeName>sample string 1</EmployeeName> <EmpoyeeERPId>sample string 2</EmpoyeeERPId> <Latitude>1</Latitude> <Longitude>1</Longitude> <Outlet> <Aadhar>sample string 9</Aadhar> <AccountHoldersName>sample string 18</AccountHoldersName> <Address>sample string 3</Address> <AttributeText1>sample string 20</AttributeText1> <AttributeText2>sample string 21</AttributeText2> <AttributeText3>sample string 22</AttributeText3> <BankAccountNumber>sample string 17</BankAccountNumber> <City>sample string 13</City> <Email>sample string 10</Email> <GSTIN>sample string 7</GSTIN> <GSTRegistered>true</GSTRegistered> <IFSCCode>sample string 19</IFSCCode> <Latitude>1</Latitude> <Longitude>1</Longitude> <MarketName>sample string 12</MarketName> <OutletGuid>sample string 1</OutletGuid> <OutletName>sample string 2</OutletName> <OwnersName>sample string 4</OwnersName> <OwnersNo>sample string 5</OwnersNo> <PAN>sample string 8</PAN> <PinCode>sample string 11</PinCode> <Segmentation>24</Segmentation> <SegmentationDisplayName>sample string 23</SegmentationDisplayName> <SegmentationErpId>sample string 25</SegmentationErpId> <State>sample string 15</State> <SubCity>sample string 14</SubCity> <TIN>sample string 6</TIN> </Outlet> <OutletName>sample string 3</OutletName> <Region>sample string 6</Region> <Sales> <Sales> <AlternateCategory>sample string 5</AlternateCategory> <ClosingStock>8.1</ClosingStock> <MRP>sample string 4</MRP> <OpeningStock>7.1</OpeningStock> <ProductERPId>1</ProductERPId> <ProductName>sample string 2</ProductName> <ProductUnit>sample string 6</ProductUnit> <Return>10.1</Return> <StockInward>9.1</StockInward> <Variant>sample string 3</Variant> </Sales> <Sales> <AlternateCategory>sample string 5</AlternateCategory> <ClosingStock>8.1</ClosingStock> <MRP>sample string 4</MRP> <OpeningStock>7.1</OpeningStock> <ProductERPId>1</ProductERPId> <ProductName>sample string 2</ProductName> <ProductUnit>sample string 6</ProductUnit> <Return>10.1</Return> <StockInward>9.1</StockInward> <Variant>sample string 3</Variant> </Sales> </Sales> <SyncTime>2025-04-04T05:10:17.7096245+00:00</SyncTime> </ModernTradeSales> </ArrayOfModernTradeSales>