| POST | /POS/MOH/CreateRealisationGroup |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchNum | body | int | No | |
| MohProducts | body | List<MohProduct> | No | |
| PharmOrderNo | body | string | No | |
| NewDS | body | string | No | |
| ReciverID | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecipeNo | form | string | No | |
| Linked | form | bool | No | |
| ProdID | form | string | No | |
| ProdDescr | form | string | No | |
| ProdPharmCnt | form | int | No | |
| ProdCnt | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | MohGroupOperationResult | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | form | int | No | |
| ResultValues | form | List<ResultValue> | No | |
| ErrorText | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecipeNo | form | string | No | |
| UNID | form | int | 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 /POS/MOH/CreateRealisationGroup HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BranchNum: 0,
MohProducts:
[
{
RecipeNo: String,
Linked: False,
ProdID: String,
ProdDescr: String,
ProdPharmCnt: 0,
ProdCnt: 0
}
],
PharmOrderNo: String,
NewDS: String,
ReciverID: String
}
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:
{
Status: 0,
ResultValues:
[
{
RecipeNo: String,
UNID: 0
}
],
ErrorText: String
}
}