DELETE api/payment/{id}

Удаление платежа по id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

id платежа

integer

Required

Body Parameters

None.

Response Information

Resource Description

DeletePaymentResponse
NameDescriptionTypeAdditional information
DeleteFlag

Флаг, показывающий, был ли платеж удален

boolean

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "DeleteFlag": true,
  "ConfirmDeleteDetails": true,
  "UnfastenFiskalDocuments": true,
  "RedirectUrl": "sample string 4",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T17:00:39.3713265+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<DeletePaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Payment.Contract">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 4</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:00:39.3713265+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <ConfirmDeleteDetails>true</ConfirmDeleteDetails>
  <DeleteFlag>true</DeleteFlag>
</DeletePaymentResponse>