GET api/classifications/activesubstance/list?productCode={productCode}&model={model}

Get the Active Substances for a Product Code

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productCode

Medprax Product Code

string

Required

model

Include the related model hierarchy

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ActiveSubstancesResponseModel
NameDescriptionTypeAdditional information
ActiveSubstances

PaginationListModelOfActiveSubstanceModel

None.

DataError

DataError

None.

IsDemoData

boolean

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 'Medprax.WebAPI.Models.Models.MedpraxMedMat.ActiveSubstanceModel'. Path 'ActiveSubstances.PageResult[0].Product.ActiveSubstanceList'.

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 'Medprax.WebAPI.Models.Models.MedpraxMedMat.ActiveSubstanceModel'. Path 'ActiveSubstances.PageResult[0].Product.ActiveSubstanceList'.

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 'System.Collections.Generic.List`1[[Medprax.WebAPI.Models.Models.MedpraxMedMat.ActiveSubstanceModel, Medprax.WebAPI.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[Medprax.WebAPI.Models.Models.MedpraxMedMat.ActiveSubstanceModel, Medprax.WebAPI.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.