POST api/create-trans-newfee-with-device
Request Information
URI Parameters
None.
Body Parameters
SignaltransParams| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId | string |
None. |
|
| ComId | string |
None. |
|
| TransId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| Services | Collection of tbServiceItem |
None. |
|
| payments | Collection of tbPayment |
None. |
|
| Techs | Collection of tbTechItem |
None. |
|
| Tip | decimal number |
None. |
|
| chargecardpayments | Collection of ChargeCardPayment |
None. |
|
| ConvenienceFeeType | byte |
None. |
|
| ConvenienceFeeValue | decimal number |
None. |
|
| FeeRoundToDollars | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceId": "sample string 1",
"ComId": "sample string 2",
"TransId": 3,
"CustomerId": 4,
"CustomerName": "sample string 5",
"Services": [
{
"ServiceId": 1,
"Quantity": 2,
"Price": 3.1,
"TechId": 4
},
{
"ServiceId": 1,
"Quantity": 2,
"Price": 3.1,
"TechId": 4
}
],
"payments": [
{
"PaymentType": "sample string 1",
"AmountPay": 2.1,
"ExtraInfo": "sample string 3"
},
{
"PaymentType": "sample string 1",
"AmountPay": 2.1,
"ExtraInfo": "sample string 3"
}
],
"Techs": [
{
"TechId": 1,
"pDiscount": 2.1,
"sDiscount": 3.1
},
{
"TechId": 1,
"pDiscount": 2.1,
"sDiscount": 3.1
}
],
"Tip": 1.1,
"chargecardpayments": [
{
"cctrxtype": "sample string 1",
"entrymethod": "sample string 2",
"cardinfo": "sample string 3",
"cardtype": "sample string 4",
"txamount": 5.1,
"approvalcode": "sample string 6",
"RealPaid": 7.1,
"refNum": 8,
"cardholder": "sample string 9",
"IpAddress": "sample string 10"
},
{
"cctrxtype": "sample string 1",
"entrymethod": "sample string 2",
"cardinfo": "sample string 3",
"cardtype": "sample string 4",
"txamount": 5.1,
"approvalcode": "sample string 6",
"RealPaid": 7.1,
"refNum": 8,
"cardholder": "sample string 9",
"IpAddress": "sample string 10"
}
],
"ConvenienceFeeType": 64,
"ConvenienceFeeValue": 7.1,
"FeeRoundToDollars": true
}
multipart/form-data
Sample:
{"DeviceId":"sample string 1","ComId":"sample string 2","TransId":3,"CustomerId":4,"CustomerName":"sample string 5","Services":[{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4},{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4}],"payments":[{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"},{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"}],"Techs":[{"TechId":1,"pDiscount":2.1,"sDiscount":3.1},{"TechId":1,"pDiscount":2.1,"sDiscount":3.1}],"Tip":1.1,"chargecardpayments":[{"cctrxtype":"sample string 1","entrymethod":"sample string 2","cardinfo":"sample string 3","cardtype":"sample string 4","txamount":5.1,"approvalcode":"sample string 6","RealPaid":7.1,"refNum":8,"cardholder":"sample string 9","IpAddress":"sample string 10"},{"cctrxtype":"sample string 1","entrymethod":"sample string 2","cardinfo":"sample string 3","cardtype":"sample string 4","txamount":5.1,"approvalcode":"sample string 6","RealPaid":7.1,"refNum":8,"cardholder":"sample string 9","IpAddress":"sample string 10"}],"ConvenienceFeeType":64,"ConvenienceFeeValue":7.1,"FeeRoundToDollars":true}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
{}