POST SalesBySalesRepresentativeReport/GetEmployeeDetails?customerId={customerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
Required |
Body Parameters
IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.ReportViewModelName | Description | Type | Additional information |
---|---|---|---|
SelectedCompanies | Collection of integer |
None. |
|
SelectedSalePerson | integer |
None. |
|
TopRecords | integer |
None. |
|
SelectedProductType | IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.ProductTypeFilter |
None. |
|
ExcludeGiftCards | boolean |
None. |
|
ShowDetails | boolean |
None. |
|
Start | date |
None. |
|
End | date |
None. |
|
StartDateObjectString | string |
None. |
|
EndDateObjectString | string |
None. |
|
SkipTimeZoneConvertion | boolean |
None. |
|
ForceImmediateExport | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "SelectedCompanies": [ 1, 2 ], "SelectedSalePerson": 1, "TopRecords": 1, "SelectedProductType": 1, "ExcludeGiftCards": true, "ShowDetails": true, "Start": "2025-04-03T22:36:11.1298648-04:00", "End": "2025-04-03T22:36:11.1298648-04:00", "StartDateObjectString": "{\"year\":2025,\"month\":4,\"date\":3,\"hours\":22,\"minutes\":36,\"seconds\":11,\"miliseconds\":129}", "EndDateObjectString": "{\"year\":2025,\"month\":4,\"date\":3,\"hours\":22,\"minutes\":36,\"seconds\":11,\"miliseconds\":129}", "SkipTimeZoneConvertion": true, "ForceImmediateExport": true }
application/xml, text/xml
Sample:
<ReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport"> <_x003C_End_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2025-04-03T22:36:11.1298648-04:00</_x003C_End_x003E_k__BackingField> <_x003C_ForceImmediateExport_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_ForceImmediateExport_x003E_k__BackingField> <_x003C_SkipTimeZoneConvertion_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">true</_x003C_SkipTimeZoneConvertion_x003E_k__BackingField> <_x003C_Start_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports">2025-04-03T22:36:11.1298648-04:00</_x003C_Start_x003E_k__BackingField> <_x003C_ExcludeGiftCards_x003E_k__BackingField>true</_x003C_ExcludeGiftCards_x003E_k__BackingField> <_x003C_SelectedCompanies_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </_x003C_SelectedCompanies_x003E_k__BackingField> <_x003C_SelectedProductType_x003E_k__BackingField>Services</_x003C_SelectedProductType_x003E_k__BackingField> <_x003C_SelectedSalePerson_x003E_k__BackingField>1</_x003C_SelectedSalePerson_x003E_k__BackingField> <_x003C_ShowDetails_x003E_k__BackingField>true</_x003C_ShowDetails_x003E_k__BackingField> <_x003C_TopRecords_x003E_k__BackingField>1</_x003C_TopRecords_x003E_k__BackingField> </ReportViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IConnect.Core.PagedListOfIConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.DetailReportItemName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.DetailReportItem |
None. |
|
Footer | IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.DetailReportItem |
None. |
|
PageFooter | IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport.DetailReportItem |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
TotalRows | integer |
None. |
|
TotalPages | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "Date": "2025-04-03T22:36:11.1298648-04:00", "OrderId": 2, "PaymentMethodIds": [ 1, 2 ], "PaymentMethods": "sample string 3", "EmployeeName": "sample string 4", "EmployeeId": 1, "SalesPersonName": "sample string 5", "CustomerName": "sample string 6", "ProductName": "sample string 7", "Sku": "sample string 8", "Category": "sample string 9", "Price": 10.0, "Quantity": 11.0, "Discount": 12.0, "Total": 13.0, "Commission": 14.0, "CommissionPercent": 1.0, "DateText": "sample string 15" }, { "Date": "2025-04-03T22:36:11.1298648-04:00", "OrderId": 2, "PaymentMethodIds": [ 1, 2 ], "PaymentMethods": "sample string 3", "EmployeeName": "sample string 4", "EmployeeId": 1, "SalesPersonName": "sample string 5", "CustomerName": "sample string 6", "ProductName": "sample string 7", "Sku": "sample string 8", "Category": "sample string 9", "Price": 10.0, "Quantity": 11.0, "Discount": 12.0, "Total": 13.0, "Commission": 14.0, "CommissionPercent": 1.0, "DateText": "sample string 15" } ], "Footer": { "Date": "2025-04-03T22:36:11.1298648-04:00", "OrderId": 2, "PaymentMethodIds": [ 1, 2 ], "PaymentMethods": "sample string 3", "EmployeeName": "sample string 4", "EmployeeId": 1, "SalesPersonName": "sample string 5", "CustomerName": "sample string 6", "ProductName": "sample string 7", "Sku": "sample string 8", "Category": "sample string 9", "Price": 10.0, "Quantity": 11.0, "Discount": 12.0, "Total": 13.0, "Commission": 14.0, "CommissionPercent": 1.0, "DateText": "sample string 15" }, "PageFooter": { "Date": "2025-04-03T22:36:11.1298648-04:00", "OrderId": 2, "PaymentMethodIds": [ 1, 2 ], "PaymentMethods": "sample string 3", "EmployeeName": "sample string 4", "EmployeeId": 1, "SalesPersonName": "sample string 5", "CustomerName": "sample string 6", "ProductName": "sample string 7", "Sku": "sample string 8", "Category": "sample string 9", "Price": 10.0, "Quantity": 11.0, "Discount": 12.0, "Total": 13.0, "Commission": 14.0, "CommissionPercent": 1.0, "DateText": "sample string 15" }, "PageNumber": 1, "PageSize": 2, "TotalRows": 3, "TotalPages": 4 }
application/xml, text/xml
Sample:
<PagedListOfDetailReportItemJS0gVn45 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core"> <PageNumber>1</PageNumber> <PageSize>2</PageSize> <TotalPages>4</TotalPages> <TotalRows>3</TotalRows> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport"> <d2p1:DetailReportItem> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:Commission>14</d2p1:Commission> <d2p1:CommissionPercent>1</d2p1:CommissionPercent> <d2p1:CustomerName>sample string 6</d2p1:CustomerName> <d2p1:Date>2025-04-03T22:36:11.1298648-04:00</d2p1:Date> <d2p1:DateText>sample string 15</d2p1:DateText> <d2p1:Discount>12</d2p1:Discount> <d2p1:EmployeeId>1</d2p1:EmployeeId> <d2p1:EmployeeName>sample string 4</d2p1:EmployeeName> <d2p1:OrderId>2</d2p1:OrderId> <d2p1:PaymentMethodIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:PaymentMethodIds> <d2p1:PaymentMethods>sample string 3</d2p1:PaymentMethods> <d2p1:Price>10</d2p1:Price> <d2p1:ProductName>sample string 7</d2p1:ProductName> <d2p1:Quantity>11</d2p1:Quantity> <d2p1:SalesPersonName>sample string 5</d2p1:SalesPersonName> <d2p1:Sku>sample string 8</d2p1:Sku> <d2p1:Total>13</d2p1:Total> </d2p1:DetailReportItem> <d2p1:DetailReportItem> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:Commission>14</d2p1:Commission> <d2p1:CommissionPercent>1</d2p1:CommissionPercent> <d2p1:CustomerName>sample string 6</d2p1:CustomerName> <d2p1:Date>2025-04-03T22:36:11.1298648-04:00</d2p1:Date> <d2p1:DateText>sample string 15</d2p1:DateText> <d2p1:Discount>12</d2p1:Discount> <d2p1:EmployeeId>1</d2p1:EmployeeId> <d2p1:EmployeeName>sample string 4</d2p1:EmployeeName> <d2p1:OrderId>2</d2p1:OrderId> <d2p1:PaymentMethodIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:PaymentMethodIds> <d2p1:PaymentMethods>sample string 3</d2p1:PaymentMethods> <d2p1:Price>10</d2p1:Price> <d2p1:ProductName>sample string 7</d2p1:ProductName> <d2p1:Quantity>11</d2p1:Quantity> <d2p1:SalesPersonName>sample string 5</d2p1:SalesPersonName> <d2p1:Sku>sample string 8</d2p1:Sku> <d2p1:Total>13</d2p1:Total> </d2p1:DetailReportItem> </Data> <Footer xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport"> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:Commission>14</d2p1:Commission> <d2p1:CommissionPercent>1</d2p1:CommissionPercent> <d2p1:CustomerName>sample string 6</d2p1:CustomerName> <d2p1:Date>2025-04-03T22:36:11.1298648-04:00</d2p1:Date> <d2p1:DateText>sample string 15</d2p1:DateText> <d2p1:Discount>12</d2p1:Discount> <d2p1:EmployeeId>1</d2p1:EmployeeId> <d2p1:EmployeeName>sample string 4</d2p1:EmployeeName> <d2p1:OrderId>2</d2p1:OrderId> <d2p1:PaymentMethodIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:PaymentMethodIds> <d2p1:PaymentMethods>sample string 3</d2p1:PaymentMethods> <d2p1:Price>10</d2p1:Price> <d2p1:ProductName>sample string 7</d2p1:ProductName> <d2p1:Quantity>11</d2p1:Quantity> <d2p1:SalesPersonName>sample string 5</d2p1:SalesPersonName> <d2p1:Sku>sample string 8</d2p1:Sku> <d2p1:Total>13</d2p1:Total> </Footer> <PageFooter xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.SalesBySalesRepresentativeReport"> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:Commission>14</d2p1:Commission> <d2p1:CommissionPercent>1</d2p1:CommissionPercent> <d2p1:CustomerName>sample string 6</d2p1:CustomerName> <d2p1:Date>2025-04-03T22:36:11.1298648-04:00</d2p1:Date> <d2p1:DateText>sample string 15</d2p1:DateText> <d2p1:Discount>12</d2p1:Discount> <d2p1:EmployeeId>1</d2p1:EmployeeId> <d2p1:EmployeeName>sample string 4</d2p1:EmployeeName> <d2p1:OrderId>2</d2p1:OrderId> <d2p1:PaymentMethodIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:PaymentMethodIds> <d2p1:PaymentMethods>sample string 3</d2p1:PaymentMethods> <d2p1:Price>10</d2p1:Price> <d2p1:ProductName>sample string 7</d2p1:ProductName> <d2p1:Quantity>11</d2p1:Quantity> <d2p1:SalesPersonName>sample string 5</d2p1:SalesPersonName> <d2p1:Sku>sample string 8</d2p1:Sku> <d2p1:Total>13</d2p1:Total> </PageFooter> </PagedListOfDetailReportItemJS0gVn45>