POST ProductOrder/Order
Request Information
URI Parameters
None.
Body Parameters
CreateOrderViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderInfo | OrderInfoViewModels |
None. |
|
| CustomerInfo | ProductOrder |
None. |
|
| Product | Collection of ProductOrder_Product |
None. |
|
| Operator | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderInfo": {
"Info": {
"Id": "f37be234-80e7-4aca-827e-62a5c563a5e0",
"Order_Id": "f5bd2f5f-5732-4db7-bbba-25ad9568588a",
"Operator": "2fbf5fdf-0c14-47f1-8f9e-384e2109241d",
"Enable": true,
"Total_Price": 5,
"Action": 64,
"Pay_Status": 64,
"Pay_Amount": 8,
"Delivery_Way": 64,
"Due_Date": "2026-02-14T08:07:29.4419509+08:00",
"TimeStamp": "2026-02-14T08:07:29.4419509+08:00"
},
"Issue": {
"Id": "659f13a5-adf7-4ed0-a784-c268200b7fd6",
"Order_Id": "96982509-cde4-479b-a76e-64dd8508c678",
"Operator": "5474acb9-e429-4c32-837a-355d31e70c2c",
"Enable": true,
"Issue": "sample string 5",
"TimeStamp": "2026-02-14T08:07:29.4419509+08:00"
},
"Remark": {
"Id": "ad99ed29-d0cc-45fc-a979-8f9bb525d1b9",
"Order_Id": "c5c6bd38-901e-415a-b1ea-48b68e5cb955",
"Operator": "c7b045ea-15d2-4172-b27a-2c7c6e35230f",
"Enable": true,
"Remark": "sample string 5",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00"
},
"Invoice": {
"Id": "f426de7f-24e1-4796-acda-3116590f71d4",
"Order_Id": "08b9871a-3004-4774-8f1a-b8433d5782da",
"Invoice": "sample string 3",
"Operator": "48d1da1d-247c-4c9f-9749-c3cfe3aedd46",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00",
"Enable": true
},
"PayMethod": {
"Id": "aac55e8a-d953-42a0-8f5e-68c1e64ae316",
"Method_Id": 64,
"Order_Id": "3c76716e-c909-4ac6-9555-a80457abbdae",
"Operator": "7b5aeaab-c10d-47ef-a34c-2f8917631d88",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00",
"Enable": true
}
},
"CustomerInfo": {
"Email": {
"Id": "4508963e-d5dd-4c64-a3cd-4317bb812dcd",
"Customer_Id": "a1873c11-6d1d-488a-98fe-47ba0cd90f23",
"Email": "sample string 3",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00",
"Enable": true
},
"Name": {
"Id": "26f3ad7c-3fc9-48ec-9343-e5c5e9a2e50a",
"Customer_Id": "791809af-14fe-4b5b-9e09-b55aaebc5b6f",
"F_Name": "sample string 3",
"L_Name": "sample string 4",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00",
"Enable": true
},
"Phone": {
"Id": "b30f955b-d6d7-4330-9cfa-446e4197fd98",
"Customer_Id": "b150beee-a747-4cc8-87ff-596e2ee834cf",
"Phone": "sample string 3",
"TimeStamp": "2026-02-14T08:07:29.4610776+08:00",
"Enable": true
},
"CustomerId": "sample string 1"
},
"Product": [
{
"Id": "2b467077-3b32-47dd-a0d2-477c23af6f59",
"Order_Id": "e12ca3b7-bccc-45fd-962b-eeb27faaeb29",
"ProductId": 3,
"ProductName": "sample string 4",
"Is_WildCard": true,
"Enable": true,
"TimeStamp": "2026-02-14T08:07:29.4732038+08:00",
"Price": 8,
"Amount": 64,
"Operator": "d7b0e5e5-1666-4ac2-a7f0-7303e06b07a0"
},
{
"Id": "2b467077-3b32-47dd-a0d2-477c23af6f59",
"Order_Id": "e12ca3b7-bccc-45fd-962b-eeb27faaeb29",
"ProductId": 3,
"ProductName": "sample string 4",
"Is_WildCard": true,
"Enable": true,
"TimeStamp": "2026-02-14T08:07:29.4732038+08:00",
"Price": 8,
"Amount": 64,
"Operator": "d7b0e5e5-1666-4ac2-a7f0-7303e06b07a0"
}
],
"Operator": "sample string 1"
}
application/xml, text/xml
Sample:
<CreateOrderViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.ProductOrder">
<CustomerInfo>
<CustomerId>sample string 1</CustomerId>
<Email xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Customer_Id>a1873c11-6d1d-488a-98fe-47ba0cd90f23</d3p1:Customer_Id>
<d3p1:Email>sample string 3</d3p1:Email>
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>4508963e-d5dd-4c64-a3cd-4317bb812dcd</d3p1:Id>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</Email>
<Name xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Customer_Id>791809af-14fe-4b5b-9e09-b55aaebc5b6f</d3p1:Customer_Id>
<d3p1:Enable>true</d3p1:Enable>
<d3p1:F_Name>sample string 3</d3p1:F_Name>
<d3p1:Id>26f3ad7c-3fc9-48ec-9343-e5c5e9a2e50a</d3p1:Id>
<d3p1:L_Name>sample string 4</d3p1:L_Name>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</Name>
<Phone xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Customer_Id>b150beee-a747-4cc8-87ff-596e2ee834cf</d3p1:Customer_Id>
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>b30f955b-d6d7-4330-9cfa-446e4197fd98</d3p1:Id>
<d3p1:Phone>sample string 3</d3p1:Phone>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</Phone>
</CustomerInfo>
<Operator>sample string 1</Operator>
<OrderInfo>
<Info xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Action>64</d3p1:Action>
<d3p1:Delivery_Way>64</d3p1:Delivery_Way>
<d3p1:Due_Date>2026-02-14T08:07:29.4419509+08:00</d3p1:Due_Date>
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>f37be234-80e7-4aca-827e-62a5c563a5e0</d3p1:Id>
<d3p1:Operator>2fbf5fdf-0c14-47f1-8f9e-384e2109241d</d3p1:Operator>
<d3p1:Order_Id>f5bd2f5f-5732-4db7-bbba-25ad9568588a</d3p1:Order_Id>
<d3p1:Pay_Amount>8</d3p1:Pay_Amount>
<d3p1:Pay_Status>64</d3p1:Pay_Status>
<d3p1:TimeStamp>2026-02-14T08:07:29.4419509+08:00</d3p1:TimeStamp>
<d3p1:Total_Price>5</d3p1:Total_Price>
</Info>
<Invoice xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>f426de7f-24e1-4796-acda-3116590f71d4</d3p1:Id>
<d3p1:Invoice>sample string 3</d3p1:Invoice>
<d3p1:Operator>48d1da1d-247c-4c9f-9749-c3cfe3aedd46</d3p1:Operator>
<d3p1:Order_Id>08b9871a-3004-4774-8f1a-b8433d5782da</d3p1:Order_Id>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</Invoice>
<Issue xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>659f13a5-adf7-4ed0-a784-c268200b7fd6</d3p1:Id>
<d3p1:Issue>sample string 5</d3p1:Issue>
<d3p1:Operator>5474acb9-e429-4c32-837a-355d31e70c2c</d3p1:Operator>
<d3p1:Order_Id>96982509-cde4-479b-a76e-64dd8508c678</d3p1:Order_Id>
<d3p1:TimeStamp>2026-02-14T08:07:29.4419509+08:00</d3p1:TimeStamp>
</Issue>
<PayMethod xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>aac55e8a-d953-42a0-8f5e-68c1e64ae316</d3p1:Id>
<d3p1:Method_Id>64</d3p1:Method_Id>
<d3p1:Operator>7b5aeaab-c10d-47ef-a34c-2f8917631d88</d3p1:Operator>
<d3p1:Order_Id>3c76716e-c909-4ac6-9555-a80457abbdae</d3p1:Order_Id>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</PayMethod>
<Remark xmlns:d3p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d3p1:Enable>true</d3p1:Enable>
<d3p1:Id>ad99ed29-d0cc-45fc-a979-8f9bb525d1b9</d3p1:Id>
<d3p1:Operator>c7b045ea-15d2-4172-b27a-2c7c6e35230f</d3p1:Operator>
<d3p1:Order_Id>c5c6bd38-901e-415a-b1ea-48b68e5cb955</d3p1:Order_Id>
<d3p1:Remark>sample string 5</d3p1:Remark>
<d3p1:TimeStamp>2026-02-14T08:07:29.4610776+08:00</d3p1:TimeStamp>
</Remark>
</OrderInfo>
<Product xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.ProductOrder">
<d2p1:ProductOrder_Product>
<d2p1:Amount>64</d2p1:Amount>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>2b467077-3b32-47dd-a0d2-477c23af6f59</d2p1:Id>
<d2p1:Is_WildCard>true</d2p1:Is_WildCard>
<d2p1:Operator>d7b0e5e5-1666-4ac2-a7f0-7303e06b07a0</d2p1:Operator>
<d2p1:Order_Id>e12ca3b7-bccc-45fd-962b-eeb27faaeb29</d2p1:Order_Id>
<d2p1:Price>8</d2p1:Price>
<d2p1:ProductId>3</d2p1:ProductId>
<d2p1:ProductName>sample string 4</d2p1:ProductName>
<d2p1:TimeStamp>2026-02-14T08:07:29.4732038+08:00</d2p1:TimeStamp>
</d2p1:ProductOrder_Product>
<d2p1:ProductOrder_Product>
<d2p1:Amount>64</d2p1:Amount>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>2b467077-3b32-47dd-a0d2-477c23af6f59</d2p1:Id>
<d2p1:Is_WildCard>true</d2p1:Is_WildCard>
<d2p1:Operator>d7b0e5e5-1666-4ac2-a7f0-7303e06b07a0</d2p1:Operator>
<d2p1:Order_Id>e12ca3b7-bccc-45fd-962b-eeb27faaeb29</d2p1:Order_Id>
<d2p1:Price>8</d2p1:Price>
<d2p1:ProductId>3</d2p1:ProductId>
<d2p1:ProductName>sample string 4</d2p1:ProductName>
<d2p1:TimeStamp>2026-02-14T08:07:29.4732038+08:00</d2p1:TimeStamp>
</d2p1:ProductOrder_Product>
</Product>
</CreateOrderViewModels>
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.