POST api/student?APIKEY={APIKEY}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APIKEY

string

Required

Body Parameters

portal_student
NameDescriptionTypeAdditional information
id

integer

None.

user_id

integer

None.

name

string

None.

father_name

string

None.

father_occupation

string

None.

permanent_address

string

None.

local_address

string

None.

gender

integer

None.

dob

string

None.

email

string

None.

mobileno

string

None.

usertype

integer

None.

username

string

None.

password

string

None.

status

integer

None.

status_txt

string

None.

student_education

Collection of portal_student_education

None.

student_certification

Collection of portal_student_certification

None.

student_experience

Collection of portal_student_experience

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "user_id": 2,
  "name": "sample string 3",
  "father_name": "sample string 4",
  "father_occupation": "sample string 5",
  "permanent_address": "sample string 6",
  "local_address": "sample string 7",
  "gender": 8,
  "dob": "sample string 9",
  "email": "sample string 10",
  "mobileno": "sample string 11",
  "usertype": 12,
  "username": "sample string 13",
  "password": "sample string 14",
  "status": 15,
  "status_txt": "sample string 16",
  "student_education": [
    {
      "id": 1,
      "studentid": 2,
      "qualification": "sample string 3",
      "institute": "sample string 4",
      "board_university": "sample string 5",
      "passing_year": 6,
      "percentage": 7.0,
      "grade": "sample string 8",
      "q_upload_path": "sample string 9"
    },
    {
      "id": 1,
      "studentid": 2,
      "qualification": "sample string 3",
      "institute": "sample string 4",
      "board_university": "sample string 5",
      "passing_year": 6,
      "percentage": 7.0,
      "grade": "sample string 8",
      "q_upload_path": "sample string 9"
    }
  ],
  "student_certification": [
    {
      "id": 1,
      "studentid": 2,
      "certification": "sample string 3",
      "passing_year": 4,
      "c_upload_path": "sample string 5"
    },
    {
      "id": 1,
      "studentid": 2,
      "certification": "sample string 3",
      "passing_year": 4,
      "c_upload_path": "sample string 5"
    }
  ],
  "student_experience": [
    {
      "id": 1,
      "studentid": 2,
      "organisation": "sample string 3",
      "role": "sample string 4",
      "total_exp": "sample string 5",
      "fromdate": "sample string 6",
      "todate": "sample string 7",
      "e_upload_path": "sample string 8"
    },
    {
      "id": 1,
      "studentid": 2,
      "organisation": "sample string 3",
      "role": "sample string 4",
      "total_exp": "sample string 5",
      "fromdate": "sample string 6",
      "todate": "sample string 7",
      "e_upload_path": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<portal_student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models">
  <dob>sample string 9</dob>
  <email>sample string 10</email>
  <father_name>sample string 4</father_name>
  <father_occupation>sample string 5</father_occupation>
  <gender>8</gender>
  <id>1</id>
  <local_address>sample string 7</local_address>
  <mobileno>sample string 11</mobileno>
  <name>sample string 3</name>
  <password>sample string 14</password>
  <permanent_address>sample string 6</permanent_address>
  <status>15</status>
  <status_txt>sample string 16</status_txt>
  <student_certification>
    <portal_student_certification>
      <c_upload_path>sample string 5</c_upload_path>
      <certification>sample string 3</certification>
      <id>1</id>
      <passing_year>4</passing_year>
      <studentid>2</studentid>
    </portal_student_certification>
    <portal_student_certification>
      <c_upload_path>sample string 5</c_upload_path>
      <certification>sample string 3</certification>
      <id>1</id>
      <passing_year>4</passing_year>
      <studentid>2</studentid>
    </portal_student_certification>
  </student_certification>
  <student_education>
    <portal_student_education>
      <board_university>sample string 5</board_university>
      <grade>sample string 8</grade>
      <id>1</id>
      <institute>sample string 4</institute>
      <passing_year>6</passing_year>
      <percentage>7</percentage>
      <q_upload_path>sample string 9</q_upload_path>
      <qualification>sample string 3</qualification>
      <studentid>2</studentid>
    </portal_student_education>
    <portal_student_education>
      <board_university>sample string 5</board_university>
      <grade>sample string 8</grade>
      <id>1</id>
      <institute>sample string 4</institute>
      <passing_year>6</passing_year>
      <percentage>7</percentage>
      <q_upload_path>sample string 9</q_upload_path>
      <qualification>sample string 3</qualification>
      <studentid>2</studentid>
    </portal_student_education>
  </student_education>
  <student_experience>
    <portal_student_experience>
      <e_upload_path>sample string 8</e_upload_path>
      <fromdate>sample string 6</fromdate>
      <id>1</id>
      <organisation>sample string 3</organisation>
      <role>sample string 4</role>
      <studentid>2</studentid>
      <todate>sample string 7</todate>
      <total_exp>sample string 5</total_exp>
    </portal_student_experience>
    <portal_student_experience>
      <e_upload_path>sample string 8</e_upload_path>
      <fromdate>sample string 6</fromdate>
      <id>1</id>
      <organisation>sample string 3</organisation>
      <role>sample string 4</role>
      <studentid>2</studentid>
      <todate>sample string 7</todate>
      <total_exp>sample string 5</total_exp>
    </portal_student_experience>
  </student_experience>
  <user_id>2</user_id>
  <username>sample string 13</username>
  <usertype>12</usertype>
</portal_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 'portal_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.