ApexERPHost

<back to all web services

SaveProdPPRecipe

Requires Authentication
The following routes are available for this service:
POST/Common/Dictionary/ProdPPRecipe
SaveProdPPRecipe Parameters:
NameParameterData TypeRequiredDescription
RecipebodyProdPPRecipeNo
ProdPPRecipe Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GroupformProdPPRecipeGroupViewNo
RecipeTypeformintNo
RecipeNameformstringNo
BcountformdecimalNo
RecipeNoteformstringNo
IsDefaultformboolNo
DetailsformList<ProdPPRecipeDetView>No
ProdPPRecipeGroupView Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ProdppIdformstringNo
StartDateformDateTimeNo
EndDateformDateTime?No
BCodeformstringNo
InCodeformstringNo
ProductsNuformstringNo
UnitformstringNo
Category_CodeformstringNo
CategoryNuformstringNo
ProducerNuformstringNo
PPCatNuformstringNo
ProdPPRecipeDetView Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
RecipeIdformintNo
MprodppIdformstringNo
McountformdecimalNo
CanExpandformboolNo
IsRelatedformboolNo
RelatedCostformdecimalNo
BCodeformstringNo
InCodeformstringNo
ProductsNuformstringNo
UnitformstringNo
Category_CodeformstringNo
CategoryNuformstringNo
ProducerNuformstringNo
PPCatNuformstringNo
CostformdecimalNo
SaveProdPPRecipeResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformintNo

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.

POST /Common/Dictionary/ProdPPRecipe HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Recipe: 
	{
		Id: 0,
		Group: 
		{
			Id: 0,
			ProdppId: String,
			StartDate: 0001-01-01,
			EndDate: 0001-01-01,
			BCode: String,
			InCode: String,
			ProductsNu: String,
			Unit: String,
			Category_Code: String,
			CategoryNu: String,
			ProducerNu: String,
			PPCatNu: String
		},
		RecipeType: 0,
		RecipeName: String,
		Bcount: 0,
		RecipeNote: String,
		IsDefault: False,
		Details: 
		[
			{
				Id: 0,
				RecipeId: 0,
				MprodppId: String,
				Mcount: 0,
				CanExpand: False,
				IsRelated: False,
				RelatedCost: 0,
				BCode: String,
				InCode: String,
				ProductsNu: String,
				Unit: String,
				Category_Code: String,
				CategoryNu: String,
				ProducerNu: String,
				PPCatNu: String,
				Cost: 0
			}
		]
	}
}
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: 0
}