POST api/CaseData/ScheduledTrip_Close_Case_With_Item

Request Information

URI Parameters

None.

Body Parameters

SCH_Trip_Close_Case_With_Items_Input
NameDescriptionTypeAdditional information
DEPT_ID

integer

None.

User_ID

integer

None.

Vehicle_ID

integer

None.

Case_No

integer

None.

Proc_Start_Time

string

None.

Proc_End_Time

string

None.

Form_No

string

None.

Proc_Remark

string

None.

latitude

decimal number

None.

longitude

decimal number

None.

Proc_Rate

decimal number

None.

AI_Rate

decimal number

None.

Patho_Rate

decimal number

None.

Items

Collection of Item_Used

None.

Date_1

string

None.

Date_2

string

None.

Date_3

string

None.

Result_1

string

None.

Result_2

string

None.

Result_3

string

None.

DDL_Breed

string

None.

DDL_Disease

string

None.

Gender_1

string

None.

Remark_1

string

None.

Remark_2

string

None.

Remark_3

string

None.

Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DEPT_ID": 1,
  "User_ID": 2,
  "Vehicle_ID": 3,
  "Case_No": 4,
  "Proc_Start_Time": "sample string 5",
  "Proc_End_Time": "sample string 6",
  "Form_No": "sample string 7",
  "Proc_Remark": "sample string 8",
  "latitude": 9.1,
  "longitude": 10.1,
  "Proc_Rate": 11.0,
  "AI_Rate": 12.0,
  "Patho_Rate": 13.0,
  "Items": [
    {
      "Item_ID": 1,
      "Item_Number": "sample string 2",
      "Quantity": 3.0,
      "ID_Name": "sample string 4",
      "ID_Value": "sample string 5"
    },
    {
      "Item_ID": 1,
      "Item_Number": "sample string 2",
      "Quantity": 3.0,
      "ID_Name": "sample string 4",
      "ID_Value": "sample string 5"
    }
  ],
  "Date_1": "sample string 14",
  "Date_2": "sample string 15",
  "Date_3": "sample string 16",
  "Result_1": "sample string 17",
  "Result_2": "sample string 18",
  "Result_3": "sample string 19",
  "DDL_Breed": "sample string 20",
  "DDL_Disease": "sample string 21",
  "Gender_1": "sample string 22",
  "Remark_1": "sample string 23",
  "Remark_2": "sample string 24",
  "Remark_3": "sample string 25",
  "Device_Regn_ID": "sample string 26",
  "IMEI_Number": "sample string 27",
  "Os_Version": "sample string 28"
}

multipart/form-data

Sample:
{"DEPT_ID":1,"User_ID":2,"Vehicle_ID":3,"Case_No":4,"Proc_Start_Time":"sample string 5","Proc_End_Time":"sample string 6","Form_No":"sample string 7","Proc_Remark":"sample string 8","latitude":9.1,"longitude":10.1,"Proc_Rate":11.0,"AI_Rate":12.0,"Patho_Rate":13.0,"Items":[{"Item_ID":1,"Item_Number":"sample string 2","Quantity":3.0,"ID_Name":"sample string 4","ID_Value":"sample string 5"},{"Item_ID":1,"Item_Number":"sample string 2","Quantity":3.0,"ID_Name":"sample string 4","ID_Value":"sample string 5"}],"Date_1":"sample string 14","Date_2":"sample string 15","Date_3":"sample string 16","Result_1":"sample string 17","Result_2":"sample string 18","Result_3":"sample string 19","DDL_Breed":"sample string 20","DDL_Disease":"sample string 21","Gender_1":"sample string 22","Remark_1":"sample string 23","Remark_2":"sample string 24","Remark_3":"sample string 25","Device_Regn_ID":"sample string 26","IMEI_Number":"sample string 27","Os_Version":"sample string 28"}

application/xml, text/xml

Sample:
<SCH_Trip_Close_Case_With_Items_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DEPT_ID>1</DEPT_ID>
  <User_ID>2</User_ID>
  <Vehicle_ID>3</Vehicle_ID>
  <Case_No>4</Case_No>
  <Proc_Start_Time>sample string 5</Proc_Start_Time>
  <Proc_End_Time>sample string 6</Proc_End_Time>
  <Form_No>sample string 7</Form_No>
  <Proc_Remark>sample string 8</Proc_Remark>
  <latitude>9.1</latitude>
  <longitude>10.1</longitude>
  <Proc_Rate>11</Proc_Rate>
  <AI_Rate>12</AI_Rate>
  <Patho_Rate>13</Patho_Rate>
  <Items>
    <Item_Used>
      <Item_ID>1</Item_ID>
      <Item_Number>sample string 2</Item_Number>
      <Quantity>3</Quantity>
      <ID_Name>sample string 4</ID_Name>
      <ID_Value>sample string 5</ID_Value>
    </Item_Used>
    <Item_Used>
      <Item_ID>1</Item_ID>
      <Item_Number>sample string 2</Item_Number>
      <Quantity>3</Quantity>
      <ID_Name>sample string 4</ID_Name>
      <ID_Value>sample string 5</ID_Value>
    </Item_Used>
  </Items>
  <Date_1>sample string 14</Date_1>
  <Date_2>sample string 15</Date_2>
  <Date_3>sample string 16</Date_3>
  <Result_1>sample string 17</Result_1>
  <Result_2>sample string 18</Result_2>
  <Result_3>sample string 19</Result_3>
  <DDL_Breed>sample string 20</DDL_Breed>
  <DDL_Disease>sample string 21</DDL_Disease>
  <Gender_1>sample string 22</Gender_1>
  <Remark_1>sample string 23</Remark_1>
  <Remark_2>sample string 24</Remark_2>
  <Remark_3>sample string 25</Remark_3>
  <Device_Regn_ID>sample string 26</Device_Regn_ID>
  <IMEI_Number>sample string 27</IMEI_Number>
  <Os_Version>sample string 28</Os_Version>
</SCH_Trip_Close_Case_With_Items_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.