POST api/Drugs/updateInsuresforDrug?drugCode={drugCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
drugCode

integer

Required

Body Parameters

Collection of DrugsForInsures
NameDescriptionTypeAdditional information
drug_code

integer

None.

insure_code

integer

None.

remarks

string

String length: inclusive between 0 and 15

Drugs

Drug

None.

Insurers

Insurer

None.

Request 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.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.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.Cocktail' 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.Cocktail' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

application/bson

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

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