| GET | /Distribution/SalesAmountPlanView/{PlanId} | ||
|---|---|---|---|
| GET | /Distribution/SalesAmountPlanView |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlanId | path | int? | No | |
| YearN | query | int | No | |
| MonthN | query | int | No | |
| MobileUserId | query | int? | No | |
| ProducerId | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<SalesAmountPlanView> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| NYear | form | int | No | |
| NMonth | form | int | No | |
| MobileUserId | form | int | No | |
| MobileUserName | form | string | No | |
| MObileUserFullName | form | string | No | |
| ProducerId | form | int | No | |
| ProducerName | form | string | No | |
| Vg | form | decimal | No | |
| MonthName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Distribution/SalesAmountPlanView/{PlanId} HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result:
[
{
Id: 0,
NYear: 0,
NMonth: 0,
MobileUserId: 0,
MobileUserName: String,
MObileUserFullName: String,
ProducerId: 0,
ProducerName: String,
Vg: 0,
MonthName: String
}
]
}