POST api/start-finish-payment_v3

Request Information

URI Parameters

None.

Body Parameters

StartAndFinishPaymentParamV2
NameDescriptionTypeAdditional information
TransId

integer

None.

CustomerId

integer

None.

CustomerName

string

None.

Services

Collection of tbServiceItem

None.

Techs

Collection of tbTechItem

None.

ConvenienceFeeType

byte

None.

ConvenienceFeeValue

decimal number

None.

FeeRoundToDollars

boolean

None.

payments

Collection of tbPayment

None.

Tip

decimal number

None.

chargecardpayments

Collection of ChargeCardPayment

None.

Request Formats

application/json, text/json

Sample:
{
  "TransId": 1,
  "CustomerId": 2,
  "CustomerName": "sample string 3",
  "Services": [
    {
      "ServiceId": 1,
      "Quantity": 2,
      "Price": 3.1,
      "TechId": 4
    },
    {
      "ServiceId": 1,
      "Quantity": 2,
      "Price": 3.1,
      "TechId": 4
    }
  ],
  "Techs": [
    {
      "TechId": 1,
      "pDiscount": 2.1,
      "sDiscount": 3.1
    },
    {
      "TechId": 1,
      "pDiscount": 2.1,
      "sDiscount": 3.1
    }
  ],
  "ConvenienceFeeType": 64,
  "ConvenienceFeeValue": 5.1,
  "FeeRoundToDollars": true,
  "payments": [
    {
      "PaymentType": "sample string 1",
      "AmountPay": 2.1,
      "ExtraInfo": "sample string 3"
    },
    {
      "PaymentType": "sample string 1",
      "AmountPay": 2.1,
      "ExtraInfo": "sample string 3"
    }
  ],
  "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"
    }
  ]
}

multipart/form-data

Sample:
{"TransId":1,"CustomerId":2,"CustomerName":"sample string 3","Services":[{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4},{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4}],"Techs":[{"TechId":1,"pDiscount":2.1,"sDiscount":3.1},{"TechId":1,"pDiscount":2.1,"sDiscount":3.1}],"ConvenienceFeeType":64,"ConvenienceFeeValue":5.1,"FeeRoundToDollars":true,"payments":[{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"},{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"}],"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"}]}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:
{}