POST | /Common/Dictionary/RecipeDetails |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecipeList | body | List<RecipeCost> | No | |
MergeData | body | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MBcode | form | string | No | |
Material | form | string | No | |
Producer | form | string | No | |
Unit | form | string | No | |
UnitCost | form | decimal? | No | |
MCount | form | decimal? | No | |
BCount | form | decimal? | No | |
Cost | form | decimal? | No | |
RecipeNote | form | string | No | |
MProdPPId | form | string | No | |
InCode | form | string | No | |
RecipeId | form | string | No | |
CanExpand | form | bool | No | |
PackCount | form | short | No | |
ProdPPId | form | string | No | |
BCode | form | string | No | |
Deviation | form | decimal? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Common/Dictionary/RecipeDetails HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"RecipeList":[{"MBcode":"String","Material":"String","Producer":"String","Unit":"String","UnitCost":0,"MCount":0,"BCount":0,"Cost":0,"RecipeNote":"String","MProdPPId":"String","InCode":"String","RecipeId":"String","CanExpand":false,"PackCount":0,"ProdPPId":"String","BCode":"String","Deviation":0}],"MergeData":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}