POST api/Transaction/GeneartePlantationActivity
Request Information
URI Parameters
None.
Body Parameters
Plantation_Activity| Name | Description | Type | Additional information |
|---|---|---|---|
| Fact_Code | integer |
None. |
|
| Season | integer |
None. |
|
| Plant_Type | integer |
None. |
|
| Tran_number | integer |
None. |
|
| Disease_code | integer |
None. |
|
| Control_Code | integer |
None. |
|
| Other_Suggestion | string |
None. |
|
| Vill_Code | integer |
None. |
|
| Grw_Code | integer |
None. |
|
| Oper_Code | string |
None. |
|
| Activity_Date | string |
None. |
|
| Atsp_service | byte |
None. |
|
| Field_Preparation | byte |
None. |
|
| Plant_Observation | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"Fact_Code": 1,
"Season": 2,
"Plant_Type": 3,
"Tran_number": 4,
"Disease_code": 5,
"Control_Code": 6,
"Other_Suggestion": "sample string 7",
"Vill_Code": 8,
"Grw_Code": 9,
"Oper_Code": "sample string 10",
"Activity_Date": "sample string 11",
"Atsp_service": 64,
"Field_Preparation": 64,
"Plant_Observation": 64
}
application/xml, text/xml
Sample:
<Plantation_Activity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDS_WebAPI.Models"> <Activity_Date>sample string 11</Activity_Date> <Atsp_service>64</Atsp_service> <Control_Code>6</Control_Code> <Disease_code>5</Disease_code> <Fact_Code>1</Fact_Code> <Field_Preparation>64</Field_Preparation> <Grw_Code>9</Grw_Code> <Oper_Code>sample string 10</Oper_Code> <Other_Suggestion>sample string 7</Other_Suggestion> <Plant_Observation>64</Plant_Observation> <Plant_Type>3</Plant_Type> <Season>2</Season> <Tran_number>4</Tran_number> <Vill_Code>8</Vill_Code> </Plantation_Activity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />