GET student-platforms/get-countries?platformId={platformId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
platformId

string

Required

Body Parameters

None.

Response Information

Resource Description

APIResponseDTOOfListOfCountryDto
NameDescriptionTypeAdditional information
Status

boolean

None.

Code

integer

None.

Message

string

None.

Data

Collection of CountryDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Code": 2,
  "Message": "sample string 3",
  "Data": [
    {
      "CountryId": "ac9e9214-5dfa-4dae-b68c-a64925f56ce3",
      "CountryName": "sample string 1",
      "CountryKey": "sample string 2"
    },
    {
      "CountryId": "ac9e9214-5dfa-4dae-b68c-a64925f56ce3",
      "CountryName": "sample string 1",
      "CountryKey": "sample string 2"
    }
  ]
}

text/html

Sample:
{"Status":true,"Code":2,"Message":"sample string 3","Data":[{"CountryId":"ac9e9214-5dfa-4dae-b68c-a64925f56ce3","CountryName":"sample string 1","CountryKey":"sample string 2"},{"CountryId":"ac9e9214-5dfa-4dae-b68c-a64925f56ce3","CountryName":"sample string 1","CountryKey":"sample string 2"}]}

application/xml, text/xml

Sample:
<APIResponseDTOOfArrayOfCountryDtouHYvyZGU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.Dtos">
  <Code>2</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DAL.Dtos.StudentPlatforms">
    <d2p1:CountryDto>
      <d2p1:CountryId>ac9e9214-5dfa-4dae-b68c-a64925f56ce3</d2p1:CountryId>
      <d2p1:CountryKey>sample string 2</d2p1:CountryKey>
      <d2p1:CountryName>sample string 1</d2p1:CountryName>
    </d2p1:CountryDto>
    <d2p1:CountryDto>
      <d2p1:CountryId>ac9e9214-5dfa-4dae-b68c-a64925f56ce3</d2p1:CountryId>
      <d2p1:CountryKey>sample string 2</d2p1:CountryKey>
      <d2p1:CountryName>sample string 1</d2p1:CountryName>
    </d2p1:CountryDto>
  </Data>
  <Message>sample string 3</Message>
  <Status>true</Status>
</APIResponseDTOOfArrayOfCountryDtouHYvyZGU>