POST api/InvCropYear/GetAll

Request Information

URI Parameters

None.

Body Parameters

InvCropYear
NameDescriptionTypeAdditional information
DefaultKey

boolean

None.

Id

integer

None.

CropYear

string

None.

OrganizationId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DefaultKey": true,
  "Id": 2,
  "CropYear": "sample string 3",
  "OrganizationId": 4,
  "CompanyId": 5
}

application/xml, text/xml

Sample:
<InvCropYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <CompanyId>5</CompanyId>
  <CropYear>sample string 3</CropYear>
  <DefaultKey>true</DefaultKey>
  <Id>2</Id>
  <OrganizationId>4</OrganizationId>
</InvCropYear>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.