POST Api/StudentDemographics/GetAllergyList
Request Information
URI Parameters
None.
Body Parameters
UserInfoName | Description | Type | Additional information |
---|---|---|---|
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:
{ "CampusName": "sample string 1", "UserID": "sample string 2", "DeviceID": "sample string 3", "DeviceOS": "sample string 4", "Version": "sample string 5", "accessToken": "sample string 6" }
text/html
Sample:
{"CampusName":"sample string 1","UserID":"sample string 2","DeviceID":"sample string 3","DeviceOS":"sample string 4","Version":"sample string 5","accessToken":"sample string 6"}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model"> <CampusName>sample string 1</CampusName> <DeviceID>sample string 3</DeviceID> <DeviceOS>sample string 4</DeviceOS> <UserID>sample string 2</UserID> <Version>sample string 5</Version> <accessToken>sample string 6</accessToken> </UserInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StudentAllergyReturnResultName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
message | string |
None. |
|
data | Collection of Allergy |
None. |
|
totalCount | integer |
None. |
|
pageSize | integer |
None. |
|
currentPage | integer |
None. |
|
totalPages | integer |
None. |
|
previousPage | boolean |
None. |
|
nextPage | boolean |
None. |
|
accessToken | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "message": "sample string 2", "data": [ { "AllergyId": 1.0, "Allergen": "sample string 2", "AllergenDescription": "sample string 3", "AllergyType": 1 }, { "AllergyId": 1.0, "Allergen": "sample string 2", "AllergenDescription": "sample string 3", "AllergyType": 1 } ], "totalCount": 3, "pageSize": 4, "currentPage": 5, "totalPages": 6, "previousPage": true, "nextPage": true, "accessToken": "a4768b1a-b5c1-4561-86e7-324b8a368354" }
text/html
Sample:
{"status":true,"message":"sample string 2","data":[{"AllergyId":1.0,"Allergen":"sample string 2","AllergenDescription":"sample string 3","AllergyType":1},{"AllergyId":1.0,"Allergen":"sample string 2","AllergenDescription":"sample string 3","AllergyType":1}],"totalCount":3,"pageSize":4,"currentPage":5,"totalPages":6,"previousPage":true,"nextPage":true,"accessToken":"a4768b1a-b5c1-4561-86e7-324b8a368354"}
application/xml, text/xml
Sample:
<StudentAllergyReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model.AdminPanel"> <currentPage>5</currentPage> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model"> <d2p1:Allergy> <d2p1:Allergen>sample string 2</d2p1:Allergen> <d2p1:AllergenDescription>sample string 3</d2p1:AllergenDescription> <d2p1:AllergyId>1</d2p1:AllergyId> <d2p1:AllergyType>1</d2p1:AllergyType> </d2p1:Allergy> <d2p1:Allergy> <d2p1:Allergen>sample string 2</d2p1:Allergen> <d2p1:AllergenDescription>sample string 3</d2p1:AllergenDescription> <d2p1:AllergyId>1</d2p1:AllergyId> <d2p1:AllergyType>1</d2p1:AllergyType> </d2p1:Allergy> </data> <message>sample string 2</message> <nextPage>true</nextPage> <pageSize>4</pageSize> <previousPage>true</previousPage> <status>true</status> <totalCount>3</totalCount> <totalPages>6</totalPages> </StudentAllergyReturnResult>