POST api/Values/InsertUpdateSecondaryContactTracing

Request Information

URI Parameters

None.

Body Parameters

ContactTracingSecondaryRequestBO
NameDescriptionTypeAdditional information
ContactTracingPrimary

ContactTracingSecondaryBO

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactTracingPrimary": {
    "patientId": 1,
    "patientCOVIDID": "sample string 2",
    "primaryContactId": 3,
    "primaryContactCOVIDId": "sample string 4",
    "secondaryContactId": 5,
    "secondaryContactCOVIDId": "sample string 6",
    "secondaryContactName": "sample string 7",
    "secondaryContactAge": 8,
    "secondaryContactGender": "sample string 9",
    "secondaryContactGenderId": 10,
    "secondaryContactMobile": "sample string 11",
    "secondaryContactHNo": "sample string 12",
    "secondaryContactBuilding": "sample string 13",
    "secondaryContactStreet": "sample string 14",
    "secondaryContactUrbanDistrict": "sample string 15",
    "secondaryContactUrbanDistrictId": 16,
    "secondaryContactUrbanCity": "sample string 17",
    "secondaryContactUrbanCityId": "sample string 18",
    "secondaryContactUrbanWard": "sample string 19",
    "secondaryContactUrbanWardId": "sample string 20",
    "secondaryContactRuralDistrict": "sample string 21",
    "secondaryContactRuralDistrictId": 22,
    "secondaryContactRuralTaluk": "sample string 23",
    "secondaryContactRuralTalukId": 24,
    "secondaryContactRuralPanchayat": "sample string 25",
    "secondaryContactRuralPanchayatId": 26,
    "secondaryContactRuralVillageId": "sample string 27",
    "secondaryContactLocationOfContact": "sample string 28",
    "secondaryContactDateOfContact": "2020-10-22T09:12:57.4480494+05:30",
    "secondaryContactFromTime": 30,
    "secondaryContactToTime": 31,
    "secondaryContactFromTimeMin": 32,
    "secondaryContactToTimeMin": 33,
    "secondaryContactRelationWithPatient": 34,
    "secondaryContactRelationWithPatientCOVIDID": "sample string 35",
    "secondaryContactRelationIdWithPatient": 36,
    "secondaryContactRelationWithPrimaryConatct": 37,
    "secondaryContactRelationWithPrimaryConatctCOVIDID": "sample string 38",
    "secondaryContactRelationIdWithPrimaryConatct": 39,
    "secondaryContactLatitude": 40.1,
    "secondaryContactLongitude": 41.1,
    "secondaryConatctAddressType": 42,
    "secondaryContactVerified": 43,
    "secondaryContactSyncstatus": true,
    "AdditionalInfo": "sample string 45",
    "LoggedInUserId": 46,
    "LoggedInUserRoleId": 47,
    "bbmpzoneId": "sample string 48",
    "BbmpZoneName": "sample string 49",
    "postalcode": 50,
    "Risktype": 51,
    "fever": true,
    "CoughSourThroat": true,
    "BreathingProblem": true,
    "Diarrhea": true,
    "Diabetes": true,
    "Hypertension": true,
    "HeartIssue": true,
    "HIV": true,
    "Remarks": "sample string 60",
    "OfflineID": "sample string 61",
    "dateofRecipt": "2020-10-22T09:12:57.4529648+05:30",
    "locationAddressType": 63,
    "locationDist_ID": 64,
    "locationBlocKId": 65,
    "locationPanchayatID": 66,
    "locationVillageId": "sample string 67",
    "locationTownId": "sample string 68",
    "locationWardID": "sample string 69",
    "locationTalukaId": 70,
    "locationBBmpzoneId": "sample string 71",
    "personOriginalRowID": 72,
    "neighbourName": "sample string 73",
    "neighbourMobileNo": "sample string 74"
  }
}

application/xml, text/xml

