PUT api/Antifungal/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AntifungalDTO
NameDescriptionTypeAdditional information
AntifungalID

integer

None.

AntifungalName

string

None.

IsGeneric

boolean

None.

GenericID

integer

None.

AMTCode

string

None.

ATCCode

string

None.

IsADR

boolean

None.

IsAntifungal

boolean

None.

SortIndex

integer

None.

links

Collection of Link

None.

Request Formats

application/json, text/json

Sample:
{
  "AntifungalID": 1,
  "AntifungalName": "sample string 2",
  "IsGeneric": true,
  "GenericID": 1,
  "AMTCode": "sample string 3",
  "ATCCode": "sample string 4",
  "IsADR": true,
  "IsAntifungal": true,
  "SortIndex": 1,
  "links": null
}

application/xml, text/xml

Sample:
<AntifungalDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel.AFNAPS.Guidance.Antifungals">
  <AMTCode>sample string 3</AMTCode>
  <ATCCode>sample string 4</ATCCode>
  <AntifungalID>1</AntifungalID>
  <AntifungalName>sample string 2</AntifungalName>
  <GenericID>1</GenericID>
  <IsADR>true</IsADR>
  <IsAntifungal>true</IsAntifungal>
  <IsGeneric>true</IsGeneric>
  <SortIndex>1</SortIndex>
  <links xmlns:d2p1="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel" i:nil="true" />
</AntifungalDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.