GET api/GetProfile?UID={UID}&UTID={UTID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UID

string

Required

UTID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MyProfile
NameDescriptionTypeAdditional information
GeneralDetails

Collection of General_Details

None.

PersonalDetails

Collection of PersonalDetails

None.

Country

Collection of VCountries

None.

State

Collection of VStates

None.

District

Collection of VDistrict

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "GeneralDetails": [
      {
        "$id": "2",
        "FirstName": "sample string 1",
        "LastName": "sample string 2",
        "Email": "sample string 3",
        "Mobile": "sample string 4",
        "ImagePath": "sample string 5"
      },
      {
        "$ref": "2"
      }
    ],
    "PersonalDetails": [
      {
        "$id": "3",
        "DateOfBirth": "sample string 1",
        "Gender": true,
        "Address": "sample string 3",
        "Hobbies": "sample string 4",
        "AboutMe": "sample string 5",
        "LocationID": "sample string 6",
        "StateID": "sample string 7",
        "CountryID": "sample string 8",
        "DistrictID": "sample string 9"
      },
      {
        "$ref": "3"
      }
    ],
    "Country": [
      {
        "$id": "4",
        "CountryName": "sample string 1",
        "CountryId": 2
      },
      {
        "$ref": "4"
      }
    ],
    "State": [
      {
        "$id": "5",
        "StateName": "sample string 1",
        "StateId": 2
      },
      {
        "$ref": "5"
      }
    ],
    "District": [
      {
        "$id": "6",
        "DistrictName": "sample string 1",
        "DistrictID": 2
      },
      {
        "$ref": "6"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLibraryController.MyProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Controllers">
  <LibraryController.MyProfile>
    <Country>
      <LibraryController.VCountries>
        <CountryId>2</CountryId>
        <CountryName>sample string 1</CountryName>
      </LibraryController.VCountries>
      <LibraryController.VCountries>
        <CountryId>2</CountryId>
        <CountryName>sample string 1</CountryName>
      </LibraryController.VCountries>
    </Country>
    <District>
      <LibraryController.VDistrict>
        <DistrictID>2</DistrictID>
        <DistrictName>sample string 1</DistrictName>
      </LibraryController.VDistrict>
      <LibraryController.VDistrict>
        <DistrictID>2</DistrictID>
        <DistrictName>sample string 1</DistrictName>
      </LibraryController.VDistrict>
    </District>
    <GeneralDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
      <d3p1:General_Details>
        <d3p1:Email>sample string 3</d3p1:Email>
        <d3p1:FirstName>sample string 1</d3p1:FirstName>
        <d3p1:ImagePath>sample string 5</d3p1:ImagePath>
        <d3p1:LastName>sample string 2</d3p1:LastName>
        <d3p1:Mobile>sample string 4</d3p1:Mobile>
      </d3p1:General_Details>
      <d3p1:General_Details>
        <d3p1:Email>sample string 3</d3p1:Email>
        <d3p1:FirstName>sample string 1</d3p1:FirstName>
        <d3p1:ImagePath>sample string 5</d3p1:ImagePath>
        <d3p1:LastName>sample string 2</d3p1:LastName>
        <d3p1:Mobile>sample string 4</d3p1:Mobile>
      </d3p1:General_Details>
    </GeneralDetails>
    <PersonalDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
      <d3p1:PersonalDetails>
        <d3p1:AboutMe>sample string 5</d3p1:AboutMe>
        <d3p1:Address>sample string 3</d3p1:Address>
        <d3p1:CountryID>sample string 8</d3p1:CountryID>
        <d3p1:DateOfBirth>sample string 1</d3p1:DateOfBirth>
        <d3p1:DistrictID>sample string 9</d3p1:DistrictID>
        <d3p1:Gender>true</d3p1:Gender>
        <d3p1:Hobbies>sample string 4</d3p1:Hobbies>
        <d3p1:LocationID>sample string 6</d3p1:LocationID>
        <d3p1:StateID>sample string 7</d3p1:StateID>
      </d3p1:PersonalDetails>
      <d3p1:PersonalDetails>
        <d3p1:AboutMe>sample string 5</d3p1:AboutMe>
        <d3p1:Address>sample string 3</d3p1:Address>
        <d3p1:CountryID>sample string 8</d3p1:CountryID>
        <d3p1:DateOfBirth>sample string 1</d3p1:DateOfBirth>
        <d3p1:DistrictID>sample string 9</d3p1:DistrictID>
        <d3p1:Gender>true</d3p1:Gender>
        <d3p1:Hobbies>sample string 4</d3p1:Hobbies>
        <d3p1:LocationID>sample string 6</d3p1:LocationID>
        <d3p1:StateID>sample string 7</d3p1:StateID>
      </d3p1:PersonalDetails>
    </PersonalDetails>
    <State>
      <LibraryController.VStates>
        <StateId>2</StateId>
        <StateName>sample string 1</StateName>
      </LibraryController.VStates>
      <LibraryController.VStates>
        <StateId>2</StateId>
        <StateName>sample string 1</StateName>
      </LibraryController.VStates>
    </State>
  </LibraryController.MyProfile>
  <LibraryController.MyProfile>
    <Country>
      <LibraryController.VCountries>
        <CountryId>2</CountryId>
        <CountryName>sample string 1</CountryName>
      </LibraryController.VCountries>
      <LibraryController.VCountries>
        <CountryId>2</CountryId>
        <CountryName>sample string 1</CountryName>
      </LibraryController.VCountries>
    </Country>
    <District>
      <LibraryController.VDistrict>
        <DistrictID>2</DistrictID>
        <DistrictName>sample string 1</DistrictName>
      </LibraryController.VDistrict>
      <LibraryController.VDistrict>
        <DistrictID>2</DistrictID>
        <DistrictName>sample string 1</DistrictName>
      </LibraryController.VDistrict>
    </District>
    <GeneralDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
      <d3p1:General_Details>
        <d3p1:Email>sample string 3</d3p1:Email>
        <d3p1:FirstName>sample string 1</d3p1:FirstName>
        <d3p1:ImagePath>sample string 5</d3p1:ImagePath>
        <d3p1:LastName>sample string 2</d3p1:LastName>
        <d3p1:Mobile>sample string 4</d3p1:Mobile>
      </d3p1:General_Details>
      <d3p1:General_Details>
        <d3p1:Email>sample string 3</d3p1:Email>
        <d3p1:FirstName>sample string 1</d3p1:FirstName>
        <d3p1:ImagePath>sample string 5</d3p1:ImagePath>
        <d3p1:LastName>sample string 2</d3p1:LastName>
        <d3p1:Mobile>sample string 4</d3p1:Mobile>
      </d3p1:General_Details>
    </GeneralDetails>
    <PersonalDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
      <d3p1:PersonalDetails>
        <d3p1:AboutMe>sample string 5</d3p1:AboutMe>
        <d3p1:Address>sample string 3</d3p1:Address>
        <d3p1:CountryID>sample string 8</d3p1:CountryID>
        <d3p1:DateOfBirth>sample string 1</d3p1:DateOfBirth>
        <d3p1:DistrictID>sample string 9</d3p1:DistrictID>
        <d3p1:Gender>true</d3p1:Gender>
        <d3p1:Hobbies>sample string 4</d3p1:Hobbies>
        <d3p1:LocationID>sample string 6</d3p1:LocationID>
        <d3p1:StateID>sample string 7</d3p1:StateID>
      </d3p1:PersonalDetails>
      <d3p1:PersonalDetails>
        <d3p1:AboutMe>sample string 5</d3p1:AboutMe>
        <d3p1:Address>sample string 3</d3p1:Address>
        <d3p1:CountryID>sample string 8</d3p1:CountryID>
        <d3p1:DateOfBirth>sample string 1</d3p1:DateOfBirth>
        <d3p1:DistrictID>sample string 9</d3p1:DistrictID>
        <d3p1:Gender>true</d3p1:Gender>
        <d3p1:Hobbies>sample string 4</d3p1:Hobbies>
        <d3p1:LocationID>sample string 6</d3p1:LocationID>
        <d3p1:StateID>sample string 7</d3p1:StateID>
      </d3p1:PersonalDetails>
    </PersonalDetails>
    <State>
      <LibraryController.VStates>
        <StateId>2</StateId>
        <StateName>sample string 1</StateName>
      </LibraryController.VStates>
      <LibraryController.VStates>
        <StateId>2</StateId>
        <StateName>sample string 1</StateName>
      </LibraryController.VStates>
    </State>
  </LibraryController.MyProfile>
</ArrayOfLibraryController.MyProfile>