POST api/Order/CreateOrder?PartnerId={PartnerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PartnerId | string |
Required |
Body Parameters
OrderName | Description | Type | Additional information |
---|---|---|---|
AppCode | string |
None. |
|
PlanCode | string |
None. |
|
SubscriptionName | string |
None. |
|
InvoiceType | string |
None. |
|
PartnerId | string |
None. |
|
SubscriptionId | string |
None. |
|
CustName | string |
None. |
|
CustAdd1 | string |
None. |
|
CustAdd2 | string |
None. |
|
CustAdd3 | string |
None. |
|
CustCity | string |
None. |
|
CustPostal | string |
None. |
|
CustState | string |
None. |
|
CustCountry | string |
None. |
|
CustContactNo1 | string |
None. |
|
CustContactNo2 | string |
None. |
|
Remarks | string |
None. |
|
CurrCode | string |
None. |
|
OrderDs | Collection of OrderD |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppCode": "sample string 1", "PlanCode": "sample string 2", "SubscriptionName": "sample string 3", "InvoiceType": "sample string 4", "PartnerId": "sample string 5", "SubscriptionId": "sample string 6", "CustName": "sample string 7", "CustAdd1": "sample string 8", "CustAdd2": "sample string 9", "CustAdd3": "sample string 10", "CustCity": "sample string 11", "CustPostal": "sample string 12", "CustState": "sample string 13", "CustCountry": "sample string 14", "CustContactNo1": "sample string 15", "CustContactNo2": "sample string 16", "Remarks": "sample string 17", "CurrCode": "sample string 18", "OrderDs": [ { "PlanCode": "sample string 1", "ModCode": "sample string 2", "OrderQty": 3, "SellingPrc": 4.0, "Disc1Amt": 5.0, "Disc1UDF": "sample string 6", "SellPrcChange": true, "Disc1AmtChange": true, "Disc1UDFChange": true }, { "PlanCode": "sample string 1", "ModCode": "sample string 2", "OrderQty": 3, "SellingPrc": 4.0, "Disc1Amt": 5.0, "Disc1UDF": "sample string 6", "SellPrcChange": true, "Disc1AmtChange": true, "Disc1UDFChange": true } ] }
application/xml, text/xml
Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zeoniq.Portal.Api.Models"> <AppCode>sample string 1</AppCode> <CurrCode>sample string 18</CurrCode> <CustAdd1>sample string 8</CustAdd1> <CustAdd2>sample string 9</CustAdd2> <CustAdd3>sample string 10</CustAdd3> <CustCity>sample string 11</CustCity> <CustContactNo1>sample string 15</CustContactNo1> <CustContactNo2>sample string 16</CustContactNo2> <CustCountry>sample string 14</CustCountry> <CustName>sample string 7</CustName> <CustPostal>sample string 12</CustPostal> <CustState>sample string 13</CustState> <InvoiceType>sample string 4</InvoiceType> <OrderDs> <OrderD> <Disc1Amt>5</Disc1Amt> <Disc1AmtChange>true</Disc1AmtChange> <Disc1UDF>sample string 6</Disc1UDF> <Disc1UDFChange>true</Disc1UDFChange> <ModCode>sample string 2</ModCode> <OrderQty>3</OrderQty> <PlanCode>sample string 1</PlanCode> <SellPrcChange>true</SellPrcChange> <SellingPrc>4</SellingPrc> </OrderD> <OrderD> <Disc1Amt>5</Disc1Amt> <Disc1AmtChange>true</Disc1AmtChange> <Disc1UDF>sample string 6</Disc1UDF> <Disc1UDFChange>true</Disc1UDFChange> <ModCode>sample string 2</ModCode> <OrderQty>3</OrderQty> <PlanCode>sample string 1</PlanCode> <SellPrcChange>true</SellPrcChange> <SellingPrc>4</SellingPrc> </OrderD> </OrderDs> <PartnerId>sample string 5</PartnerId> <PlanCode>sample string 2</PlanCode> <Remarks>sample string 17</Remarks> <SubscriptionId>sample string 6</SubscriptionId> <SubscriptionName>sample string 3</SubscriptionName> </Order>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.