GET | /Manufacturing/Recipes/GetProdRecipes/{RecipeID} | ||
---|---|---|---|
GET | /Manufacturing/Recipes/GetProdRecipes/ |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecipeID | path | int? | No | |
ProdPPID | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
RecipesList | form | List<ProdRecipe> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
recipe_id | form | int? | No | |
recipe_type | form | int | No | |
prodpp_id | form | string | No | |
cost_split_type | form | int | No | |
spend | form | bool | 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 | |
recipe_name | form | string | No | |
IsMain | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Manufacturing/Recipes/GetProdRecipes/{RecipeID} HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"RecipesList":[{"recipe_id":0,"recipe_type":0,"prodpp_id":"String","cost_split_type":0,"spend":false,"bcode":"String","products_nu":"String","category_id":"String","category_nu":"String","packcount":0,"packbcount":0,"unit":"String","recipe_name":"String","IsMain":false}]}