POST api/Admin/AddDose

Request Information

URI Parameters

None.

Body Parameters

CompleteDoseModel
NameDescriptionTypeAdditional information
Id

integer

None.

DrugNumber

string

None.

Agent

string

None.

Indication

string

None.

AgeMin

decimal number

None.

AgeMax

decimal number

None.

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.

IsEmergencyDose

boolean

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",
  "IsEmergencyDose": true
}

application/xml, text/xml

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

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.