POST api/PerformaInvoice/PostShape
Request Information
URI Parameters
None.
Body Parameters
m_shape| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| weight | decimal number |
None. |
|
| type | string |
None. |
|
| model | Collection of m_shapeModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"weight": 2.1,
"type": "sample string 3",
"model": [
{
"model": "sample string 1"
},
{
"model": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<m_shape xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
<model>
<m_shapeModel>
<model>sample string 1</model>
</m_shapeModel>
<m_shapeModel>
<model>sample string 1</model>
</m_shapeModel>
</model>
<name>sample string 1</name>
<type>sample string 3</type>
<weight>2.1</weight>
</m_shape>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.