POST api/tt_doc_sa/vip-split/finalize
Request Information
URI Parameters
None.
Body Parameters
VipSplitFinalizeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGroupId | globally unique identifier |
None. |
|
| PaymentOwnerToken | globally unique identifier |
None. |
|
| CoordinatorControlVersion | Collection of byte |
Required Max length: 8 Min length: 8 |
|
| InvoiceUserId | globally unique identifier |
None. |
|
| UsePosPrinting | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"paymentGroupId": "1244db14-498b-4281-ac75-a3f7dee4c5fb",
"paymentOwnerToken": "e3666ed7-c116-41a2-a05f-00bdf93f0ada",
"coordinatorControlVersion": "QEA=",
"invoiceUserId": "93c9193f-c956-4fbb-9ce2-3353802b27ac",
"usePosPrinting": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VipSplitProcessResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentGroupId | globally unique identifier |
None. |
|
| ActivityId | globally unique identifier |
None. |
|
| CoordinatorDocumentId | globally unique identifier |
None. |
|
| ProcessState | DocSaProcessState |
None. |
|
| SaleAmount | decimal number |
None. |
|
| AppliedBalanceAmount | decimal number |
None. |
|
| AmountToCollect | decimal number |
None. |
|
| ControlVersion | Collection of byte |
None. |
|
| Parts | Collection of VipSplitPaymentPartResponse |
None. |
|
| InvoiceDocumentIds | Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"paymentGroupId": "36d007dc-67f7-4382-ad4d-74885a229093",
"activityId": "69f563a4-1811-4208-ab5b-193db073d7ce",
"coordinatorDocumentId": "e7efb336-148a-4c6e-bc32-810d3898ab10",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "2",
"documentId": "2a90e440-d855-490a-a702-738d71a32e5a",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "2"
}
],
"invoiceDocumentIds": [
"9a2779c7-fa64-4b16-ac4e-ff1196c2c290",
"ead38daf-7596-44b6-8909-fb4dbeb195ee"
]
}