GET Integrations/CSV/V1/GetDailySales
Returns the daily sales export data
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
SiteIDs | Collection of integer |
List of Site IDs to get export data for |
None. |
StartDate | date |
Start time range for the export |
None. |
EndDate | date |
End time range for the export |
None. |
Body Parameters
CSVExportRequestCommandName | Type | Description | Additional information |
---|---|---|---|
SiteIDs | Collection of integer |
List of Site IDs to get export data for |
None. |
StartDate | date |
Start time range for the export |
None. |
EndDate | date |
End time range for the export |
None. |
Request Formats
application/json, text/json
Sample:
{ "SiteIDs": [ 1, 2 ], "StartDate": "2024-11-21T06:22:50.5930294+00:00", "EndDate": "2024-11-21T06:22:50.5930294+00:00" }
application/xml, text/xml
Sample:
<CSVExportRequestCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <EndDate>2024-11-21T06:22:50.5930294+00:00</EndDate> <SiteIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SiteIDs> <StartDate>2024-11-21T06:22:50.5930294+00:00</StartDate> </CSVExportRequestCommand>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Collection of DailySalesExportLineDtoResponse Formats
application/json, text/json
Sample:
[ [ { "Site": "sample string 1", "ZReportID": 2, "Reference": "sample string 3", "CompanyCode": "sample string 4", "SalesAccountCode": "sample string 5", "ZReportDateTime": "2024-11-21T06:22:50.6086508+00:00", "InvoiceLineType": "sample string 7", "CurrencyCode": "sample string 8", "Description": "sample string 9", "AccountCode": "sample string 10", "CostCentreCode": "sample string 11", "Net": 12.0, "Tax": 13.0, "TaxCode": "sample string 14", "NeptuneBookingRef": "sample string 15" }, { "Site": "sample string 1", "ZReportID": 2, "Reference": "sample string 3", "CompanyCode": "sample string 4", "SalesAccountCode": "sample string 5", "ZReportDateTime": "2024-11-21T06:22:50.6086508+00:00", "InvoiceLineType": "sample string 7", "CurrencyCode": "sample string 8", "Description": "sample string 9", "AccountCode": "sample string 10", "CostCentreCode": "sample string 11", "Net": 12.0, "Tax": 13.0, "TaxCode": "sample string 14", "NeptuneBookingRef": "sample string 15" } ], [ { "Site": "sample string 1", "ZReportID": 2, "Reference": "sample string 3", "CompanyCode": "sample string 4", "SalesAccountCode": "sample string 5", "ZReportDateTime": "2024-11-21T06:22:50.6086508+00:00", "InvoiceLineType": "sample string 7", "CurrencyCode": "sample string 8", "Description": "sample string 9", "AccountCode": "sample string 10", "CostCentreCode": "sample string 11", "Net": 12.0, "Tax": 13.0, "TaxCode": "sample string 14", "NeptuneBookingRef": "sample string 15" }, { "Site": "sample string 1", "ZReportID": 2, "Reference": "sample string 3", "CompanyCode": "sample string 4", "SalesAccountCode": "sample string 5", "ZReportDateTime": "2024-11-21T06:22:50.6086508+00:00", "InvoiceLineType": "sample string 7", "CurrencyCode": "sample string 8", "Description": "sample string 9", "AccountCode": "sample string 10", "CostCentreCode": "sample string 11", "Net": 12.0, "Tax": 13.0, "TaxCode": "sample string 14", "NeptuneBookingRef": "sample string 15" } ] ]
application/xml, text/xml
Sample:
<ArrayOfArrayOfDailySalesExportLineDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.Integrations.Csv.Models.Dto"> <ArrayOfDailySalesExportLineDto> <DailySalesExportLineDto> <AccountCode>sample string 10</AccountCode> <CompanyCode>sample string 4</CompanyCode> <CostCentreCode>sample string 11</CostCentreCode> <CurrencyCode>sample string 8</CurrencyCode> <Description>sample string 9</Description> <InvoiceLineType>sample string 7</InvoiceLineType> <NeptuneBookingRef>sample string 15</NeptuneBookingRef> <Net>12</Net> <Reference>sample string 3</Reference> <SalesAccountCode>sample string 5</SalesAccountCode> <Site>sample string 1</Site> <Tax>13</Tax> <TaxCode>sample string 14</TaxCode> <ZReportDateTime>2024-11-21T06:22:50.6086508+00:00</ZReportDateTime> <ZReportID>2</ZReportID> </DailySalesExportLineDto> <DailySalesExportLineDto> <AccountCode>sample string 10</AccountCode> <CompanyCode>sample string 4</CompanyCode> <CostCentreCode>sample string 11</CostCentreCode> <CurrencyCode>sample string 8</CurrencyCode> <Description>sample string 9</Description> <InvoiceLineType>sample string 7</InvoiceLineType> <NeptuneBookingRef>sample string 15</NeptuneBookingRef> <Net>12</Net> <Reference>sample string 3</Reference> <SalesAccountCode>sample string 5</SalesAccountCode> <Site>sample string 1</Site> <Tax>13</Tax> <TaxCode>sample string 14</TaxCode> <ZReportDateTime>2024-11-21T06:22:50.6086508+00:00</ZReportDateTime> <ZReportID>2</ZReportID> </DailySalesExportLineDto> </ArrayOfDailySalesExportLineDto> <ArrayOfDailySalesExportLineDto> <DailySalesExportLineDto> <AccountCode>sample string 10</AccountCode> <CompanyCode>sample string 4</CompanyCode> <CostCentreCode>sample string 11</CostCentreCode> <CurrencyCode>sample string 8</CurrencyCode> <Description>sample string 9</Description> <InvoiceLineType>sample string 7</InvoiceLineType> <NeptuneBookingRef>sample string 15</NeptuneBookingRef> <Net>12</Net> <Reference>sample string 3</Reference> <SalesAccountCode>sample string 5</SalesAccountCode> <Site>sample string 1</Site> <Tax>13</Tax> <TaxCode>sample string 14</TaxCode> <ZReportDateTime>2024-11-21T06:22:50.6086508+00:00</ZReportDateTime> <ZReportID>2</ZReportID> </DailySalesExportLineDto> <DailySalesExportLineDto> <AccountCode>sample string 10</AccountCode> <CompanyCode>sample string 4</CompanyCode> <CostCentreCode>sample string 11</CostCentreCode> <CurrencyCode>sample string 8</CurrencyCode> <Description>sample string 9</Description> <InvoiceLineType>sample string 7</InvoiceLineType> <NeptuneBookingRef>sample string 15</NeptuneBookingRef> <Net>12</Net> <Reference>sample string 3</Reference> <SalesAccountCode>sample string 5</SalesAccountCode> <Site>sample string 1</Site> <Tax>13</Tax> <TaxCode>sample string 14</TaxCode> <ZReportDateTime>2024-11-21T06:22:50.6086508+00:00</ZReportDateTime> <ZReportID>2</ZReportID> </DailySalesExportLineDto> </ArrayOfDailySalesExportLineDto> </ArrayOfArrayOfDailySalesExportLineDto>