POST api/patientdata/addtestdata

Request Information

URI Parameters

None.

Body Parameters

PatientTestData_Input
NameDescriptionTypeAdditional information
Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

DEPT_ID

integer

None.

USER_ID

integer

None.

Test_ID

integer

None.

Test_No

string

None.

PD_ID

integer

None.

PD_No

string

None.

Test_Date

string

None.

Test_Kit_Number

string

None.

Test_Kit_Pic

string

None.

Lat

decimal number

None.

Long

decimal number

None.

Test_Result

string

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,
  "Test_ID": 6,
  "Test_No": "sample string 7",
  "PD_ID": 8,
  "PD_No": "sample string 9",
  "Test_Date": "sample string 10",
  "Test_Kit_Number": "sample string 11",
  "Test_Kit_Pic": "sample string 12",
  "Lat": 13.1,
  "Long": 14.1,
  "Test_Result": "sample string 15"
}

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,"Test_ID":6,"Test_No":"sample string 7","PD_ID":8,"PD_No":"sample string 9","Test_Date":"sample string 10","Test_Kit_Number":"sample string 11","Test_Kit_Pic":"sample string 12","Lat":13.1,"Long":14.1,"Test_Result":"sample string 15"}

application/xml, text/xml

Sample:
<PatientTestData_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>
  <Test_ID>6</Test_ID>
  <Test_No>sample string 7</Test_No>
  <PD_ID>8</PD_ID>
  <PD_No>sample string 9</PD_No>
  <Test_Date>sample string 10</Test_Date>
  <Test_Kit_Number>sample string 11</Test_Kit_Number>
  <Test_Kit_Pic>sample string 12</Test_Kit_Pic>
  <Lat>13.1</Lat>
  <Long>14.1</Long>
  <Test_Result>sample string 15</Test_Result>
</PatientTestData_Input>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.