WSAskaRoute
Для получения полного списка операций щелкните здесь.
GetAreas
Тест
Форма для тестирования доступна только для запросов от локальных компьютеров.SOAP 1.1
В следующем примере показаны запрос и ответ SOAP 1.1. Вместо элементов-заполнителей следует подставить фактические значения.
POST /WSAskaRoute/WSAskaRoute.asmx HTTP/1.1
Host: 185.68.101.151
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:#GetAreas"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetAreasQuery xmlns="urn:Navigator:Services:Aska:Route:1.0">
<AreaCodes>
<AreaCode RouteAreaType="string" AreaName="string" xmlns="urn:Navigator:Services:Aska:Common:1.0" />
<AreaCode RouteAreaType="string" AreaName="string" xmlns="urn:Navigator:Services:Aska:Common:1.0" />
</AreaCodes>
</GetAreasQuery>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetAreasResult xmlns="urn:Navigator:Services:Aska:Route:1.0">
<Areas>
<Area AreaID="string" AreaInfo="string" xmlns="urn:Navigator:Services:Aska:Common:1.0">
<AreaCode>string</AreaCode>
<AreaName>string</AreaName>
<AreaPosition BufferWidth="decimal">
<Point xsi:nil="true" />
<Point xsi:nil="true" />
</AreaPosition>
<AreaType>POINT or LINE or POLYGONE or CONNECTLINE</AreaType>
<InputSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</InputSensorTime>
<OututSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</OututSensorTime>
<FilghtSensor>boolean</FilghtSensor>
</Area>
<Area AreaID="string" AreaInfo="string" xmlns="urn:Navigator:Services:Aska:Common:1.0">
<AreaCode>string</AreaCode>
<AreaName>string</AreaName>
<AreaPosition BufferWidth="decimal">
<Point xsi:nil="true" />
<Point xsi:nil="true" />
</AreaPosition>
<AreaType>POINT or LINE or POLYGONE or CONNECTLINE</AreaType>
<InputSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</InputSensorTime>
<OututSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</OututSensorTime>
<FilghtSensor>boolean</FilghtSensor>
</Area>
</Areas>
</GetAreasResult>
</soap:Body>
</soap:Envelope>
SOAP 1.2
В следующем примере показаны запрос и ответ SOAP 1,2. Вместо элементов-заполнителей следует подставить фактические значения.
POST /WSAskaRoute/WSAskaRoute.asmx HTTP/1.1
Host: 185.68.101.151
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetAreasQuery xmlns="urn:Navigator:Services:Aska:Route:1.0">
<AreaCodes>
<AreaCode RouteAreaType="string" AreaName="string" xmlns="urn:Navigator:Services:Aska:Common:1.0" />
<AreaCode RouteAreaType="string" AreaName="string" xmlns="urn:Navigator:Services:Aska:Common:1.0" />
</AreaCodes>
</GetAreasQuery>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetAreasResult xmlns="urn:Navigator:Services:Aska:Route:1.0">
<Areas>
<Area AreaID="string" AreaInfo="string" xmlns="urn:Navigator:Services:Aska:Common:1.0">
<AreaCode>string</AreaCode>
<AreaName>string</AreaName>
<AreaPosition BufferWidth="decimal">
<Point xsi:nil="true" />
<Point xsi:nil="true" />
</AreaPosition>
<AreaType>POINT or LINE or POLYGONE or CONNECTLINE</AreaType>
<InputSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</InputSensorTime>
<OututSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</OututSensorTime>
<FilghtSensor>boolean</FilghtSensor>
</Area>
<Area AreaID="string" AreaInfo="string" xmlns="urn:Navigator:Services:Aska:Common:1.0">
<AreaCode>string</AreaCode>
<AreaName>string</AreaName>
<AreaPosition BufferWidth="decimal">
<Point xsi:nil="true" />
<Point xsi:nil="true" />
</AreaPosition>
<AreaType>POINT or LINE or POLYGONE or CONNECTLINE</AreaType>
<InputSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</InputSensorTime>
<OututSensorTime>FIRSTIN or LASTIN or FIRSTOUT or LASTOUT or APPROXIMATE</OututSensorTime>
<FilghtSensor>boolean</FilghtSensor>
</Area>
</Areas>
</GetAreasResult>
</soap12:Body>
</soap12:Envelope>