API newin EN: различия между версиями

Материал из WiKi - UserSide
(Новая страница: «en | ru Section '''API''' ERP "UserSide"»)
 
Нет описания правки
 
Строка 2: Строка 2:


Section '''[[API_EN|API]]''' ERP "UserSide"
Section '''[[API_EN|API]]''' ERP "UserSide"
Purpose: Form [[Application for connection|Applications for connection]]
Example of implementation: http://demo.userside.eu/script/newin/sample.php
Optional parameters:
subcat - subcategory of the request ''(possible value: new (empty value of this parameter equals new))''
citycode - ID of the location for which the request is being submitted. The selection of streets will be opened. If empty, the selection of locations will be opened.
cityignore - ID of the locations that are to be ignored and not offered in the selection. Multiple locations - separated by commas.
map - flag ''(1/0)'' - whether to open the map selection window. The location must be specified on the map - then it will be clear which map to open and where to centre it.
Example request:
api.php?key=apikey&cat=newin&map=1

Текущая версия от 14:13, 23 августа 2023

en | ru

Section API ERP "UserSide"

Purpose: Form Applications for connection

Example of implementation: http://demo.userside.eu/script/newin/sample.php

Optional parameters:
subcat - subcategory of the request (possible value: new (empty value of this parameter equals new))
citycode - ID of the location for which the request is being submitted. The selection of streets will be opened. If empty, the selection of locations will be opened.
cityignore - ID of the locations that are to be ignored and not offered in the selection. Multiple locations - separated by commas.
map - flag (1/0) - whether to open the map selection window. The location must be specified on the map - then it will be clear which map to open and where to centre it.

Example request:

api.php?key=apikey&cat=newin&map=1