POST api/PatientData/Add_PatientData
Request Information
URI Parameters
None.
Body Parameters
PatientData_InputName | Description | Type | Additional information |
---|---|---|---|
Device_Regn_ID | string |
None. |
|
IMEI_Number | string |
None. |
|
Os_Version | string |
None. |
|
DEPT_ID | integer |
None. |
|
USER_ID | integer |
None. |
|
PD_ID | integer |
None. |
|
PD_No | string |
None. |
|
Mobile | string |
None. |
|
Name | string |
None. |
|
Sex | integer |
None. |
|
Age | integer |
None. |
|
Addr | string |
None. |
|
House_Plot_No | string |
None. |
|
Area | string |
None. |
|
Landmark | string |
None. |
|
Police_Station | string |
None. |
|
S_ID | integer |
None. |
|
S_Name | string |
None. |
|
D_ID | integer |
None. |
|
D_Name | string |
None. |
|
PIN | string |
None. |
|
Occuptation | string |
None. |
|
Date_Of_Report | string |
None. |
|
Travel_History | string |
None. |
|
Symtoms | string |
None. |
|
Fever | boolean |
None. |
|
Cold | boolean |
None. |
|
Remark | string |
None. |
|
Lat | decimal number |
None. |
|
Long | decimal number |
None. |
|
PatientData_Docs | Collection of PatientData_Doc |
None. |
Request Formats
application/json, text/json
Sample:
{ "Device_Regn_ID": "sample string 1", "IMEI_Number": "sample string 2", "Os_Version": "sample string 3", "DEPT_ID": 4, "USER_ID": 5, "PD_ID": 6, "PD_No": "sample string 7", "Mobile": "sample string 8", "Name": "sample string 9", "Sex": 10, "Age": 11, "Addr": "sample string 12", "House_Plot_No": "sample string 13", "Area": "sample string 14", "Landmark": "sample string 15", "Police_Station": "sample string 16", "S_ID": 17, "S_Name": "sample string 18", "D_ID": 19, "D_Name": "sample string 20", "PIN": "sample string 21", "Occuptation": "sample string 22", "Date_Of_Report": "sample string 23", "Travel_History": "sample string 24", "Symtoms": "sample string 25", "Fever": true, "Cold": true, "Remark": "sample string 28", "Lat": 29.1, "Long": 30.1, "PatientData_Docs": [ { "FileType": "sample string 1", "FileData": "sample string 2" }, { "FileType": "sample string 1", "FileData": "sample string 2" } ] }
multipart/form-data
Sample:
{"Device_Regn_ID":"sample string 1","IMEI_Number":"sample string 2","Os_Version":"sample string 3","DEPT_ID":4,"USER_ID":5,"PD_ID":6,"PD_No":"sample string 7","Mobile":"sample string 8","Name":"sample string 9","Sex":10,"Age":11,"Addr":"sample string 12","House_Plot_No":"sample string 13","Area":"sample string 14","Landmark":"sample string 15","Police_Station":"sample string 16","S_ID":17,"S_Name":"sample string 18","D_ID":19,"D_Name":"sample string 20","PIN":"sample string 21","Occuptation":"sample string 22","Date_Of_Report":"sample string 23","Travel_History":"sample string 24","Symtoms":"sample string 25","Fever":true,"Cold":true,"Remark":"sample string 28","Lat":29.1,"Long":30.1,"PatientData_Docs":[{"FileType":"sample string 1","FileData":"sample string 2"},{"FileType":"sample string 1","FileData":"sample string 2"}]}
application/xml, text/xml
Sample:
<PatientData_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Device_Regn_ID>sample string 1</Device_Regn_ID> <IMEI_Number>sample string 2</IMEI_Number> <Os_Version>sample string 3</Os_Version> <DEPT_ID>4</DEPT_ID> <USER_ID>5</USER_ID> <PD_ID>6</PD_ID> <PD_No>sample string 7</PD_No> <Mobile>sample string 8</Mobile> <Name>sample string 9</Name> <Sex>10</Sex> <Age>11</Age> <Addr>sample string 12</Addr> <House_Plot_No>sample string 13</House_Plot_No> <Area>sample string 14</Area> <Landmark>sample string 15</Landmark> <Police_Station>sample string 16</Police_Station> <S_ID>17</S_ID> <S_Name>sample string 18</S_Name> <D_ID>19</D_ID> <D_Name>sample string 20</D_Name> <PIN>sample string 21</PIN> <Occuptation>sample string 22</Occuptation> <Date_Of_Report>sample string 23</Date_Of_Report> <Travel_History>sample string 24</Travel_History> <Symtoms>sample string 25</Symtoms> <Fever>true</Fever> <Cold>true</Cold> <Remark>sample string 28</Remark> <Lat>29.1</Lat> <Long>30.1</Long> <PatientData_Docs> <PatientData_Doc> <FileType>sample string 1</FileType> <FileData>sample string 2</FileData> </PatientData_Doc> <PatientData_Doc> <FileType>sample string 1</FileType> <FileData>sample string 2</FileData> </PatientData_Doc> </PatientData_Docs> </PatientData_Input>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |