POST api/vender/addquestion
Request Information
URI Parameters
None.
Body Parameters
questionsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Question_ID | integer |
None. |
|
| Qusetion1 | string |
None. |
|
| Answer | string |
None. |
|
| Vender_ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Question_ID": 1,
"Qusetion1": "sample string 2",
"Answer": "sample string 3",
"Vender_ID": 4
}
application/xml, text/xml
Sample:
<questionsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models.ViewModels"> <Answer>sample string 3</Answer> <Question_ID>1</Question_ID> <Qusetion1>sample string 2</Qusetion1> <Vender_ID>4</Vender_ID> </questionsVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>