POST api/tt_doc_sa/vip-split/cancel/finalize-before-invoice
Request Information
URI Parameters
None.
Body Parameters
VipSplitCancelRequest| 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 |
Request Formats
application/json, text/json
Sample:
{
"paymentGroupId": "ac069f97-df42-4ee7-9b0e-09e01d91c452",
"paymentOwnerToken": "1142c56b-2e17-4913-aa59-fb547d9db657",
"coordinatorControlVersion": "QEA="
}
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": "7f5adb17-f6ca-4e31-ba2f-c1e842e730b5",
"activityId": "1de78b07-bf2b-4e6b-a340-951683f63ccc",
"coordinatorDocumentId": "e2d7cef1-72f5-4f32-bce5-a34c76059224",
"processState": 1,
"saleAmount": 4.0,
"appliedBalanceAmount": 5.0,
"amountToCollect": 6.0,
"controlVersion": "QEA=",
"parts": [
{
"$id": "2",
"documentId": "fa686f1a-b574-4ba2-b109-65be812f54f2",
"documentNumber": "sample string 2",
"partNumber": 3,
"partsCount": 4,
"amount": 5.0,
"partState": 1,
"controlVersion": "QEA="
},
{
"$ref": "2"
}
],
"invoiceDocumentIds": [
"a08116bf-21ee-4432-93bd-34bca89741aa",
"7f2ff413-2175-4d22-a4b8-203337e4143a"
]
}