ApexERPHost

<back to all web services

GetProdRecipes

Requires Authentication
The following routes are available for this service:
GET/Manufacturing/Recipes/GetProdRecipes/{RecipeID}
GET/Manufacturing/Recipes/GetProdRecipes/
GetProdRecipes Parameters:
NameParameterData TypeRequiredDescription
RecipeIDpathint?No
ProdPPIDquerystringNo
GetProdRecipesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
RecipesListformList<ProdRecipe>No
ProdRecipe Parameters:
NameParameterData TypeRequiredDescription
recipe_idformint?No
recipe_typeformintNo
prodpp_idformstringNo
cost_split_typeformintNo
spendformboolNo
bcodeformstringNo
products_nuformstringNo
category_idformstringNo
category_nuformstringNo
packcountformintNo
packbcountformdecimalNo
unitformstringNo
recipe_nameformstringNo
IsMainformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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}]}