| GET | /Manufacturing/Recipes/{RecipeID}/Tree |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecipeID | path | int | No | |
| TerminalId | query | int? | No | |
| OpDate | query | DateTime? | No | |
| Quantity | query | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | RecipeNode | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdId | form | string | No | |
| Name | form | string | No | |
| Quantity | form | decimal? | No | |
| CalcQuantity | form | decimal | No | |
| QuantityInfo | form | string | No | |
| BaseQuantity | form | decimal | No | |
| MainQuantity | form | decimal | No | |
| RecQuantity | form | decimal | No | |
| RecipeId | form | int? | No | |
| Nodes | form | List<RecipeNode> | 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.
GET /Manufacturing/Recipes/{RecipeID}/Tree HTTP/1.1
Host: 10.10.0.107
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:
{
ProdId: String,
Name: String,
Quantity: 0,
CalcQuantity: 0,
QuantityInfo: String,
BaseQuantity: 0,
MainQuantity: 0,
RecQuantity: 0,
RecipeId: 0,
Nodes:
[
{
ProdId: String,
Name: String,
Quantity: 0,
CalcQuantity: 0,
QuantityInfo: String,
BaseQuantity: 0,
MainQuantity: 0,
RecQuantity: 0,
RecipeId: 0,
Nodes:
[
{
ProdId: String,
Name: String,
Quantity: 0,
CalcQuantity: 0,
QuantityInfo: String,
BaseQuantity: 0,
MainQuantity: 0,
RecQuantity: 0,
RecipeId: 0,
Nodes:
[
{
}
]
}
]
}
]
}
}