ApexERPHost

<back to all web services

GetSalesAmountPlan

Requires Authentication
The following routes are available for this service:
GET/Distribution/SalesAmountPlan/{PlanId}
GET/Distribution/SalesAmountPlan
GetSalesAmountPlan Parameters:
NameParameterData TypeRequiredDescription
PlanIdpathint?No
YearNqueryintNo
MonthNqueryintNo
MobileUserIdqueryint?No
ProducerIdquerystringNo
SalesAmountPlanResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformList<SaleAmountPlan>No
SaleAmountPlan Parameters:
NameParameterData TypeRequiredDescription
PlanIdformintNo
YearNformintNo
MonthNformintNo
MobileUserIdformintNo
ProducerIdformstringNo
VgformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Distribution/SalesAmountPlan/{PlanId} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":[{"PlanId":0,"YearN":0,"MonthN":0,"MobileUserId":0,"ProducerId":"String","Vg":0}]}