AutoGRAPH.NET Service EnumSchemas (EN) — различия между версиями
Admin (обсуждение | вклад) (Новая страница: «Get allowed schemas list from service. == WCF == Definition: <syntaxhighlight lang="csharp"> RSchema[] EnumSchemas() </syntaxhighlight> Result: <syntaxhighligh…») |
Admin (обсуждение | вклад) |
||
Строка 3: | Строка 3: | ||
== WCF == |
== WCF == |
||
− | Definition: |
+ | Definition: |
− | RSchema[] EnumSchemas() |
+ | <pre>RSchema[] EnumSchemas()</pre> |
− | </syntaxhighlight> |
||
+ | Result: |
||
− | Result: <syntaxhighlight lang="csharp"> |
||
+ | <pre> |
||
public class RSchema |
public class RSchema |
||
{ |
{ |
||
public string Name { get; set; } |
public string Name { get; set; } |
||
} |
} |
||
+ | </pre> |
||
− | </syntaxhighlight> |
||
== JSON == |
== JSON == |
||
+ | Call: <pre>http://localhost:8300/EnumSchemas</pre> |
||
− | Call: <syntaxhighlight lang="html4strict"> |
||
− | http://localhost:8300/EnumSchemas |
||
− | </syntaxhighlight> |
||
Result: [[Media:EnumSchemas-result.json.txt|download file]] |
Result: [[Media:EnumSchemas-result.json.txt|download file]] |
Версия 22:11, 27 сентября 2015
Get allowed schemas list from service.
WCF
Definition:
RSchema[] EnumSchemas()
Result:
public class RSchema { public string Name { get; set; } }
JSON
Call:
http://localhost:8300/EnumSchemas
Result: download file
[{"Name":"Demo"},{"Name":"DemoLite"},{"Name":"DemoLiteProperties"}]