Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
doc:dev:api:warehouseencashment [17.12.2019 17:59] dlebedev [Пример ответа сервера] |
doc:dev:api:warehouseencashment [22.10.2025 12:12] (текущий) rlysov |
||
|---|---|---|---|
| Строка 7: | Строка 7: | ||
| Пример запроса на получение данных об инкассации: | Пример запроса на получение данных об инкассации: | ||
| - | http://mycompany.virtpos.ru/api/warehouseEncashment?apikey=MySecret&format=xml | + | https://[company].myvirtualpos.ru/api/warehouseEncashment?apikey=MySecret&format=xml |
| ==== Параметры запроса ==== | ==== Параметры запроса ==== | ||
| Строка 40: | Строка 40: | ||
| <type>warehouseEncashment</type> | <type>warehouseEncashment</type> | ||
| <count>1</count> | <count>1</count> | ||
| - | <warehouseEncashment> | + | <warehouseEncashments> |
| - | <id>1</id> | + | <warehouseEncashment> |
| - | <warehouse_id>12</warehouse_id> | + | <id>1</id> |
| - | <amount>12000.00</amount> | + | <warehouse_id>12</warehouse_id> |
| - | <bag_number/> | + | <amount>12000.00</amount> |
| - | <org_name>ИП Иванов И.И.</org_name> | + | <bag_number/> |
| - | <warehouse_name>Владимирская</warehouse_name> | + | <org_name>ИП Иванов И.И.</org_name> |
| - | <warehouse_address>Санкт Петербург</warehouse_address> | + | <warehouse_name>Владимирская</warehouse_name> |
| - | <warehouse_inn>123123123123</warehouse_inn> | + | <warehouse_address>Санкт Петербург</warehouse_address> |
| - | <bank_account_num/> | + | <warehouse_inn>123123123123</warehouse_inn> |
| - | <org_account_num/> | + | <bank_account_num/> |
| - | <agent_bank_name/> | + | <org_account_num/> |
| - | <agent_bank_bik/> | + | <agent_bank_name/> |
| - | <recipient_bank_name/> | + | <agent_bank_bik/> |
| - | <recipient_bank_bik/> | + | <recipient_bank_name/> |
| - | <source_text>Поступления от продажи товаров</source_text> | + | <recipient_bank_bik/> |
| - | <warehouse_safebox_transaction_id>1234</warehouse_safebox_transaction_id> | + | <source_text>Поступления от продажи товаров</source_text> |
| - | <note1/> | + | <warehouse_safebox_transaction_id>1234</warehouse_safebox_transaction_id> |
| - | <note2/> | + | <note1/> |
| - | <note3/> | + | <note2/> |
| - | <note4/> | + | <note3/> |
| - | <note5/> | + | <note4/> |
| - | <note6/> | + | <note5/> |
| - | <note7/> | + | <note6/> |
| - | <note8/> | + | <note7/> |
| - | <note9/> | + | <note8/> |
| - | <note10/> | + | <note9/> |
| - | <note11/> | + | <note10/> |
| - | <note12/> | + | <note11/> |
| - | <note13/> | + | <note12/> |
| - | <note14/> | + | <note13/> |
| - | <note15/> | + | <note14/> |
| - | <note16/> | + | <note15/> |
| - | <note17/> | + | <note16/> |
| - | <note18/> | + | <note17/> |
| - | <note19/> | + | <note18/> |
| - | <note20/> | + | <note19/> |
| - | <attribute1/> | + | <note20/> |
| - | <attribute2/> | + | <attribute1/> |
| - | <attribute3/> | + | <attribute2/> |
| - | <attribute4/> | + | <attribute3/> |
| - | <attribute5/> | + | <attribute4/> |
| - | <attribute6/> | + | <attribute5/> |
| - | <attribute7/> | + | <attribute6/> |
| - | <attribute8/> | + | <attribute7/> |
| - | <attribute9/> | + | <attribute8/> |
| - | <attribute10/> | + | <attribute9/> |
| - | <attribute11/> | + | <attribute10/> |
| - | <attribute12/> | + | <attribute11/> |
| - | <attribute13/> | + | <attribute12/> |
| - | <attribute14/> | + | <attribute13/> |
| - | <attribute15/> | + | <attribute14/> |
| - | <created_date>2019-10-25 14:02:37</created_date> | + | <attribute15/> |
| - | <created_by>123</created_by> | + | <created_date>2019-10-25 14:02:37</created_date> |
| - | <last_update_date>2019-10-25 14:02:37</last_update_date> | + | <created_by>123</created_by> |
| - | <last_update_by>123</last_update_by> | + | <last_update_date>2019-10-25 14:02:37</last_update_date> |
| - | <agent_bank_id/> | + | <last_update_by>123</last_update_by> |
| - | <agent_bank_external_id/> | + | <agent_bank_id/> |
| - | <recipient_bank_id/> | + | <agent_bank_external_id/> |
| - | <recipient_bank_external_id/> | + | <recipient_bank_id/> |
| - | <created_at>2019-10-25 00:00:00</created_at> | + | <recipient_bank_external_id/> |
| - | <creator_name>Петров П. П.</creator_name> | + | <created_at>2019-10-25 00:00:00</created_at> |
| - | <updater_name>Петров П. П.</updater_name> | + | <creator_name>Петров П. П.</creator_name> |
| - | </warehouseEncashment> | + | <updater_name>Петров П. П.</updater_name> |
| + | </warehouseEncashment> | ||
| + | </warehouseEncashments> | ||
| </root> | </root> | ||
| </file> | </file> | ||