GET api/Mixes

Get mixes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MixesVM
NameDescriptionTypeAdditional information
id

Mixes id

integer

None.

name

Mixes name

string

None.

price

Mixes price

decimal number

None.

type

Mixes type

string

None.

totalweight

Mixes total weight

string

None.

exactserving

Mixes exact serving

string

None.

numberofdoses

Mixes number of dose

string

None.

totalvolume

Mix total valume

string

None.

Contents

Mixes content list

Collection of MixContentVM

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "Paracitamol",
  "price": 100.12,
  "type": "mixes type",
  "totalweight": "10",
  "exactserving": "5.1",
  "numberofdoses": "10",
  "totalvolume": "20",
  "contents": [
    {
      "detail_mix": 2,
      "active_weight": 10,
      "raw_weight": 10,
      "name": "ethanamide",
      "activecomponent": "actamide",
      "idnumber": "PN79809",
      "mcg": true,
      "iu": 10.0
    },
    {
      "detail_mix": 2,
      "active_weight": 10,
      "raw_weight": 10,
      "name": "aniline diphasphorus",
      "activecomponent": "analine",
      "idnumber": "PN79809",
      "mcg": true,
      "iu": 10.0
    }
  ]
}