| GET | /Common/Dictionary/RecipeCost/{ProdPPID} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdPPID | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<RecipeCost> | 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Common/Dictionary/RecipeCost/{ProdPPID} HTTP/1.1
Host: 10.10.0.107
Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"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}]}