| GET | /Warehousing/Statistics/Prod/Sales | ||
|---|---|---|---|
| GET | /Warehousing/Statistics/Prod/{BCode}/Sales |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdId | query | string | No | |
| BCode | path | string | No | |
| BranchId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<ProdStatistics> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Year | form | int? | No | |
| Month1 | form | decimal? | No | |
| Month2 | form | decimal? | No | |
| Month3 | form | decimal? | No | |
| Month4 | form | decimal? | No | |
| Month5 | form | decimal? | No | |
| Month6 | form | decimal? | No | |
| Month7 | form | decimal? | No | |
| Month8 | form | decimal? | No | |
| Month9 | form | decimal? | No | |
| Month10 | form | decimal? | No | |
| Month11 | form | decimal? | No | |
| Month12 | form | decimal? | 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 /Warehousing/Statistics/Prod/Sales HTTP/1.1 Host: 10.10.0.107 Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
[
{
Year: 0,
Month1: 0,
Month2: 0,
Month3: 0,
Month4: 0,
Month5: 0,
Month6: 0,
Month7: 0,
Month8: 0,
Month9: 0,
Month10: 0,
Month11: 0,
Month12: 0
}
]
}