POST api/PerformaInvoice/CreateBag

Create Bag

Request Information

URI Parameters

None.

Body Parameters

m_Bag
NameDescriptionTypeAdditional information
TypeShoes

string

Required

TypeBag

boolean

Required

model

string

None.

Capacity

integer

Required

Width

decimal number

Required

Long

decimal number

Required

Height

decimal number

Required

Weight

decimal number

Required

Note

string

None.

capacity_bag

integer

None.

capacity_pair

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeShoes": "sample string 1",
  "TypeBag": true,
  "model": "sample string 3",
  "Capacity": 4,
  "Width": 5.1,
  "Long": 6.1,
  "Height": 7.1,
  "Weight": 8.1,
  "Note": "sample string 9",
  "capacity_bag": 1,
  "capacity_pair": 1
}

application/xml, text/xml

Sample:
<m_Bag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <Capacity>4</Capacity>
  <Height>7.1</Height>
  <Long>6.1</Long>
  <Note>sample string 9</Note>
  <TypeBag>true</TypeBag>
  <TypeShoes>sample string 1</TypeShoes>
  <Weight>8.1</Weight>
  <Width>5.1</Width>
  <capacity_bag>1</capacity_bag>
  <capacity_pair>1</capacity_pair>
  <model>sample string 3</model>
</m_Bag>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.