POST | /Common/Dictionary/ProdPPRecipe/Import/Save |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProdPPRecipeImportDocuments | body | List<ProdPPRecipeImportDocument> | No | |
StartDate | body | DateTime | No | |
IsDecomposition | body | bool | 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 |
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 .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/Save HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ProdPPRecipeImportDocuments:
[
{
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
}
],
StartDate: 0001-01-01,
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 } } }