GET student-platforms/get-countries?platformId={platformId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| platformId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | globally unique identifier |
None. |
|
| CountryName | string |
None. |
|
| CountryKey | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountryId": "2e09d202-1fef-4db3-8fb4-41211b58132e",
"CountryName": "sample string 1",
"CountryKey": "sample string 2"
},
{
"CountryId": "2e09d202-1fef-4db3-8fb4-41211b58132e",
"CountryName": "sample string 1",
"CountryKey": "sample string 2"
}
]
text/html
Sample:
[{"CountryId":"2e09d202-1fef-4db3-8fb4-41211b58132e","CountryName":"sample string 1","CountryKey":"sample string 2"},{"CountryId":"2e09d202-1fef-4db3-8fb4-41211b58132e","CountryName":"sample string 1","CountryKey":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfCountryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos.StudentPlatforms">
<CountryDto>
<CountryId>2e09d202-1fef-4db3-8fb4-41211b58132e</CountryId>
<CountryKey>sample string 2</CountryKey>
<CountryName>sample string 1</CountryName>
</CountryDto>
<CountryDto>
<CountryId>2e09d202-1fef-4db3-8fb4-41211b58132e</CountryId>
<CountryKey>sample string 2</CountryKey>
<CountryName>sample string 1</CountryName>
</CountryDto>
</ArrayOfCountryDto>