GET api/v{version}/nationalLanguages
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfIEnumerableOfNationalLanguageListItemName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of NationalLanguageListItem |
None. |
|
StatusCode |
Gets or sets the status code. |
HttpStatusCode |
None. |
StatusDescription |
Gets or sets the status description. |
string |
None. |
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "nationalLanguageID": 1, "description": "sample string 2", "languagIdString": "sample string 3" }, { "nationalLanguageID": 1, "description": "sample string 2", "languagIdString": "sample string 3" } ], "statusCode": 100, "statusDescription": "sample string 1", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfNationalLanguageListItemuFpbgzW1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <StatusCode>Continue</StatusCode> <StatusDescription>sample string 1</StatusDescription> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DomainObjects"> <d2p1:NationalLanguageListItem> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:LanguagIdString>sample string 3</d2p1:LanguagIdString> <d2p1:NationalLanguageID>1</d2p1:NationalLanguageID> </d2p1:NationalLanguageListItem> <d2p1:NationalLanguageListItem> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:LanguagIdString>sample string 3</d2p1:LanguagIdString> <d2p1:NationalLanguageID>1</d2p1:NationalLanguageID> </d2p1:NationalLanguageListItem> </Data> </ResponseOfArrayOfNationalLanguageListItemuFpbgzW1>