POST api/Values/InsertUpdateCitizenFamily

Request Information

URI Parameters

None.

Body Parameters

FamilyPersonListRequest
NameDescriptionTypeAdditional information
FamilyDetails

PersonFamilyRequestBO

None.

pSecurity

Security

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,
    "districtCode": 18,
    "talukCode": 19,
    "fever": true,
    "CoughSourThroat": true,
    "BreathingProblem": true,
    "Diarrhea": true,
    "uRoleBy": 24,
    "CitizenFamilyPersonId": 25,
    "RelationId": 26,
    "Age": 27,
    "Diabetes": true,
    "Hypertension": true,
    "HeartIssue": true,
    "HIV": true,
    "addressType": 32,
    "districtId": 33,
    "blocKId": 34,
    "panchayatId": 35,
    "villageId": "sample string 36",
    "cityId": "sample string 37",
    "wardId": "sample string 38",
    "talukaId": 39,
    "bbmpZoneId": "sample string 40",
    "postalCode": "sample string 41"
  },
  "pSecurity": {
    "UName": "sample string 1",
    "PassPhrase": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<FamilyPersonListRequest 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>27</Age>
    <BreathingProblem>true</BreathingProblem>
    <Building>sample string 11</Building>
    <Cby>15</Cby>
    <CitizenFamilyPersonId>25</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>
    <GenID>3</GenID>
    <HIV>true</HIV>
    <HNo>sample string 10</HNo>
    <HeartIssue>true</HeartIssue>
    <Hypertension>true</Hypertension>
    <Mobile>sample string 4</Mobile>
    <Name>sample string 2</Name>
    <POOrigin>sample string 8</POOrigin>
    <PoArrival>sample string 9</PoArrival>
    <RelationId>26</RelationId>
    <Street>sample string 12</Street>
    <addressType>32</addressType>
    <bbmpZoneId>sample string 40</bbmpZoneId>
    <blocKId>34</blocKId>
    <cityId>sample string 37</cityId>
    <districtCode>18</districtCode>
    <districtId>33</districtId>
    <fever>true</fever>
    <latitude>16.1</latitude>
    <longitude>17.1</longitude>
    <panchayatId>35</panchayatId>
    <postalCode>sample string 41</postalCode>
    <talukCode>19</talukCode>
    <talukaId>39</talukaId>
    <uRoleBy>24</uRoleBy>
    <villageId>sample string 36</villageId>
    <wardId>sample string 38</wardId>
  </FamilyDetails>
  <pSecurity>
    <PassPhrase>sample string 2</PassPhrase>
    <UName>sample string 1</UName>
  </pSecurity>
</FamilyPersonListRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.