POST api/FinishedProductWarehousing/InsertFreightSpace

Request Information

URI Parameters

None.

Body Parameters

GT_FreightSpace
NameDescriptionTypeAdditional information
id

integer

None.

freightSpaceName

string

None.

categoryName

string

None.

notes

string

None.

FreightSpaceNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "freightSpaceName": "sample string 1",
  "categoryName": "sample string 2",
  "notes": "sample string 3",
  "FreightSpaceNo": "sample string 4"
}

application/xml, text/xml

Sample:
<GT_FreightSpace xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Models.Finished">
  <FreightSpaceNo>sample string 4</FreightSpaceNo>
  <categoryName>sample string 2</categoryName>
  <freightSpaceName>sample string 1</freightSpaceName>
  <id>1</id>
  <notes>sample string 3</notes>
</GT_FreightSpace>

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

Response Information

Resource Description

ApiResultModel
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ApiResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Models">
  <Code>1</Code>
  <Data />
  <Message>sample string 2</Message>
</ApiResultModel>