POST | /Common/Dictionary/ProdPPRecipe |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Recipe | body | ProdPPRecipe | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
Group | form | ProdPPRecipeGroupView | No | |
RecipeType | form | int | No | |
RecipeName | form | string | No | |
Bcount | form | decimal | No | |
RecipeNote | form | string | No | |
IsDefault | form | bool | No | |
Details | form | List<ProdPPRecipeDetView> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
ProdppId | form | string | No | |
StartDate | form | DateTime | No | |
EndDate | form | DateTime? | No | |
BCode | form | string | No | |
InCode | form | string | No | |
ProductsNu | form | string | No | |
Unit | form | string | No | |
Category_Code | form | string | No | |
CategoryNu | form | string | No | |
ProducerNu | form | string | No | |
PPCatNu | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
RecipeId | form | int | No | |
MprodppId | form | string | No | |
Mcount | form | decimal | No | |
CanExpand | form | bool | No | |
IsRelated | form | bool | No | |
RelatedCost | form | decimal | No | |
BCode | form | string | No | |
InCode | form | string | No | |
ProductsNu | form | string | No | |
Unit | form | string | No | |
Category_Code | form | string | No | |
CategoryNu | form | string | No | |
ProducerNu | form | string | No | |
PPCatNu | form | string | No | |
Cost | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | int | 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.
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 }