POST api/schoolreport/submitdata
Request Information
URI Parameters
None.
Body Parameters
SchoolReportModelName | Description | Type | Additional information |
---|---|---|---|
SchoolID | integer |
None. |
|
SchoolDistrictID | integer |
None. |
|
SchoolOther | string |
None. |
|
SchoolType | string |
None. |
|
WeekEnding | date |
None. |
|
CurrentEnrollment | string |
None. |
|
TotalAbsent | integer |
None. |
|
FluCases | integer |
None. |
|
StomachCases | integer |
None. |
|
Comments | string |
None. |
|
NoDiseases | integer |
None. |
|
SchoolClosed | integer |
None. |
|
SubmittedBy | string |
None. |
|
SubmittedPhone | string |
None. |
|
Cases | Collection of SchoolReportCases |
None. |
Request Formats
application/json, text/json
Sample:
{ "SchoolID": 1, "SchoolDistrictID": 2, "SchoolOther": "sample string 3", "SchoolType": "sample string 4", "WeekEnding": "2025-01-15T02:14:28.5060336-05:00", "CurrentEnrollment": "sample string 6", "TotalAbsent": 7, "FluCases": 8, "StomachCases": 9, "Comments": "sample string 10", "NoDiseases": 11, "SchoolClosed": 12, "SubmittedBy": "sample string 13", "SubmittedPhone": "sample string 14", "Cases": [ { "SchoolOther": "sample string 1", "WeekEnding": "2025-01-15T02:14:28.5216378-05:00", "Disease": "sample string 3", "DiseaseOther": "sample string 4", "Grade": "sample string 5", "Race": "sample string 6", "Ethnicity": "sample string 7", "Gender": "sample string 8", "StudentFirstName": "sample string 9", "StudentLastName": "sample string 10", "StudentAddress": "sample string 11", "StudentPhone": "sample string 12", "StudentBirthdate": "2025-01-15T02:14:28.5216378-05:00", "SubmittedBy": "sample string 14" }, { "SchoolOther": "sample string 1", "WeekEnding": "2025-01-15T02:14:28.5216378-05:00", "Disease": "sample string 3", "DiseaseOther": "sample string 4", "Grade": "sample string 5", "Race": "sample string 6", "Ethnicity": "sample string 7", "Gender": "sample string 8", "StudentFirstName": "sample string 9", "StudentLastName": "sample string 10", "StudentAddress": "sample string 11", "StudentPhone": "sample string 12", "StudentBirthdate": "2025-01-15T02:14:28.5216378-05:00", "SubmittedBy": "sample string 14" } ] }
application/xml, text/xml
Sample:
<SchoolReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSC_API.Models"> <Cases> <SchoolReportCases> <Disease>sample string 3</Disease> <DiseaseOther>sample string 4</DiseaseOther> <Ethnicity>sample string 7</Ethnicity> <Gender>sample string 8</Gender> <Grade>sample string 5</Grade> <Race>sample string 6</Race> <SchoolOther>sample string 1</SchoolOther> <StudentAddress>sample string 11</StudentAddress> <StudentBirthdate>2025-01-15T02:14:28.5216378-05:00</StudentBirthdate> <StudentFirstName>sample string 9</StudentFirstName> <StudentLastName>sample string 10</StudentLastName> <StudentPhone>sample string 12</StudentPhone> <SubmittedBy>sample string 14</SubmittedBy> <WeekEnding>2025-01-15T02:14:28.5216378-05:00</WeekEnding> </SchoolReportCases> <SchoolReportCases> <Disease>sample string 3</Disease> <DiseaseOther>sample string 4</DiseaseOther> <Ethnicity>sample string 7</Ethnicity> <Gender>sample string 8</Gender> <Grade>sample string 5</Grade> <Race>sample string 6</Race> <SchoolOther>sample string 1</SchoolOther> <StudentAddress>sample string 11</StudentAddress> <StudentBirthdate>2025-01-15T02:14:28.5216378-05:00</StudentBirthdate> <StudentFirstName>sample string 9</StudentFirstName> <StudentLastName>sample string 10</StudentLastName> <StudentPhone>sample string 12</StudentPhone> <SubmittedBy>sample string 14</SubmittedBy> <WeekEnding>2025-01-15T02:14:28.5216378-05:00</WeekEnding> </SchoolReportCases> </Cases> <Comments>sample string 10</Comments> <CurrentEnrollment>sample string 6</CurrentEnrollment> <FluCases>8</FluCases> <NoDiseases>11</NoDiseases> <SchoolClosed>12</SchoolClosed> <SchoolDistrictID>2</SchoolDistrictID> <SchoolID>1</SchoolID> <SchoolOther>sample string 3</SchoolOther> <SchoolType>sample string 4</SchoolType> <StomachCases>9</StomachCases> <SubmittedBy>sample string 13</SubmittedBy> <SubmittedPhone>sample string 14</SubmittedPhone> <TotalAbsent>7</TotalAbsent> <WeekEnding>2025-01-15T02:14:28.5060336-05:00</WeekEnding> </SchoolReportModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.