POST api/AdminMaster/Crop_Master_opertions

Request Information

URI Parameters

None.

Body Parameters

Crop_Master
NameDescriptionTypeAdditional information
Condition

string

None.

CropName

string

None.

CropGerminationTime

string

None.

SeedtoTransplantTime

string

None.

TransplanttoHarvestTime

string

None.

GracePeriod_forSurvival

string

None.

AvgWeight_duringHarvestDate

string

None.

UOM

string

None.

StockAvailability

string

None.

Transdate

string

None.

Remarks

string

None.

Cropid

string

None.

SoftHarvest

string

None.

RegrowPeriod

string

None.

Noofregrow

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "CropName": "sample string 2",
  "CropGerminationTime": "sample string 3",
  "SeedtoTransplantTime": "sample string 4",
  "TransplanttoHarvestTime": "sample string 5",
  "GracePeriod_forSurvival": "sample string 6",
  "AvgWeight_duringHarvestDate": "sample string 7",
  "UOM": "sample string 8",
  "StockAvailability": "sample string 9",
  "Transdate": "sample string 10",
  "Remarks": "sample string 11",
  "Cropid": "sample string 12",
  "SoftHarvest": "sample string 13",
  "RegrowPeriod": "sample string 14",
  "Noofregrow": "sample string 15"
}

application/xml, text/xml

Sample:
<Crop_Master xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.CropMaster">
  <AvgWeight_duringHarvestDate>sample string 7</AvgWeight_duringHarvestDate>
  <Condition>sample string 1</Condition>
  <CropGerminationTime>sample string 3</CropGerminationTime>
  <CropName>sample string 2</CropName>
  <Cropid>sample string 12</Cropid>
  <GracePeriod_forSurvival>sample string 6</GracePeriod_forSurvival>
  <Noofregrow>sample string 15</Noofregrow>
  <RegrowPeriod>sample string 14</RegrowPeriod>
  <Remarks>sample string 11</Remarks>
  <SeedtoTransplantTime>sample string 4</SeedtoTransplantTime>
  <SoftHarvest>sample string 13</SoftHarvest>
  <StockAvailability>sample string 9</StockAvailability>
  <Transdate>sample string 10</Transdate>
  <TransplanttoHarvestTime>sample string 5</TransplanttoHarvestTime>
  <UOM>sample string 8</UOM>
</Crop_Master>

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

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.