POST api/Values/InsertUpdateCTracingSymptomAndCondition

Request Information

URI Parameters

None.

Body Parameters

clsContactTracingSymptomConditionBO
NameDescriptionTypeAdditional information
COVIDID

string

None.

CitizenType

integer

None.

Risktype

integer

None.

fever

boolean

None.

CoughSourThroat

boolean

None.

BreathingProblem

boolean

None.

Diarrhea

boolean

None.

Diabetes

boolean

None.

Hypertension

boolean

None.

HeartIssue

boolean

None.

HIV

boolean

None.

Remarks

string

None.

LoggedInRoleId

integer

None.

LoggedInUserID

integer

None.

Additional

string

None.

Request Formats

application/json, text/json

Sample:
{
  "COVIDID": "sample string 1",
  "CitizenType": 2,
  "Risktype": 3,
  "fever": true,
  "CoughSourThroat": true,
  "BreathingProblem": true,
  "Diarrhea": true,
  "Diabetes": true,
  "Hypertension": true,
  "HeartIssue": true,
  "HIV": true,
  "Remarks": "sample string 12",
  "LoggedInRoleId": 13,
  "LoggedInUserID": 14,
  "Additional": "sample string 15"
}

application/xml, text/xml

Sample:
<clsContactTracingSymptomConditionBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yatri.Classes">
  <Additional>sample string 15</Additional>
  <BreathingProblem>true</BreathingProblem>
  <COVIDID>sample string 1</COVIDID>
  <CitizenType>2</CitizenType>
  <CoughSourThroat>true</CoughSourThroat>
  <Diabetes>true</Diabetes>
  <Diarrhea>true</Diarrhea>
  <HIV>true</HIV>
  <HeartIssue>true</HeartIssue>
  <Hypertension>true</Hypertension>
  <LoggedInRoleId>13</LoggedInRoleId>
  <LoggedInUserID>14</LoggedInUserID>
  <Remarks>sample string 12</Remarks>
  <Risktype>3</Risktype>
  <fever>true</fever>
</clsContactTracingSymptomConditionBO>

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 'clsContactTracingSymptomConditionBO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.