POST api/SalesMan/NewSalesOrder
New Sales Order Creation
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
beData | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "TranId": 1, "OrderDate": "2025-04-26T22:56:26.9217036+05:45", "CustomerId": 3, "LedgerId": 4, "ProductId": 5, "Qty": 6.1, "Rate": 7.1, "Amount": 8.1, "DiscountAmt": 9.1, "SchemeAmt": 10.1, "Remarks": "sample string 11", "PassKey": "sample string 12", "Lat": 13.1, "Lon": 14.1, "UserId": 15, "AgentId": 16 }
application/xml, text/xml
Sample:
<NewSalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity"> <AgentId>16</AgentId> <Lat>13.1</Lat> <Lon>14.1</Lon> <PassKey>sample string 12</PassKey> <UserId>15</UserId> <Amount>8.1</Amount> <CustomerId>3</CustomerId> <DiscountAmt>9.1</DiscountAmt> <LedgerId>4</LedgerId> <OrderDate>2025-04-26T22:56:26.9217036+05:45</OrderDate> <ProductId>5</ProductId> <Qty>6.1</Qty> <Rate>7.1</Rate> <Remarks>sample string 11</Remarks> <SchemeAmt>10.1</SchemeAmt> <TranId>1</TranId> </NewSalesOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "IsSuccess": true, "ResponseMSG": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global"> <IsSuccess>true</IsSuccess> <ResponseMSG>sample string 2</ResponseMSG> </ResponseValue>