| POST | /Common/Dictionary/ProdPPRecipe/Import/Check |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsDecomposition | body | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<ProdPPRecipeImportDocument> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdPPId | form | string | No | |
| BCode | form | string | No | |
| ProductsNu | form | string | No | |
| RecipeName | form | string | No | |
| BCount | form | decimal | No | |
| Note | form | string | No | |
| MProdPPId | form | string | No | |
| MBCode | form | string | No | |
| MProductsNu | form | string | No | |
| MCount | form | decimal | No | |
| ExpandRelated | form | bool | No | |
| RelatedCost | form | decimal | No | |
| ErrorText | form | string | 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/Import/Check HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
IsDecomposition: False
}
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:
[
{
ProdPPId: String,
BCode: String,
ProductsNu: String,
RecipeName: String,
BCount: 0,
Note: String,
MProdPPId: String,
MBCode: String,
MProductsNu: String,
MCount: 0,
ExpandRelated: False,
RelatedCost: 0,
ErrorText: String
}
]
}