POST ecom/addneworder
Add new order details
Request Information
URI Parameters
None.
Body Parameters
MlOrderDetailsName | description | Type | Additional information |
---|---|---|---|
Userid | string |
Required |
|
Orderid | string |
Required |
|
Orderdate | date |
Required |
|
Orderamount | string |
Required |
|
Token | string |
Required |
|
ItemList | Collection of MlOrderItems |
Required |
|
OrderStatus | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "ItemList": [ { "Itemid": "sample string 1", "Itemname": "sample string 2", "Mrp": 4.1, "Payoutpv": 6.1, "Quantity": 3, "Salesprice": 5.1 }, { "Itemid": "sample string 1", "Itemname": "sample string 2", "Mrp": 4.1, "Payoutpv": 6.1, "Quantity": 3, "Salesprice": 5.1 } ], "OrderStatus": "sample string 6", "Orderamount": "sample string 4", "Orderdate": "2024-11-21T11:53:32.799+05:30", "Orderid": "sample string 2", "Token": "sample string 5", "Userid": "sample string 1" }
application/xml, text/xml
Sample:
<MlOrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.TLSProduct"> <ItemList> <MlOrderItems> <Itemid>sample string 1</Itemid> <Itemname>sample string 2</Itemname> <Mrp>4.1</Mrp> <Payoutpv>6.1</Payoutpv> <Quantity>3</Quantity> <Salesprice>5.1</Salesprice> </MlOrderItems> <MlOrderItems> <Itemid>sample string 1</Itemid> <Itemname>sample string 2</Itemname> <Mrp>4.1</Mrp> <Payoutpv>6.1</Payoutpv> <Quantity>3</Quantity> <Salesprice>5.1</Salesprice> </MlOrderItems> </ItemList> <OrderStatus>sample string 6</OrderStatus> <Orderamount>sample string 4</Orderamount> <Orderdate>2024-11-21T11:53:32.7992346+05:30</Orderdate> <Orderid>sample string 2</Orderid> <Token>sample string 5</Token> <Userid>sample string 1</Userid> </MlOrderDetails>
response Information
Resource description
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |