POST api/budget/GetSalesBudgetAcctDetails?username={username}&prodclass={prodclass}&repid={repid}&year={year}&monthnumber={monthnumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| prodclass | string |
Required |
|
| repid | string |
Required |
|
| year | integer |
Required |
|
| monthnumber | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SalesBudgetDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| BegDate | date |
None. |
|
| EndDate | date |
None. |
|
| CUSTNMBR | string |
None. |
|
| CUSTNAME | string |
None. |
|
| TotalCOG | decimal number |
None. |
|
| TotalSales | decimal number |
None. |
|
| TotalMarginDollars | decimal number |
None. |
|
| TotalMarginPerc | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BegDate": "2026-11-21T14:53:08.1084326+00:00",
"EndDate": "2026-11-21T14:53:08.1084326+00:00",
"CUSTNMBR": "sample string 3",
"CUSTNAME": "sample string 4",
"TotalCOG": 5.0,
"TotalSales": 6.0,
"TotalMarginDollars": 1.0,
"TotalMarginPerc": 16.67
},
{
"BegDate": "2026-11-21T14:53:08.1084326+00:00",
"EndDate": "2026-11-21T14:53:08.1084326+00:00",
"CUSTNMBR": "sample string 3",
"CUSTNAME": "sample string 4",
"TotalCOG": 5.0,
"TotalSales": 6.0,
"TotalMarginDollars": 1.0,
"TotalMarginPerc": 16.67
}
]
application/xml, text/xml
Sample:
<ArrayOfSalesBudgetDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
<SalesBudgetDetail>
<BegDate>2026-11-21T14:53:08.1084326+00:00</BegDate>
<CUSTNAME>sample string 4</CUSTNAME>
<CUSTNMBR>sample string 3</CUSTNMBR>
<EndDate>2026-11-21T14:53:08.1084326+00:00</EndDate>
<TotalCOG>5</TotalCOG>
<TotalMarginDollars>1</TotalMarginDollars>
<TotalMarginPerc>16.67</TotalMarginPerc>
<TotalSales>6</TotalSales>
</SalesBudgetDetail>
<SalesBudgetDetail>
<BegDate>2026-11-21T14:53:08.1084326+00:00</BegDate>
<CUSTNAME>sample string 4</CUSTNAME>
<CUSTNMBR>sample string 3</CUSTNMBR>
<EndDate>2026-11-21T14:53:08.1084326+00:00</EndDate>
<TotalCOG>5</TotalCOG>
<TotalMarginDollars>1</TotalMarginDollars>
<TotalMarginPerc>16.67</TotalMarginPerc>
<TotalSales>6</TotalSales>
</SalesBudgetDetail>
</ArrayOfSalesBudgetDetail>