POST api/ArisCards/InsertRealization
вставка реализации
Request Information
URI Parameters
None.
Body Parameters
ArisRealizationInfo| Наименование | Описание | Тип | Дополнительная информация |
|---|---|---|---|
| ArisCardNumber |
номер карты Aris |
string |
None. |
| CheckNumber |
номер чека |
integer |
None. |
| OilStationNumber |
номер АЗС в системе АРИС |
integer |
None. |
| RealizationDateTime |
дата/время реализации |
date |
None. |
| ProductNumber |
номер продукта (ServiceCode) |
integer |
None. |
| TransactionType |
тип транзакции |
integer |
None. |
| Volume |
количество |
decimal number |
None. |
| IsoCurrencyCodeName |
наменование валюты Iso |
string |
None. |
| ExchangeRate |
курс пересчета |
decimal number |
None. |
| AmountPaid |
сумма |
decimal number |
None. |
| AmountVat |
сумма НДС |
decimal number |
None. |
| AmountTax |
сумма налога |
decimal number |
None. |
| ListPrice |
цена |
decimal number |
None. |
| FixRebate |
фиксированная скидка |
decimal number |
None. |
| VaribleRebate |
плавающая кидка |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArisCardNumber": "sample string 1",
"CheckNumber": 2,
"OilStationNumber": 3,
"RealizationDateTime": "2025-10-27T05:21:17.5999701+03:00",
"ProductNumber": 5,
"TransactionType": 1,
"Volume": 6.0,
"IsoCurrencyCodeName": "sample string 7",
"ExchangeRate": 8.0,
"AmountPaid": 9.0,
"AmountVat": 10.0,
"AmountTax": 1.0,
"ListPrice": 11.0,
"FixRebate": 1.0,
"VaribleRebate": 1.0
}
application/xml, text/xml
Sample:
<ArisRealizationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.ArisCards"> <AmountPaid>9</AmountPaid> <AmountTax>1</AmountTax> <AmountVat>10</AmountVat> <ArisCardNumber>sample string 1</ArisCardNumber> <CheckNumber>2</CheckNumber> <ExchangeRate>8</ExchangeRate> <FixRebate>1</FixRebate> <IsoCurrencyCodeName>sample string 7</IsoCurrencyCodeName> <ListPrice>11</ListPrice> <OilStationNumber>3</OilStationNumber> <ProductNumber>5</ProductNumber> <RealizationDateTime>2025-10-27T05:21:17.5999701+03:00</RealizationDateTime> <TransactionType>1</TransactionType> <VaribleRebate>1</VaribleRebate> <Volume>6</Volume> </ArisRealizationInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Информация о ответе
Resource Description
ResultInfo| Наименование | Описание | Тип | Дополнительная информация |
|---|---|---|---|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Success": true,
"Code": 3
}
application/xml, text/xml
Sample:
<ResultInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BerlioSoft.Core.Common.Results"> <Code>3</Code> <Message>sample string 1</Message> <Success>true</Success> </ResultInfo>