ApexERPHost

<back to all web services

GetPlanedRecipes

Requires Authentication
The following routes are available for this service:
GET/Manufacturing/Recipes/Schedule
GetPlanedRecipes Parameters:
NameParameterData TypeRequiredDescription
TerminalIdqueryintNo
GetPlanedRecipesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<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 .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Manufacturing/Recipes/Schedule HTTP/1.1 
Host: apex.nikoratrade.ge 
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: 
	[
		{
			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
		}
	]
}