| GET | /Manufacturing/Recipes/GetRecipeProducts/ |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| ProductsList | form | List<RecipeProduct> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| prodpp_id | form | string | No | |
| bcode | form | string | No | |
| products_nu | form | string | No | |
| category_id | form | string | No | |
| category_nu | form | string | No | |
| packcount | form | int | No | |
| packbcount | form | decimal | No | |
| unit | form | string | No | |
| lown | form | bool | 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 /Manufacturing/Recipes/GetRecipeProducts/ 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
}
},
ProductsList:
[
{
prodpp_id: String,
bcode: String,
products_nu: String,
category_id: String,
category_nu: String,
packcount: 0,
packbcount: 0,
unit: String,
lown: False
}
]
}