Language APIs
Available Languages (GET)
Available Languages.
Route
|
URI |
/api/v1/Language/languages |
|
Method |
GET |
|
Result |
JSON – IEnumerable<KeyValuePair<string, string>> |
Parameters
None
Example
GET http://localhost/api/v1/Language/languages
Get Language Resources (GET)
Get Language Resources.
Route
|
URI |
/api/v1/Language/resources |
|
Method |
GET |
|
Result |
JSON – Dictionary<string, string> |
Parameters
None
Example
GET http://localhost/api/v1/Language/resources
Post Language Resources By Culture (POST)
Post Language Resources By Culture.
Route
|
URI |
/api/v1/Language/resources |
|
Method |
POST |
|
Result |
JSON – Dictionary<string, string> |
Parameters
None
Example
POST http://localhost/api/v1/Language/resources
Get Language Resources By Culture (GET)
Get Language Resources By Culture.
Route
|
URI |
/api/v1/Language/resources/{culture} |
|
Method |
GET |
|
Result |
JSON – Dictionary<string, string> |
Parameters
|
Name |
Type |
Mandatory |
Description |
|---|---|---|---|
|
culture |
string |
Yes |
|
Example
GET http://localhost/api/v1/Language/resources/{culture}
Get Type Id Descriptors (GET)
See <see cref="IOpenBasicService.GetTypeIdDescriptors"/>.
Route
|
URI |
/api/v1/Language/typeids |
|
Method |
GET |
|
Result |
JSON – Dictionary<int, TypeIdDescriptor> |
Parameters
None
Example
GET http://localhost/api/v1/Language/typeids