POST Api/StudentDemographics/AddUpdateStudentAllergyMain
Request Information
URI Parameters
None.
Body Parameters
StudentAlleryInsertModel| Name | Description | Type | Additional information |
|---|---|---|---|
| STUDENTID | decimal number |
None. |
|
| MEDICINEREACTION | string |
None. |
|
| MEDALERGIESDESCRIPTION | string |
None. |
|
| BEESTINGRREACTION | string |
None. |
|
| HAYFEVERRREACTION | string |
None. |
|
| ANIMALSRREACTION | string |
None. |
|
| FLOWERSRREACTION | string |
None. |
|
| FOODRREACTION | string |
None. |
|
| OTHERALLERGICRREACTION | string |
None. |
|
| ALLERGICDESCRIPTION | string |
None. |
|
| CampusName | string |
None. |
|
| UserID | string |
None. |
|
| DeviceID | string |
None. |
|
| DeviceOS | string |
None. |
|
| Version | string |
None. |
|
| accessToken | string |
Required Matching regular expression pattern: ^a4768b1a-b5c1-4561-86e7-324b8a368354$ |
Request Formats
application/json, text/json
Sample:
{
"STUDENTID": 1.0,
"MEDICINEREACTION": "sample string 2",
"MEDALERGIESDESCRIPTION": "sample string 3",
"BEESTINGRREACTION": "sample string 4",
"HAYFEVERRREACTION": "sample string 5",
"ANIMALSRREACTION": "sample string 6",
"FLOWERSRREACTION": "sample string 7",
"FOODRREACTION": "sample string 8",
"OTHERALLERGICRREACTION": "sample string 9",
"ALLERGICDESCRIPTION": "sample string 10",
"CampusName": "sample string 11",
"UserID": "sample string 12",
"DeviceID": "sample string 13",
"DeviceOS": "sample string 14",
"Version": "sample string 15",
"accessToken": "sample string 16"
}
text/html
Sample:
{"STUDENTID":1.0,"MEDICINEREACTION":"sample string 2","MEDALERGIESDESCRIPTION":"sample string 3","BEESTINGRREACTION":"sample string 4","HAYFEVERRREACTION":"sample string 5","ANIMALSRREACTION":"sample string 6","FLOWERSRREACTION":"sample string 7","FOODRREACTION":"sample string 8","OTHERALLERGICRREACTION":"sample string 9","ALLERGICDESCRIPTION":"sample string 10","CampusName":"sample string 11","UserID":"sample string 12","DeviceID":"sample string 13","DeviceOS":"sample string 14","Version":"sample string 15","accessToken":"sample string 16"}
application/xml, text/xml
Sample:
<StudentAlleryInsertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model.AdminPanel"> <CampusName xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 11</CampusName> <DeviceID xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 13</DeviceID> <DeviceOS xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 14</DeviceOS> <UserID xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 12</UserID> <Version xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 15</Version> <accessToken xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">sample string 16</accessToken> <ALLERGICDESCRIPTION>sample string 10</ALLERGICDESCRIPTION> <ANIMALSRREACTION>sample string 6</ANIMALSRREACTION> <BEESTINGRREACTION>sample string 4</BEESTINGRREACTION> <FLOWERSRREACTION>sample string 7</FLOWERSRREACTION> <FOODRREACTION>sample string 8</FOODRREACTION> <HAYFEVERRREACTION>sample string 5</HAYFEVERRREACTION> <MEDALERGIESDESCRIPTION>sample string 3</MEDALERGIESDESCRIPTION> <MEDICINEREACTION>sample string 2</MEDICINEREACTION> <OTHERALLERGICRREACTION>sample string 9</OTHERALLERGICRREACTION> <STUDENTID>1</STUDENTID> </StudentAlleryInsertModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| SuccessMessage | string |
None. |
|
| Id | integer |
None. |
|
| PrimaryId | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"SuccessMessage": "sample string 2",
"Id": 3,
"PrimaryId": 4.0
}
text/html
Sample:
{"Success":true,"ErrorMessage":["sample string 1","sample string 2"],"SuccessMessage":"sample string 2","Id":3,"PrimaryId":4.0}
application/xml, text/xml
Sample:
<ReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Id>3</Id>
<PrimaryId>4</PrimaryId>
<Success>true</Success>
<SuccessMessage>sample string 2</SuccessMessage>
</ReturnResult>