POST api/VaccineInformationDetails/CreateVaccinationEvaluationDetails

Request Information

URI Parameters

None.

Body Parameters

Collection of CholeraVaccinesViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

SiteofInjection

string

None.

LeftWingInj

decimal number

None.

LeftPerInj

decimal number

None.

RightWingInj

decimal number

None.

RightPerInj

decimal number

None.

TotalInj

decimal number

None.

PerTotal

decimal number

None.

Score

decimal number

None.

Assessment_Detail_Id

integer

None.

UserId

integer

None.

Device_Id

string

None.

Assessment_Id

integer

None.

Module_Assessment_Cat_Id

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SiteofInjection": "sample string 2",
    "LeftWingInj": 1.1,
    "LeftPerInj": 1.1,
    "RightWingInj": 1.1,
    "RightPerInj": 1.1,
    "TotalInj": 1.1,
    "PerTotal": 1.1,
    "Score": 1.1,
    "Assessment_Detail_Id": 1,
    "UserId": 1,
    "Device_Id": "sample string 3",
    "Assessment_Id": 4,
    "Module_Assessment_Cat_Id": 5
  },
  {
    "Id": 1,
    "SiteofInjection": "sample string 2",
    "LeftWingInj": 1.1,
    "LeftPerInj": 1.1,
    "RightWingInj": 1.1,
    "RightPerInj": 1.1,
    "TotalInj": 1.1,
    "PerTotal": 1.1,
    "Score": 1.1,
    "Assessment_Detail_Id": 1,
    "UserId": 1,
    "Device_Id": "sample string 3",
    "Assessment_Id": 4,
    "Module_Assessment_Cat_Id": 5
  }
]

text/plain

Sample:
[{"Id":1,"SiteofInjection":"sample string 2","LeftWingInj":1.1,"LeftPerInj":1.1,"RightWingInj":1.1,"RightPerInj":1.1,"TotalInj":1.1,"PerTotal":1.1,"Score":1.1,"Assessment_Detail_Id":1,"UserId":1,"Device_Id":"sample string 3","Assessment_Id":4,"Module_Assessment_Cat_Id":5},{"Id":1,"SiteofInjection":"sample string 2","LeftWingInj":1.1,"LeftPerInj":1.1,"RightWingInj":1.1,"RightPerInj":1.1,"TotalInj":1.1,"PerTotal":1.1,"Score":1.1,"Assessment_Detail_Id":1,"UserId":1,"Device_Id":"sample string 3","Assessment_Id":4,"Module_Assessment_Cat_Id":5}]

application/xml, text/xml

Sample:
<ArrayOfCholeraVaccinesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HatcheryPVE.ViewModelServices.ViewModel">
  <CholeraVaccinesViewModel>
    <Assessment_Detail_Id>1</Assessment_Detail_Id>
    <Assessment_Id>4</Assessment_Id>
    <Device_Id>sample string 3</Device_Id>
    <Id>1</Id>
    <LeftPerInj>1.1</LeftPerInj>
    <LeftWingInj>1.1</LeftWingInj>
    <Module_Assessment_Cat_Id>5</Module_Assessment_Cat_Id>
    <PerTotal>1.1</PerTotal>
    <RightPerInj>1.1</RightPerInj>
    <RightWingInj>1.1</RightWingInj>
    <Score>1.1</Score>
    <SiteofInjection>sample string 2</SiteofInjection>
    <TotalInj>1.1</TotalInj>
    <UserId>1</UserId>
  </CholeraVaccinesViewModel>
  <CholeraVaccinesViewModel>
    <Assessment_Detail_Id>1</Assessment_Detail_Id>
    <Assessment_Id>4</Assessment_Id>
    <Device_Id>sample string 3</Device_Id>
    <Id>1</Id>
    <LeftPerInj>1.1</LeftPerInj>
    <LeftWingInj>1.1</LeftWingInj>
    <Module_Assessment_Cat_Id>5</Module_Assessment_Cat_Id>
    <PerTotal>1.1</PerTotal>
    <RightPerInj>1.1</RightPerInj>
    <RightWingInj>1.1</RightWingInj>
    <Score>1.1</Score>
    <SiteofInjection>sample string 2</SiteofInjection>
    <TotalInj>1.1</TotalInj>
    <UserId>1</UserId>
  </CholeraVaccinesViewModel>
</ArrayOfCholeraVaccinesViewModel>

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.