POST api/Keyword/Save
Request Information
URI Parameters
None.
Body Parameters
SearchKeywordViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Keyword | string |
None. |
|
| Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"keyword": "sample string 2",
"enabled": true
}
application/xml, text/xml
Sample:
<SearchKeywordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ncdc.api.ViewModels"> <Enabled>true</Enabled> <Id>1</Id> <Keyword>sample string 2</Keyword> </SearchKeywordViewModel>
multipart/form-data
Sample:
<SearchKeywordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ncdc.api.ViewModels"><Enabled>true</Enabled><Id>1</Id><Keyword>sample string 2</Keyword></SearchKeywordViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.