POST api/Suggestion/MarkSuggestionUseful

Request Information

URI Parameters

None.

Body Parameters

SuggestionViewModel
NameDescriptionTypeAdditional information
suggestionmasterid

integer

None.

companyid

integer

None.

logininfoid

integer

None.

suggestiondate

date

None.

datestring

string

None.

suggestiontype

string

None.

suggestiontext

string

None.

iconclass

string

None.

showuseful

boolean

None.

showinput

boolean

None.

usefulresponse

boolean

None.

isremoved

boolean

None.

_suggestionlocal

date

None.

Request Formats

application/json, text/json

Sample:
{
  "_suggestionlocal": "2025-12-11T19:06:55.7296496+05:30",
  "suggestionmasterid": 1,
  "companyid": 2,
  "logininfoid": 3,
  "suggestiondate": "2025-12-11T19:06:55.7296496+05:30",
  "datestring": "sample string 5",
  "suggestiontype": "sample string 6",
  "suggestiontext": "sample string 7",
  "iconclass": "sample string 8",
  "showuseful": true,
  "showinput": true,
  "usefulresponse": true,
  "isremoved": true
}

application/xml, text/xml

Sample:
<SuggestionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <_suggestionlocal>2025-12-11T19:06:55.7296496+05:30</_suggestionlocal>
  <companyid>2</companyid>
  <datestring>sample string 5</datestring>
  <iconclass>sample string 8</iconclass>
  <isremoved>true</isremoved>
  <logininfoid>3</logininfoid>
  <showinput>true</showinput>
  <showuseful>true</showuseful>
  <suggestiondate>2025-12-11T19:06:55.7296496+05:30</suggestiondate>
  <suggestionmasterid>1</suggestionmasterid>
  <suggestiontext>sample string 7</suggestiontext>
  <suggestiontype>sample string 6</suggestiontype>
  <usefulresponse>true</usefulresponse>
</SuggestionViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>