POST api/Comments/SendComment
Request Information
URI Parameters
None.
Body Parameters
CommentRequestName | Description | Type | Additional information |
---|---|---|---|
CardID | integer |
None. |
|
Comment | string |
None. |
|
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CardID": 1, "Comment": "sample string 2", "Email": "sample string 3" }
application/xml, text/xml
Sample:
<CommentsController.CommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <CardID>1</CardID> <Comment>sample string 2</Comment> <Email>sample string 3</Email> </CommentsController.CommentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>