POST api/PosSalesRep?CompId={CompId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompId | string |
Required |
Body Parameters
AppSalesInvH| Name | Description | Type | Additional information |
|---|---|---|---|
| TransId | integer |
None. |
|
| SysSeq | string |
None. |
|
| DocNo | string |
None. |
|
| Branch | integer |
None. |
|
| WH | integer |
None. |
|
| Dt | date |
None. |
|
| CrAccount | integer |
None. |
|
| Narration | string |
None. |
|
| SalesMan | integer |
None. |
|
| SalesArea | integer |
None. |
|
| SalesType | integer |
None. |
|
| Customer | integer |
None. |
|
| Curr | integer |
None. |
|
| Exchange | decimal number |
None. |
|
| Gross | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| Tax | decimal number |
None. |
|
| Net | decimal number |
None. |
|
| UserId | integer |
None. |
|
| PcName | string |
None. |
|
| AppSalesInvB | Collection of AppSalesInvB |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransId": 1,
"SysSeq": "sample string 2",
"DocNo": "sample string 3",
"Branch": 4,
"WH": 5,
"Dt": "2025-12-08T13:04:34.0005226-08:00",
"CrAccount": 7,
"Narration": "sample string 8",
"SalesMan": 9,
"SalesArea": 10,
"SalesType": 11,
"Customer": 12,
"Curr": 13,
"Exchange": 14.0,
"Gross": 15.0,
"Discount": 16.0,
"Tax": 17.0,
"Net": 18.0,
"UserId": 19,
"PcName": "sample string 20",
"AppSalesInvB": [
{
"TransId": 1,
"SysSeq": "sample string 2",
"Item": 3,
"Qty": 4.0,
"Price": 5.0,
"Discount": 6.0,
"Tax": 7.0,
"Remarks": "sample string 8"
},
{
"TransId": 1,
"SysSeq": "sample string 2",
"Item": 3,
"Qty": 4.0,
"Price": 5.0,
"Discount": 6.0,
"Tax": 7.0,
"Remarks": "sample string 8"
}
]
}
text/html
Sample:
{"TransId":1,"SysSeq":"sample string 2","DocNo":"sample string 3","Branch":4,"WH":5,"Dt":"2025-12-08T13:04:34.0005226-08:00","CrAccount":7,"Narration":"sample string 8","SalesMan":9,"SalesArea":10,"SalesType":11,"Customer":12,"Curr":13,"Exchange":14.0,"Gross":15.0,"Discount":16.0,"Tax":17.0,"Net":18.0,"UserId":19,"PcName":"sample string 20","AppSalesInvB":[{"TransId":1,"SysSeq":"sample string 2","Item":3,"Qty":4.0,"Price":5.0,"Discount":6.0,"Tax":7.0,"Remarks":"sample string 8"},{"TransId":1,"SysSeq":"sample string 2","Item":3,"Qty":4.0,"Price":5.0,"Discount":6.0,"Tax":7.0,"Remarks":"sample string 8"}]}
application/xml, text/xml
Sample:
<AppSalesInvH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNXAPItoFlutter.Models">
<AppSalesInvB>
<AppSalesInvB>
<Discount>6</Discount>
<Item>3</Item>
<Price>5</Price>
<Qty>4</Qty>
<Remarks>sample string 8</Remarks>
<SysSeq>sample string 2</SysSeq>
<Tax>7</Tax>
<TransId>1</TransId>
</AppSalesInvB>
<AppSalesInvB>
<Discount>6</Discount>
<Item>3</Item>
<Price>5</Price>
<Qty>4</Qty>
<Remarks>sample string 8</Remarks>
<SysSeq>sample string 2</SysSeq>
<Tax>7</Tax>
<TransId>1</TransId>
</AppSalesInvB>
</AppSalesInvB>
<Branch>4</Branch>
<CrAccount>7</CrAccount>
<Curr>13</Curr>
<Customer>12</Customer>
<Discount>16</Discount>
<DocNo>sample string 3</DocNo>
<Dt>2025-12-08T13:04:34.0005226-08:00</Dt>
<Exchange>14</Exchange>
<Gross>15</Gross>
<Narration>sample string 8</Narration>
<Net>18</Net>
<PcName>sample string 20</PcName>
<SalesArea>10</SalesArea>
<SalesMan>9</SalesMan>
<SalesType>11</SalesType>
<SysSeq>sample string 2</SysSeq>
<Tax>17</Tax>
<TransId>1</TransId>
<UserId>19</UserId>
<WH>5</WH>
</AppSalesInvH>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>