POST PoS/Transaction
Request Information
URI Parameters
None.
Body Parameters
PosCreateTransactionViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| Index | POS_Index |
None. |
|
| Pay | Collection of POS_Pay |
None. |
|
| Product | Collection of POS_Transaction_Product |
None. |
|
| VAT | POS_Invoice_VAT |
None. |
|
| Carrier | POS_Invoice_Carrier |
None. |
|
| Info | POS_Transaction_Info |
None. |
Request Formats
application/json, text/json
Sample:
{
"Index": {
"Id": "cebf40b6-aa05-45c2-8ea9-fdce3b9f95a5",
"TimeStamp": "2026-02-14T08:05:57.9056091+08:00",
"Operator": "e9bd2f1f-92f7-41fe-bdb4-f7dd96654295",
"Enable": true,
"Invoice": true,
"Serial": "sample string 6"
},
"Pay": [
{
"Id": "0f851214-1381-4cbe-843f-fa30a67b46e2",
"Transaction_Id": "9d59ed61-894e-4ebc-89ef-b394cf833235",
"Pay_Way": 64,
"Price": 4,
"Enable": true,
"Operator": "d333d3ad-a054-4811-b98f-d7f3a8014248",
"TimeStamp": "2026-02-14T08:05:57.9056091+08:00",
"Remark": "sample string 8",
"Money_Change": 9
},
{
"Id": "0f851214-1381-4cbe-843f-fa30a67b46e2",
"Transaction_Id": "9d59ed61-894e-4ebc-89ef-b394cf833235",
"Pay_Way": 64,
"Price": 4,
"Enable": true,
"Operator": "d333d3ad-a054-4811-b98f-d7f3a8014248",
"TimeStamp": "2026-02-14T08:05:57.9056091+08:00",
"Remark": "sample string 8",
"Money_Change": 9
}
],
"Product": [
{
"Id": "4a6f38f3-9f08-490a-8e3d-92cf628fe02f",
"Transaction_Id": "f30248c5-dc1a-4d7e-a4a9-2fc5be970f32",
"Price": 3,
"Enable": true,
"InvoiceName": "sample string 5",
"ProductName": "sample string 6",
"Product_Id": 7,
"Amount": 8,
"Operator": "5cf29fb3-c6eb-4d11-b47f-767dd60f2818",
"TimeStamp": "2026-02-14T08:05:57.9056091+08:00"
},
{
"Id": "4a6f38f3-9f08-490a-8e3d-92cf628fe02f",
"Transaction_Id": "f30248c5-dc1a-4d7e-a4a9-2fc5be970f32",
"Price": 3,
"Enable": true,
"InvoiceName": "sample string 5",
"ProductName": "sample string 6",
"Product_Id": 7,
"Amount": 8,
"Operator": "5cf29fb3-c6eb-4d11-b47f-767dd60f2818",
"TimeStamp": "2026-02-14T08:05:57.9056091+08:00"
}
],
"VAT": {
"Id": "4af6e224-932f-4a21-aab4-c0eee35f29fc",
"Transaction_Id": "030aad8c-61d1-481d-bd19-f2ff566a73c9",
"VAT": "sample string 3"
},
"Carrier": {
"Id": "a10c5a4f-dbe2-45f5-9350-aeaa3ad37969",
"Carrier": "sample string 2",
"Transaction_Id": "76d2f54d-cea0-48c5-80ac-1eda2494472b"
},
"Info": {
"Id": "cf941a7f-4f52-4bd0-84c9-205b109071a9",
"Transaction_Id": "09019839-380a-4b07-9ba6-0790cccadb96",
"Transaction_Price": 3,
"Origin_Price": 4,
"TimeStamp": "2026-02-14T08:05:57.9175713+08:00",
"Enable": true,
"Operator": "12d69a88-dfeb-4877-9ab0-ef9b8bf13eb2",
"Remark": "sample string 8",
"Invoice_Company": 64
}
}
application/xml, text/xml
Sample:
<PosCreateTransactionViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.Controllers.PoS">
<Carrier xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:Carrier>sample string 2</d2p1:Carrier>
<d2p1:Id>a10c5a4f-dbe2-45f5-9350-aeaa3ad37969</d2p1:Id>
<d2p1:Transaction_Id>76d2f54d-cea0-48c5-80ac-1eda2494472b</d2p1:Transaction_Id>
</Carrier>
<Index xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>cebf40b6-aa05-45c2-8ea9-fdce3b9f95a5</d2p1:Id>
<d2p1:Invoice>true</d2p1:Invoice>
<d2p1:Operator>e9bd2f1f-92f7-41fe-bdb4-f7dd96654295</d2p1:Operator>
<d2p1:Serial>sample string 6</d2p1:Serial>
<d2p1:TimeStamp>2026-02-14T08:05:57.9056091+08:00</d2p1:TimeStamp>
</Index>
<Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>cf941a7f-4f52-4bd0-84c9-205b109071a9</d2p1:Id>
<d2p1:Invoice_Company>64</d2p1:Invoice_Company>
<d2p1:Operator>12d69a88-dfeb-4877-9ab0-ef9b8bf13eb2</d2p1:Operator>
<d2p1:Origin_Price>4</d2p1:Origin_Price>
<d2p1:Remark>sample string 8</d2p1:Remark>
<d2p1:TimeStamp>2026-02-14T08:05:57.9175713+08:00</d2p1:TimeStamp>
<d2p1:Transaction_Id>09019839-380a-4b07-9ba6-0790cccadb96</d2p1:Transaction_Id>
<d2p1:Transaction_Price>3</d2p1:Transaction_Price>
</Info>
<Pay xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:POS_Pay>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>0f851214-1381-4cbe-843f-fa30a67b46e2</d2p1:Id>
<d2p1:Money_Change>9</d2p1:Money_Change>
<d2p1:Operator>d333d3ad-a054-4811-b98f-d7f3a8014248</d2p1:Operator>
<d2p1:Pay_Way>64</d2p1:Pay_Way>
<d2p1:Price>4</d2p1:Price>
<d2p1:Remark>sample string 8</d2p1:Remark>
<d2p1:TimeStamp>2026-02-14T08:05:57.9056091+08:00</d2p1:TimeStamp>
<d2p1:Transaction_Id>9d59ed61-894e-4ebc-89ef-b394cf833235</d2p1:Transaction_Id>
</d2p1:POS_Pay>
<d2p1:POS_Pay>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>0f851214-1381-4cbe-843f-fa30a67b46e2</d2p1:Id>
<d2p1:Money_Change>9</d2p1:Money_Change>
<d2p1:Operator>d333d3ad-a054-4811-b98f-d7f3a8014248</d2p1:Operator>
<d2p1:Pay_Way>64</d2p1:Pay_Way>
<d2p1:Price>4</d2p1:Price>
<d2p1:Remark>sample string 8</d2p1:Remark>
<d2p1:TimeStamp>2026-02-14T08:05:57.9056091+08:00</d2p1:TimeStamp>
<d2p1:Transaction_Id>9d59ed61-894e-4ebc-89ef-b394cf833235</d2p1:Transaction_Id>
</d2p1:POS_Pay>
</Pay>
<Product xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:POS_Transaction_Product>
<d2p1:Amount>8</d2p1:Amount>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>4a6f38f3-9f08-490a-8e3d-92cf628fe02f</d2p1:Id>
<d2p1:InvoiceName>sample string 5</d2p1:InvoiceName>
<d2p1:Operator>5cf29fb3-c6eb-4d11-b47f-767dd60f2818</d2p1:Operator>
<d2p1:Price>3</d2p1:Price>
<d2p1:ProductName>sample string 6</d2p1:ProductName>
<d2p1:Product_Id>7</d2p1:Product_Id>
<d2p1:TimeStamp>2026-02-14T08:05:57.9056091+08:00</d2p1:TimeStamp>
<d2p1:Transaction_Id>f30248c5-dc1a-4d7e-a4a9-2fc5be970f32</d2p1:Transaction_Id>
</d2p1:POS_Transaction_Product>
<d2p1:POS_Transaction_Product>
<d2p1:Amount>8</d2p1:Amount>
<d2p1:Enable>true</d2p1:Enable>
<d2p1:Id>4a6f38f3-9f08-490a-8e3d-92cf628fe02f</d2p1:Id>
<d2p1:InvoiceName>sample string 5</d2p1:InvoiceName>
<d2p1:Operator>5cf29fb3-c6eb-4d11-b47f-767dd60f2818</d2p1:Operator>
<d2p1:Price>3</d2p1:Price>
<d2p1:ProductName>sample string 6</d2p1:ProductName>
<d2p1:Product_Id>7</d2p1:Product_Id>
<d2p1:TimeStamp>2026-02-14T08:05:57.9056091+08:00</d2p1:TimeStamp>
<d2p1:Transaction_Id>f30248c5-dc1a-4d7e-a4a9-2fc5be970f32</d2p1:Transaction_Id>
</d2p1:POS_Transaction_Product>
</Product>
<VAT xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.Entities.PoS">
<d2p1:Id>4af6e224-932f-4a21-aab4-c0eee35f29fc</d2p1:Id>
<d2p1:Transaction_Id>030aad8c-61d1-481d-bd19-f2ff566a73c9</d2p1:Transaction_Id>
<d2p1:VAT>sample string 3</d2p1:VAT>
</VAT>
</PosCreateTransactionViewModels>
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.