POST api/GrainMarketAllocationLookups/Save

Request Information

URI Parameters

None.

Body Parameters

GrainMarketAllocationLookups
NameDescriptionTypeAdditional information
Id

integer

None.

LookupTypeId

integer

None.

GrainMarketId

integer

None.

AllocatedObjectId

integer

None.

AllocatedObjectName

string

None.

OrganizationId

integer

None.

CompanyId

integer

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LookupTypeId": 2,
  "GrainMarketId": 3,
  "AllocatedObjectId": 4,
  "AllocatedObjectName": "sample string 5",
  "OrganizationId": 6,
  "CompanyId": 7,
  "Active": true
}

application/xml, text/xml

Sample:
<GrainMarketAllocationLookups xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <Active>true</Active>
  <AllocatedObjectId>4</AllocatedObjectId>
  <AllocatedObjectName>sample string 5</AllocatedObjectName>
  <CompanyId>7</CompanyId>
  <GrainMarketId>3</GrainMarketId>
  <Id>1</Id>
  <LookupTypeId>2</LookupTypeId>
  <OrganizationId>6</OrganizationId>
</GrainMarketAllocationLookups>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.