PUT api/EmergencyDose

Request Information

URI Parameters

None.

Body Parameters

EmergencyDoseModel
NameDescriptionTypeAdditional information
Id

integer

None.

DrugNumber

string

Required

Agent

string

Required

Indication

string

None.

AgeMin

decimal number

Range: inclusive between 0 and 150

AgeMax

decimal number

Range: inclusive between 0 and 150

IsDefault

boolean

None.

Method

DoseConfigurationData

None.

WeightCategory

DoseConfigurationData

None.

LowerDose

decimal number

None.

MedianDose

decimal number

None.

UpperDose

decimal number

None.

RoundTo

decimal number

None.

RoundDirection

DoseConfigurationData

None.

MaximumDose

decimal number

None.

Unit

DoseConfigurationData

None.

DoseUnit

DoseConfigurationData

None.

Route

DoseConfigurationData

None.

Frequency

string

None.

PregnancyCategory

DoseConfigurationData

None.

Note

string

None.

Category

string

None.

SubCategory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DrugNumber": "sample string 1",
  "Agent": "sample string 2",
  "Indication": "sample string 3",
  "AgeMin": 1.0,
  "AgeMax": 1.0,
  "IsDefault": true,
  "Method": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "WeightCategory": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "LowerDose": 1.0,
  "MedianDose": 1.0,
  "UpperDose": 1.0,
  "RoundTo": 1.0,
  "RoundDirection": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "MaximumDose": 1.0,
  "Unit": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "DoseUnit": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "Route": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "Frequency": "sample string 4",
  "PregnancyCategory": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "Note": "sample string 5",
  "Category": "sample string 6",
  "SubCategory": "sample string 7"
}

application/xml

Sample:
<EmergencyDoseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anaessist.Models">
  <AgeMax>1</AgeMax>
  <AgeMin>1</AgeMin>
  <Agent>sample string 2</Agent>
  <Category>sample string 6</Category>
  <DoseUnit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </DoseUnit>
  <DrugNumber>sample string 1</DrugNumber>
  <Frequency>sample string 4</Frequency>
  <Id>1</Id>
  <Indication>sample string 3</Indication>
  <IsDefault>true</IsDefault>
  <LowerDose>1</LowerDose>
  <MaximumDose>1</MaximumDose>
  <MedianDose>1</MedianDose>
  <Method xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Method>
  <Note>sample string 5</Note>
  <PregnancyCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </PregnancyCategory>
  <RoundDirection xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </RoundDirection>
  <RoundTo>1</RoundTo>
  <Route xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Route>
  <SubCategory>sample string 7</SubCategory>
  <Unit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Unit>
  <UpdatedDate>2019-04-26T04:20:41.0253032Z</UpdatedDate>
  <UpperDose>1</UpperDose>
  <WeightCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </WeightCategory>
</EmergencyDoseModel>

text/xml

Sample:
<EmergencyDoseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anaessist.Models">
  <AgeMax>1</AgeMax>
  <AgeMin>1</AgeMin>
  <Agent>sample string 2</Agent>
  <Category>sample string 6</Category>
  <DoseUnit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </DoseUnit>
  <DrugNumber>sample string 1</DrugNumber>
  <Frequency>sample string 4</Frequency>
  <Id>1</Id>
  <Indication>sample string 3</Indication>
  <IsDefault>true</IsDefault>
  <LowerDose>1</LowerDose>
  <MaximumDose>1</MaximumDose>
  <MedianDose>1</MedianDose>
  <Method xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Method>
  <Note>sample string 5</Note>
  <PregnancyCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </PregnancyCategory>
  <RoundDirection xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </RoundDirection>
  <RoundTo>1</RoundTo>
  <Route xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Route>
  <SubCategory>sample string 7</SubCategory>
  <Unit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Unit>
  <UpdatedDate>2019-04-26T04:20:41.0278816Z</UpdatedDate>
  <UpperDose>1</UpperDose>
  <WeightCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/Anaessist.Models.ApplicationModel">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </WeightCategory>
</EmergencyDoseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.