POST api/BookingController/AddTransactionSurvey
Request Information
URI Parameters
None.
Body Parameters
AddTransactionSurveyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Trans_ID | integer |
None. |
|
| Comment | string |
None. |
|
| Survey | Collection of Survey |
None. |
Request Formats
application/json, text/json
Sample:
{
"Trans_ID": 1,
"Comment": "sample string 2",
"Survey": [
{
"Q_ID": 1,
"rate": 2
},
{
"Q_ID": 1,
"rate": 2
}
]
}
application/xml, text/xml
Sample:
<AddTransactionSurveyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mandoub.Models">
<Comment>sample string 2</Comment>
<Survey>
<Survey>
<Q_ID>1</Q_ID>
<rate>2</rate>
</Survey>
<Survey>
<Q_ID>1</Q_ID>
<rate>2</rate>
</Survey>
</Survey>
<Trans_ID>1</Trans_ID>
</AddTransactionSurveyRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.