GET API/V1/Customization/DripUnits
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DripUnitId |
Drip unit Id |
integer |
None. |
| RelatedToUnitId |
Return only drip units related to the specified unit id |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of iMDsoft.API.Metavision.Data.Customization.DripUnit| Name | Description | Type | Additional information |
|---|---|---|---|
| dripUnitID |
Drip unit id |
integer |
None. |
| groupId |
Unit group id of the numerator (first) unit |
integer |
None. |
| firstUnit |
Coded element with the first (numerator) unit id, name as description, code as the code |
iMDsoft.API.Metavision.Data.Data.CodedElement |
None. |
| timeUnit |
Coded element with the time (denominator) unit id, name as description, code as the code |
iMDsoft.API.Metavision.Data.Data.CodedElement |
None. |
| perKg |
Indicates whether this drip unit is expressed per kilogram |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"dripUnitID": 1,
"groupId": 2,
"firstUnit": {
"id": 1,
"code": "sample string 1",
"description": "sample string 2"
},
"timeUnit": {
"id": 1,
"code": "sample string 1",
"description": "sample string 2"
},
"perKg": true
},
{
"dripUnitID": 1,
"groupId": 2,
"firstUnit": {
"id": 1,
"code": "sample string 1",
"description": "sample string 2"
},
"timeUnit": {
"id": 1,
"code": "sample string 1",
"description": "sample string 2"
},
"perKg": true
}
]