POST api/PostProfile

Request Information

URI Parameters

None.

Body Parameters

Student
NameDescriptionTypeAdditional information
student_id

integer

None.

category_id

integer

None.

subcategory_id

integer

None.

subject_id

integer

None.

center_id

integer

None.

b_id

integer

None.

student_name

string

None.

student_father

string

None.

student_mother

string

None.

student_dob

string

None.

student_address

string

None.

student_phone

string

None.

student_email

string

None.

user_name

string

None.

password

string

None.

password_md5

string

None.

student_status

integer

None.

studentlogo

string

None.

category_name

string

None.

centername

string

None.

centeraddress

string

None.

exam_limit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "student_id": 1,
  "category_id": 2,
  "subcategory_id": 3,
  "subject_id": 4,
  "center_id": 5,
  "b_id": 1,
  "student_name": "sample string 6",
  "student_father": "sample string 7",
  "student_mother": "sample string 8",
  "student_dob": "sample string 9",
  "student_address": "sample string 10",
  "student_phone": "sample string 11",
  "student_email": "sample string 12",
  "user_name": "sample string 13",
  "password": "sample string 14",
  "password_md5": "sample string 15",
  "student_status": 16,
  "studentlogo": "sample string 17",
  "category_name": "sample string 18",
  "centername": "sample string 19",
  "centeraddress": "sample string 20",
  "exam_limit": 1
}

text/html

Sample:
{"student_id":1,"category_id":2,"subcategory_id":3,"subject_id":4,"center_id":5,"b_id":1,"student_name":"sample string 6","student_father":"sample string 7","student_mother":"sample string 8","student_dob":"sample string 9","student_address":"sample string 10","student_phone":"sample string 11","student_email":"sample string 12","user_name":"sample string 13","password":"sample string 14","password_md5":"sample string 15","student_status":16,"studentlogo":"sample string 17","category_name":"sample string 18","centername":"sample string 19","centeraddress":"sample string 20","exam_limit":1}

application/xml, text/xml

Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestSeriesAPI.Models">
  <b_id>1</b_id>
  <category_id>2</category_id>
  <category_name>sample string 18</category_name>
  <center_id>5</center_id>
  <centeraddress>sample string 20</centeraddress>
  <centername>sample string 19</centername>
  <exam_limit>1</exam_limit>
  <password>sample string 14</password>
  <password_md5>sample string 15</password_md5>
  <student_address>sample string 10</student_address>
  <student_dob>sample string 9</student_dob>
  <student_email>sample string 12</student_email>
  <student_father>sample string 7</student_father>
  <student_id>1</student_id>
  <student_mother>sample string 8</student_mother>
  <student_name>sample string 6</student_name>
  <student_phone>sample string 11</student_phone>
  <student_status>16</student_status>
  <studentlogo>sample string 17</studentlogo>
  <subcategory_id>3</subcategory_id>
  <subject_id>4</subject_id>
  <user_name>sample string 13</user_name>
</Student>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Student'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.