POST api/Mockrecord/Getmockrecord
Request Information
URI Parameters
None.
Body Parameters
MockRecordMName | Description | Type | Additional information |
---|---|---|---|
MockId | integer |
Required |
|
SessionId | integer |
Required |
|
StudId | integer |
Required |
|
SubjectId | integer |
Required |
|
Score | integer |
Required |
|
username | string |
Required |
|
accesskey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "MockId": 1, "SessionId": 2, "StudId": 3, "SubjectId": 4, "Score": 5, "username": "sample string 6", "accesskey": "sample string 7" }
text/html
Sample:
{"MockId":1,"SessionId":2,"StudId":3,"SubjectId":4,"Score":5,"username":"sample string 6","accesskey":"sample string 7"}
application/xml, text/xml
Sample:
<MockRecordM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models"> <MockId>1</MockId> <Score>5</Score> <SessionId>2</SessionId> <StudId>3</StudId> <SubjectId>4</SubjectId> <accesskey>sample string 7</accesskey> <username>sample string 6</username> </MockRecordM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.