| GET | /Warehousing/PActionProducts |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| D1 | query | DateTime | No | |
| D2 | query | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<TfPActionProducts> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdId | form | string | No | |
| Bcode | form | string | No | |
| Name | form | string | No | |
| ProducerId | form | string | No | |
| CategoryId | form | string | No | |
| PpcatId | form | string | No | |
| UnitId | form | int? | No | |
| StartDate | form | DateTime | No | |
| EndDate | form | DateTime | No | |
| Spend | form | bool | No | |
| ProducerName | form | string | No | |
| CategoryName | form | string | No | |
| PpcatName | form | string | No | |
| UnitName | 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 /Warehousing/PActionProducts 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:
[
{
ProdId: String,
Bcode: String,
Name: String,
ProducerId: String,
CategoryId: String,
PpcatId: String,
UnitId: 0,
StartDate: 0001-01-01,
EndDate: 0001-01-01,
Spend: False,
ProducerName: String,
CategoryName: String,
PpcatName: String,
UnitName: String
}
]
}