POST api/efresults
Request Information
URI Parameters
None.
Body Parameters
EFResultName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
None. |
|
EFID | string |
None. |
|
StartDate | string |
None. |
|
EndDate | string |
None. |
|
Score | decimal number |
None. |
|
ETData | Collection of ETEntry |
None. |
|
Events | Collection of EventData |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "sample string 1", "EFID": "sample string 2", "StartDate": "sample string 3", "EndDate": "sample string 4", "Score": 5.1, "ETData": [ { "OffsetMS": 1, "X": 2.1, "Y": 3.1, "Type": "sample string 4", "TrackingState": "sample string 5", "IsLeftBlink": true, "IsRightBlink": true, "IsBlink": true, "EyeOpenness": 9.1 }, { "OffsetMS": 1, "X": 2.1, "Y": 3.1, "Type": "sample string 4", "TrackingState": "sample string 5", "IsLeftBlink": true, "IsRightBlink": true, "IsBlink": true, "EyeOpenness": 9.1 } ], "Events": [ { "Name": "sample string 1", "StimulusID": "sample string 2", "StimulusMS": 3, "InputID": "sample string 4", "InputCoords": null }, { "Name": "sample string 1", "StimulusID": "sample string 2", "StimulusMS": 3, "InputID": "sample string 4", "InputCoords": null } ] }
application/xml, text/xml
Sample:
<EFResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NeuroPsychProfile.DataStructures"> <EFID>sample string 2</EFID> <ETData> <ETEntry> <EyeOpenness>9.1</EyeOpenness> <IsBlink>true</IsBlink> <IsLeftBlink>true</IsLeftBlink> <IsRightBlink>true</IsRightBlink> <OffsetMS>1</OffsetMS> <TrackingState>sample string 5</TrackingState> <Type>sample string 4</Type> <X>2.1</X> <Y>3.1</Y> </ETEntry> <ETEntry> <EyeOpenness>9.1</EyeOpenness> <IsBlink>true</IsBlink> <IsLeftBlink>true</IsLeftBlink> <IsRightBlink>true</IsRightBlink> <OffsetMS>1</OffsetMS> <TrackingState>sample string 5</TrackingState> <Type>sample string 4</Type> <X>2.1</X> <Y>3.1</Y> </ETEntry> </ETData> <EndDate>sample string 4</EndDate> <Events> <EventData> <InputCoords i:nil="true" /> <InputID>sample string 4</InputID> <Name>sample string 1</Name> <StimulusID>sample string 2</StimulusID> <StimulusMS>3</StimulusMS> </EventData> <EventData> <InputCoords i:nil="true" /> <InputID>sample string 4</InputID> <Name>sample string 1</Name> <StimulusID>sample string 2</StimulusID> <StimulusMS>3</StimulusMS> </EventData> </Events> <Score>5.1</Score> <StartDate>sample string 3</StartDate> <UserID>sample string 1</UserID> </EFResult>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.