PUT api/PerformaInvoice/UpdateContainer/{container_id}

Update Container By container_id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
container_id

integer

Required

Body Parameters

m_containers
NameDescriptionTypeAdditional information
container_name

string

Required

Max length: 10

container_cubic

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "container_name": "sample string 1",
  "container_cubic": 2.1
}

application/xml, text/xml

Sample:
<m_containers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <container_cubic>2.1</container_cubic>
  <container_name>sample string 1</container_name>
</m_containers>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.