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": "7dce356a-318b-4522-a36b-645aec5e53f2",
"paymentOwnerToken": "9df06d31-80da-4b7e-9891-364c942b2c9b",
"coordinatorControlVersion": "QEA=",
"invoiceUserId": "b48bf50d-e690-48d1-82a6-0daa20599251",
"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. |
|
| MaximumPayments | integer |
None. |
|
| PaymentsAssigned | integer |
None. |
|
| LastPaymentRequired | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"paymentGroupId": "48c8171e-d908-40b1-9655-1b213778013f",
"activityId": "10b95977-001a-4965-bb0d-44c6e983147e",
"coordinatorDocumentId": "41a74e2c-cc93-486c-a21a-0008677c9c39",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "2",
"documentId": "1e79b5dc-a6ec-454d-badc-8f856e4ea0e5",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "2"
}
],
"invoiceDocumentIds": [
"b731b5f4-abd8-4f70-8a9b-28e1b1d04270",
"7eb894f2-83c8-48ce-9e49-4eeef109c913"
],
"maximumPayments": 7,
"paymentsAssigned": 8,
"lastPaymentRequired": true
}