POST api/v1/create_student_data

Request Information

URI Parameters

None.

Body Parameters

studentregister
NameDescriptionTypeAdditional information
vendor_id

integer

None.

name

string

None.

phone

string

None.

pincode

string

None.

board_id

integer

None.

class_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "vendor_id": 1,
  "name": "sample string 2",
  "phone": "sample string 3",
  "pincode": "sample string 4",
  "board_id": 5,
  "class_id": 6
}

application/xml, text/xml

Sample:
<studentregister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <board_id>5</board_id>
  <class_id>6</class_id>
  <name>sample string 2</name>
  <phone>sample string 3</phone>
  <pincode>sample string 4</pincode>
  <vendor_id>1</vendor_id>
</studentregister>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

studentresult
NameDescriptionTypeAdditional information
status

boolean

None.

data

student_Data

None.

error

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "data": {
    "vendor_id": 1,
    "student_id": 2,
    "footfall_id": 3,
    "phone": "sample string 4",
    "otp": "sample string 5"
  },
  "error": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<studentresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <data>
    <footfall_id>3</footfall_id>
    <otp>sample string 5</otp>
    <phone>sample string 4</phone>
    <student_id>2</student_id>
    <vendor_id>1</vendor_id>
  </data>
  <error>sample string 2</error>
  <message>sample string 3</message>
  <status>true</status>
</studentresult>