POST api/Order/Post
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
orderMaster | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "invoiceId": "sample string 1", "total": "sample string 2", "tax": "sample string 3", "discount": "sample string 4", "totalNet": "sample string 5", "customerName": { "label": "sample string 1", "value": 2 }, "safeName": { "label": "sample string 1", "value": 2 }, "salemanName": { "label": "sample string 1", "value": 2 }, "stockName": { "label": "sample string 1", "value": 2 }, "empBranch": { "emp": 1, "branch": 2 }, "orderDetail": [ { "id": 1, "itemNameLabel": "sample string 2", "itemNameValue": 3, "price": 4.1, "tax": 5.1, "quantity": "sample string 6", "unitLabel": "sample string 7", "unitValue": 8, "isUpdate": true }, { "id": 1, "itemNameLabel": "sample string 2", "itemNameValue": 3, "price": 4.1, "tax": 5.1, "quantity": "sample string 6", "unitLabel": "sample string 7", "unitValue": 8, "isUpdate": true }, { "id": 1, "itemNameLabel": "sample string 2", "itemNameValue": 3, "price": 4.1, "tax": 5.1, "quantity": "sample string 6", "unitLabel": "sample string 7", "unitValue": 8, "isUpdate": true } ], "invoiceType": { "label": "sample string 1", "value": 2 }, "paymentType": { "label": "sample string 1", "value": 2 }, "bankName": { "label": "sample string 1", "value": 2 }, "cashPaid": "sample string 6", "netPaid": "sample string 7" }
application/xml, text/xml
Sample:
<OrderMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationAPI.Models"> <bankName> <label>sample string 1</label> <value>2</value> </bankName> <cashPaid>sample string 6</cashPaid> <customerName> <label>sample string 1</label> <value>2</value> </customerName> <discount>sample string 4</discount> <empBranch> <branch>2</branch> <emp>1</emp> </empBranch> <invoiceId>sample string 1</invoiceId> <invoiceType> <label>sample string 1</label> <value>2</value> </invoiceType> <netPaid>sample string 7</netPaid> <orderDetail> <OrderDetail> <id>1</id> <isUpdate>true</isUpdate> <itemNameLabel>sample string 2</itemNameLabel> <itemNameValue>3</itemNameValue> <price>4.1</price> <quantity>sample string 6</quantity> <tax>5.1</tax> <unitLabel>sample string 7</unitLabel> <unitValue>8</unitValue> </OrderDetail> <OrderDetail> <id>1</id> <isUpdate>true</isUpdate> <itemNameLabel>sample string 2</itemNameLabel> <itemNameValue>3</itemNameValue> <price>4.1</price> <quantity>sample string 6</quantity> <tax>5.1</tax> <unitLabel>sample string 7</unitLabel> <unitValue>8</unitValue> </OrderDetail> <OrderDetail> <id>1</id> <isUpdate>true</isUpdate> <itemNameLabel>sample string 2</itemNameLabel> <itemNameValue>3</itemNameValue> <price>4.1</price> <quantity>sample string 6</quantity> <tax>5.1</tax> <unitLabel>sample string 7</unitLabel> <unitValue>8</unitValue> </OrderDetail> </orderDetail> <paymentType> <label>sample string 1</label> <value>2</value> </paymentType> <safeName> <label>sample string 1</label> <value>2</value> </safeName> <salemanName> <label>sample string 1</label> <value>2</value> </salemanName> <stockName> <label>sample string 1</label> <value>2</value> </stockName> <tax>sample string 3</tax> <total>sample string 2</total> <totalNet>sample string 5</totalNet> </OrderMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>