POST api/Definations/InsertBagTypes?vUserID={vUserID}&IsOpen={IsOpen}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vUserID

integer

Required

IsOpen

boolean

Required

Body Parameters

BagType
NameDescriptionTypeAdditional information
BagTypeID

integer

None.

BagsType

string

None.

BagCapacity

decimal number

None.

EmptyBagWeight

decimal number

None.

AccountNo

string

None.

AccountName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BagTypeID": 1,
  "BagsType": "sample string 2",
  "BagCapacity": 3.0,
  "EmptyBagWeight": 4.0,
  "AccountNo": "sample string 5",
  "AccountName": "sample string 6"
}

application/xml, text/xml

Sample:
<BagType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
  <AccountName>sample string 6</AccountName>
  <AccountNo>sample string 5</AccountNo>
  <BagCapacity>3</BagCapacity>
  <BagTypeID>1</BagTypeID>
  <BagsType>sample string 2</BagsType>
  <EmptyBagWeight>4</EmptyBagWeight>
</BagType>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.