POST api/PerformaInvoice/CreateCarton

Create Carton

Request Information

URI Parameters

None.

Body Parameters

m_carton
NameDescriptionTypeAdditional information
TypeShoes

string

Required

BoxId

integer

Required

Capacity

integer

Required

Width

decimal number

Required

Long

decimal number

Required

Height

decimal number

Required

Weight

decimal number

Required

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeShoes": "sample string 1",
  "BoxId": 2,
  "Capacity": 3,
  "Width": 4.1,
  "Long": 5.1,
  "Height": 6.1,
  "Weight": 7.1,
  "Note": "sample string 8"
}

application/xml, text/xml

Sample:
<m_carton xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <BoxId>2</BoxId>
  <Capacity>3</Capacity>
  <Height>6.1</Height>
  <Long>5.1</Long>
  <Note>sample string 8</Note>
  <TypeShoes>sample string 1</TypeShoes>
  <Weight>7.1</Weight>
  <Width>4.1</Width>
</m_carton>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.