POST api/DeleteDynamic

Request Information

URI Parameters

None.

Body Parameters

UserDynamicInformation_Input
NameDescriptionTypeAdditional information
Id

integer

None.

YearAdd

integer

None.

Year

integer

None.

SeasonAdd

integer

Matching regular expression pattern: ([0-9]+)$

Season

integer

None.

RoleID

integer

None.

FarmerID

integer

None.

CropSown

integer

Matching regular expression pattern: ([0-9]+)$

AreaSown

decimal number

Matching regular expression pattern: ([0-9]{1,5}[.][0-9]{1,5})$

Seed

integer

Matching regular expression pattern: ([0-9]+)$

CropVareity

integer

Matching regular expression pattern: ([0-9]+)$

CropFertilizer

integer

None.

alert

string

None.

Pesticideused

string

None.

Labour

integer

None.

PestOccurence

integer

None.

Machinary

integer

None.

WaterResource

integer

None.

Production

string

None.

Income

decimal number

None.

Expenditure

decimal number

None.

Agency

integer

None.

InsuranceType

integer

None.

InsuredOn

string

None.

Sowing_Date

string

None.

PolicyNumber

string

Matching regular expression pattern: ^([1-9]{10,11})+$

DateOfMaturity

string

None.

Premium

decimal number

None.

PaymentMode

integer

None.

CropWiseInsurance

integer

None.

WarehouseUsed

string

None.

Processingacility

string

None.

Market

string

None.

Mid_flag

boolean

None.

End_flag

boolean

None.

farmername

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "YearAdd": 2,
  "Year": 3,
  "SeasonAdd": 4,
  "Season": 5,
  "RoleID": 6,
  "FarmerID": 7,
  "CropSown": 8,
  "AreaSown": 1.1,
  "Seed": 1,
  "CropVareity": 1,
  "CropFertilizer": 1,
  "alert": "sample string 9",
  "Pesticideused": "sample string 10",
  "Labour": 1,
  "PestOccurence": 1,
  "Machinary": 1,
  "WaterResource": 1,
  "Production": "sample string 11",
  "Income": 1.1,
  "Expenditure": 1.1,
  "Agency": 1,
  "InsuranceType": 1,
  "InsuredOn": "sample string 12",
  "Sowing_Date": "sample string 13",
  "PolicyNumber": "sample string 14",
  "DateOfMaturity": "sample string 15",
  "Premium": 1.1,
  "PaymentMode": 1,
  "CropWiseInsurance": 1,
  "WarehouseUsed": "sample string 16",
  "Processingacility": "sample string 17",
  "Market": "sample string 18",
  "Mid_flag": true,
  "End_flag": true,
  "farmername": "sample string 19"
}

application/xml, text/xml

Sample:
<UserDynamicInformation_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models">
  <Agency>1</Agency>
  <AreaSown>1.1</AreaSown>
  <CropFertilizer>1</CropFertilizer>
  <CropSown>8</CropSown>
  <CropVareity>1</CropVareity>
  <CropWiseInsurance>1</CropWiseInsurance>
  <DateOfMaturity>sample string 15</DateOfMaturity>
  <End_flag>true</End_flag>
  <Expenditure>1.1</Expenditure>
  <FarmerID>7</FarmerID>
  <Id>1</Id>
  <Income>1.1</Income>
  <InsuranceType>1</InsuranceType>
  <InsuredOn>sample string 12</InsuredOn>
  <Labour>1</Labour>
  <Machinary>1</Machinary>
  <Market>sample string 18</Market>
  <Mid_flag>true</Mid_flag>
  <PaymentMode>1</PaymentMode>
  <PestOccurence>1</PestOccurence>
  <Pesticideused>sample string 10</Pesticideused>
  <PolicyNumber>sample string 14</PolicyNumber>
  <Premium>1.1</Premium>
  <Processingacility>sample string 17</Processingacility>
  <Production>sample string 11</Production>
  <RoleID>6</RoleID>
  <Season>5</Season>
  <SeasonAdd>4</SeasonAdd>
  <Seed>1</Seed>
  <Sowing_Date>sample string 13</Sowing_Date>
  <WarehouseUsed>sample string 16</WarehouseUsed>
  <WaterResource>1</WaterResource>
  <Year>3</Year>
  <YearAdd>2</YearAdd>
  <alert>sample string 9</alert>
  <farmername>sample string 19</farmername>
</UserDynamicInformation_Input>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.