POST api/Question/WriteDetails
“WriteDetails”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
submit | “submit”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": 2, "QuestionId": 3, "Address": "sample string 4", "Mobile": "sample string 5", "Name": "sample string 6", "Lucky": true, "LuckyMsg": "sample string 8" }
application/xml, text/xml
Sample:
<QuestionSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Questionnaire"> <Address>sample string 4</Address> <Id>1</Id> <Lucky>true</Lucky> <LuckyMsg>sample string 8</LuckyMsg> <Mobile>sample string 5</Mobile> <Name>sample string 6</Name> <QuestionId>3</QuestionId> <UserId>2</UserId> </QuestionSubmit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>