POST api/Values/InsertUpdateCitizenFamilyNew

Request Information

URI Parameters

None.

Body Parameters

FamilyPersonListRequestNew
NameDescriptionTypeAdditional information
FamilyDetails

PersonFamilyRequestBONew

None.

Request Formats

application/json, text/json

Sample:
{
  "FamilyDetails": {
    "CitizenID": 1,
    "Name": "sample string 2",
    "GenID": 3,
    "Mobile": "sample string 4",
    "Email": "sample string 5",
    "DOA": "sample string 6",
    "DateQurantine": "sample string 7",
    "POOrigin": "sample string 8",
    "PoArrival": "sample string 9",
    "HNo": "sample string 10",
    "Building": "sample string 11",
    "Street": "sample string 12",
    "City": "sample string 13",
    "Additional": "sample string 14",
    "Cby": 15,
    "latitude": 16.1,
    "longitude": 17.1,
    "fever": true,
    "CoughSourThroat": true,
    "BreathingProblem": true,
    "Diarrhea": true,
    "uRoleBy": 22,
    "CitizenFamilyPersonId": 23,
    "RelationId": 24,
    "Age": 25,
    "Diabetes": true,
    "Hypertension": true,
    "HeartIssue": true,
    "HIV": true,
    "addressType": 30,
    "districtId": 31,
    "blocKId": 32,
    "panchayatId": 33,
    "villageId": "sample string 34",
    "cityId": "sample string 35",
    "wardId": "sample string 36",
    "talukaId": 37,
    "bbmpZoneId": "sample string 38",
    "postalCode": "sample string 39",
    "IsOffline": true,
    "EndDateQurantine": "sample string 41"
  }
}

application/xml, text/xml

Sample:
<FamilyPersonListRequestNew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yatri.Classes">
  <FamilyDetails>
    <Additional>sample string 14</Additional>
    <Age>25</Age>
    <BreathingProblem>true</BreathingProblem>
    <Building>sample string 11</Building>
    <Cby>15</Cby>
    <CitizenFamilyPersonId>23</CitizenFamilyPersonId>
    <CitizenID>1</CitizenID>
    <City>sample string 13</City>
    <CoughSourThroat>true</CoughSourThroat>
    <DOA>sample string 6</DOA>
    <DateQurantine>sample string 7</DateQurantine>
    <Diabetes>true</Diabetes>
    <Diarrhea>true</Diarrhea>
    <Email>sample string 5</Email>
    <EndDateQurantine>sample string 41</EndDateQurantine>
    <GenID>3</GenID>
    <HIV>true</HIV>
    <HNo>sample string 10</HNo>
    <HeartIssue>true</HeartIssue>
    <Hypertension>true</Hypertension>
    <IsOffline>true</IsOffline>
    <Mobile>sample string 4</Mobile>
    <Name>sample string 2</Name>
    <POOrigin>sample string 8</POOrigin>
    <PoArrival>sample string 9</PoArrival>
    <RelationId>24</RelationId>
    <Street>sample string 12</Street>
    <addressType>30</addressType>
    <bbmpZoneId>sample string 38</bbmpZoneId>
    <blocKId>32</blocKId>
    <cityId>sample string 35</cityId>
    <districtId>31</districtId>
    <fever>true</fever>
    <latitude>16.1</latitude>
    <longitude>17.1</longitude>
    <panchayatId>33</panchayatId>
    <postalCode>sample string 39</postalCode>
    <talukaId>37</talukaId>
    <uRoleBy>22</uRoleBy>
    <villageId>sample string 34</villageId>
    <wardId>sample string 36</wardId>
  </FamilyDetails>
</FamilyPersonListRequestNew>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.