POST api/SaveIncomeSurveyStudent

Request Information

URI Parameters

None.

Body Parameters

IncomeSurveyStudentRequest
NameDescriptionTypeAdditional information
SurveyStudentId

integer

None.

SurveyId

integer

None.

PersonId

globally unique identifier

None.

GradeId

integer

None.

SchoolId

globally unique identifier

None.

StudentFirstName

string

None.

StudentLastName

string

None.

StudentMiddleName

string

None.

BirthDate

date

None.

PendingStudent

boolean

None.

SSN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SurveyStudentId": 1,
  "SurveyId": 1,
  "PersonId": "4190273d-bc2e-4600-9175-f390d964d2a5",
  "GradeId": 3,
  "SchoolId": "789ccccf-312b-4ec7-a6fd-06746dab5b2f",
  "StudentFirstName": "sample string 5",
  "StudentLastName": "sample string 6",
  "StudentMiddleName": "sample string 7",
  "BirthDate": "2025-12-06T03:48:12.7097842+00:00",
  "PendingStudent": true,
  "SSN": "sample string 10"
}

application/xml, text/xml

Sample:
<IncomeSurveyStudentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.IncomeSurveys">
  <BirthDate>2025-12-06T03:48:12.7097842+00:00</BirthDate>
  <GradeId>3</GradeId>
  <PendingStudent>true</PendingStudent>
  <PersonId>4190273d-bc2e-4600-9175-f390d964d2a5</PersonId>
  <SSN>sample string 10</SSN>
  <SchoolId>789ccccf-312b-4ec7-a6fd-06746dab5b2f</SchoolId>
  <StudentFirstName>sample string 5</StudentFirstName>
  <StudentLastName>sample string 6</StudentLastName>
  <StudentMiddleName>sample string 7</StudentMiddleName>
  <SurveyId>1</SurveyId>
  <SurveyStudentId>1</SurveyStudentId>
</IncomeSurveyStudentRequest>

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 'IncomeSurveyStudentRequest'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>