PUT | /recipe/{RecipeId/protocol} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecipeId | body | long | No | |
Protocol | body | CreateRecipeProtocolDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProtocolIngredients | form | List<ProtocolIngredientDto> | No | |
BottlingType | form | BottlingType | No | |
Signature | form | string | No | |
ManufacturedByGuideline | form | bool | No | |
HygieneInstructionsFollowed | form | bool | No | |
CleaningInstructionsFollowed | form | bool | No | |
ManufactureInstructionsFollowed | form | bool | No | |
Units | form | int | No | |
SingleSize | form | int | No | |
DripBottleChargeNo | form | string | No | |
ProtocolSignature | form | string | No | |
UnitOfMeasure | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
EssenceId | form | long | No | |
EssenceName | form | string | No | |
ProductGroup | form | ProductGroup | No | |
Ethanol | form | float | No | |
ExpiryDate | form | DateTime? | No | |
ChargeNo | form | string | No | |
Symptom | form | string | No | |
IsAmount | form | decimal | No | |
ShouldAmount | form | decimal | No |
Name | Value | |
---|---|---|
Spagyric | 1 | |
Herbs | 3 | |
Tinctures | 4 | |
MineralSolution | 6 | |
LMPotency | 7 | |
Custom | 9 | |
BudExtract | 10 |
Name | Value | |
---|---|---|
AdHoc | 1 | |
Bulk | 2 |
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.
PUT /recipe/{RecipeId/protocol} HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
recipeId: 0,
protocol:
{
protocolIngredients:
[
{
id: 0,
essenceId: 0,
essenceName: String,
productGroup: 1,
ethanol: 0,
expiryDate: 0001-01-01,
chargeNo: String,
symptom: String,
isAmount: 0,
shouldAmount: 0
}
],
bottlingType: 1,
signature: String,
manufacturedByGuideline: False,
hygieneInstructionsFollowed: False,
cleaningInstructionsFollowed: False,
manufactureInstructionsFollowed: False,
units: 0,
singleSize: 0,
dripBottleChargeNo: String,
protocolSignature: String,
unitOfMeasure: String
}
}