Sample:
<ContactTracingSecondaryRequestBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yatri.Classes">
  <ContactTracingPrimary>
    <AdditionalInfo>sample string 45</AdditionalInfo>
    <BbmpZoneName>sample string 49</BbmpZoneName>
    <BreathingProblem>true</BreathingProblem>
    <CoughSourThroat>true</CoughSourThroat>
    <Diabetes>true</Diabetes>
    <Diarrhea>true</Diarrhea>
    <HIV>true</HIV>
    <HeartIssue>true</HeartIssue>
    <Hypertension>true</Hypertension>
    <LoggedInUserId>46</LoggedInUserId>
    <LoggedInUserRoleId>47</LoggedInUserRoleId>
    <OfflineID>sample string 61</OfflineID>
    <Remarks>sample string 60</Remarks>
    <Risktype>51</Risktype>
    <bbmpzoneId>sample string 48</bbmpzoneId>
    <dateofRecipt>2020-10-22T09:12:57.4529648+05:30</dateofRecipt>
    <fever>true</fever>
    <locationAddressType>63</locationAddressType>
    <locationBBmpzoneId>sample string 71</locationBBmpzoneId>
    <locationBlocKId>65</locationBlocKId>
    <locationDist_ID>64</locationDist_ID>
    <locationPanchayatID>66</locationPanchayatID>
    <locationTalukaId>70</locationTalukaId>
    <locationTownId>sample string 68</locationTownId>
    <locationVillageId>sample string 67</locationVillageId>
    <locationWardID>sample string 69</locationWardID>
    <neighbourMobileNo>sample string 74</neighbourMobileNo>
    <neighbourName>sample string 73</neighbourName>
    <patientCOVIDID>sample string 2</patientCOVIDID>
    <patientId>1</patientId>
    <personOriginalRowID>72</personOriginalRowID>
    <postalcode>50</postalcode>
    <primaryContactCOVIDId>sample string 4</primaryContactCOVIDId>
    <primaryContactId>3</primaryContactId>
    <secondaryConatctAddressType>42</secondaryConatctAddressType>
    <secondaryContactAge>8</secondaryContactAge>
    <secondaryContactBuilding>sample string 13</secondaryContactBuilding>
    <secondaryContactCOVIDId>sample string 6</secondaryContactCOVIDId>
    <secondaryContactDateOfContact>2020-10-22T09:12:57.4480494+05:30</secondaryContactDateOfContact>
    <secondaryContactFromTime>30</secondaryContactFromTime>
    <secondaryContactFromTimeMin>32</secondaryContactFromTimeMin>
    <secondaryContactGender>sample string 9</secondaryContactGender>
    <secondaryContactGenderId>10</secondaryContactGenderId>
    <secondaryContactHNo>sample string 12</secondaryContactHNo>
    <secondaryContactId>5</secondaryContactId>
    <secondaryContactLatitude>40.1</secondaryContactLatitude>
    <secondaryContactLocationOfContact>sample string 28</secondaryContactLocationOfContact>
    <secondaryContactLongitude>41.1</secondaryContactLongitude>
    <secondaryContactMobile>sample string 11</secondaryContactMobile>
    <secondaryContactName>sample string 7</secondaryContactName>
    <secondaryContactRelationIdWithPatient>36</secondaryContactRelationIdWithPatient>
    <secondaryContactRelationIdWithPrimaryConatct>39</secondaryContactRelationIdWithPrimaryConatct>
    <secondaryContactRelationWithPatient>34</secondaryContactRelationWithPatient>
    <secondaryContactRelationWithPatientCOVIDID>sample string 35</secondaryContactRelationWithPatientCOVIDID>
    <secondaryContactRelationWithPrimaryConatct>37</secondaryContactRelationWithPrimaryConatct>
    <secondaryContactRelationWithPrimaryConatctCOVIDID>sample string 38</secondaryContactRelationWithPrimaryConatctCOVIDID>
    <secondaryContactRuralDistrict>sample string 21</secondaryContactRuralDistrict>
    <secondaryContactRuralDistrictId>22</secondaryContactRuralDistrictId>
    <secondaryContactRuralPanchayat>sample string 25</secondaryContactRuralPanchayat>
    <secondaryContactRuralPanchayatId>26</secondaryContactRuralPanchayatId>
    <secondaryContactRuralTaluk>sample string 23</secondaryContactRuralTaluk>
    <secondaryContactRuralTalukId>24</secondaryContactRuralTalukId>
    <secondaryContactRuralVillageId>sample string 27</secondaryContactRuralVillageId>
    <secondaryContactStreet>sample string 14</secondaryContactStreet>
    <secondaryContactSyncstatus>true</secondaryContactSyncstatus>
    <secondaryContactToTime>31</secondaryContactToTime>
    <secondaryContactToTimeMin>33</secondaryContactToTimeMin>
    <secondaryContactUrbanCity>sample string 17</secondaryContactUrbanCity>
    <secondaryContactUrbanCityId>sample string 18</secondaryContactUrbanCityId>
    <secondaryContactUrbanDistrict>sample string 15</secondaryContactUrbanDistrict>
    <secondaryContactUrbanDistrictId>16</secondaryContactUrbanDistrictId>
    <secondaryContactUrbanWard>sample string 19</secondaryContactUrbanWard>
    <secondaryContactUrbanWardId>sample string 20</secondaryContactUrbanWardId>
    <secondaryContactVerified>43</secondaryContactVerified>
  </ContactTracingPrimary>
</ContactTracingSecondaryRequestBO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.