POST api/customers/{customerId}/customerfeedback
Send feedback from a customer to the backend.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
The customer identifier. |
integer |
Required |
Body Parameters
The customer feedback request.
CustomerFeedbackRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerFeedbackType | CustomerFeedbackTypeEnum |
None. |
|
| System_CustomerFeedbackType | CustomerFeedbackTypeEnum |
None. |
|
| CustomerId | integer |
None. |
|
| Subject | string |
None. |
|
| Message | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Srid | integer |
None. |
|
| Files | Collection of UploadFile |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerFeedbackType": 1,
"System_CustomerFeedbackType": 1,
"CustomerId": 1,
"Subject": "sample string 2",
"Message": "sample string 3",
"Latitude": 4.1,
"Longitude": 5.1,
"Srid": 6,
"Files": [
{
"FileName": "sample string 1",
"MimeType": "sample string 2",
"FileData": "QEA="
},
{
"FileName": "sample string 1",
"MimeType": "sample string 2",
"FileData": "QEA="
}
]
}
text/html
Sample:
{"CustomerFeedbackType":1,"System_CustomerFeedbackType":1,"CustomerId":1,"Subject":"sample string 2","Message":"sample string 3","Latitude":4.1,"Longitude":5.1,"Srid":6,"Files":[{"FileName":"sample string 1","MimeType":"sample string 2","FileData":"QEA="},{"FileName":"sample string 1","MimeType":"sample string 2","FileData":"QEA="}]}
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.