POST api/Dashboard/UpdateProfile

Request Information

URI Parameters

None.

Body Parameters

UserProfile
NameDescriptionTypeAdditional information
UserId

string

None.

Phone

string

None.

UserName

string

None.

ParentPhone

string

None.

ParentEmail

string

None.

Photo

string

None.

Branch

string

None.

Batch

string

None.

Institute

string

None.

Course

Collection of Pair of string [key] and globally unique identifier [value]

None.

Subject

Collection of Pair of string [key] and globally unique identifier [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Phone": "sample string 2",
  "UserName": "sample string 3",
  "ParentPhone": "sample string 4",
  "ParentEmail": "sample string 5",
  "Photo": "sample string 6",
  "Branch": "sample string 7",
  "Batch": "sample string 8",
  "Institute": "sample string 9",
  "Course": [
    {
      "Key": "sample string 1",
      "Value": "1bb75284-ca4a-4669-8352-f007fde8b9c5"
    },
    {
      "Key": "sample string 1",
      "Value": "332cf4a6-d1fd-42ee-82ed-433e820b30aa"
    }
  ],
  "Subject": [
    {
      "Key": "sample string 1",
      "Value": "e764e422-72a5-45e0-bbb1-8b70063c73e3"
    },
    {
      "Key": "sample string 1",
      "Value": "6a28bd16-004e-4663-b429-54bf8dd28f7a"
    }
  ]
}

application/xml, text/xml

Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.STUDY.Models.Common">
  <Batch>sample string 8</Batch>
  <Branch>sample string 7</Branch>
  <Course xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringguid>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>1bb75284-ca4a-4669-8352-f007fde8b9c5</d2p1:value>
    </d2p1:KeyValuePairOfstringguid>
    <d2p1:KeyValuePairOfstringguid>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>332cf4a6-d1fd-42ee-82ed-433e820b30aa</d2p1:value>
    </d2p1:KeyValuePairOfstringguid>
  </Course>
  <Institute>sample string 9</Institute>
  <ParentEmail>sample string 5</ParentEmail>
  <ParentPhone>sample string 4</ParentPhone>
  <Phone>sample string 2</Phone>
  <Photo>sample string 6</Photo>
  <Subject xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringguid>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>e764e422-72a5-45e0-bbb1-8b70063c73e3</d2p1:value>
    </d2p1:KeyValuePairOfstringguid>
    <d2p1:KeyValuePairOfstringguid>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>6a28bd16-004e-4663-b429-54bf8dd28f7a</d2p1:value>
    </d2p1:KeyValuePairOfstringguid>
  </Subject>
  <UserId>sample string 1</UserId>
  <UserName>sample string 3</UserName>
</UserProfile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.