GET api/LookUpCust/GetUnits

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Unit
NameDescriptionTypeAdditional information
unit_code

integer

None.

unit_description

string

String length: inclusive between 0 and 50

Drugs

Collection of Drug

None.

DrugsForCocktails

Collection of DrugsForCocktails

None.

DrugsInPrescriptions

Collection of DrugsInPrescription

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CustDemog.Customer'. Path '[0].Drugs[0].custPermanentDrugs[0].Customers.Countries.Customers'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CustDemog.Customer'. Path '[0].Drugs[0].custPermanentDrugs[0].Customers.Countries.Customers'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'CustDemog.DrugsForCocktails' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'CustDemog.DrugsForCocktails' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.