GET api/Languages
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of LanguageName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
FlowDirection | FlowDirection |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "FlowDirection": 1 }, { "ID": 1, "Name": "sample string 2", "FlowDirection": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfLanguage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models"> <Language> <FlowDirection>RightToLeft</FlowDirection> <ID>1</ID> <Name>sample string 2</Name> </Language> <Language> <FlowDirection>RightToLeft</FlowDirection> <ID>1</ID> <Name>sample string 2</Name> </Language> </ArrayOfLanguage>