POST api/Keyword/Create

新增關鍵字

Request Information

URI Parameters

None.

Body Parameters

KeyWordCreateModel
NameDescriptionTypeAdditional information
UserId

string

None.

Keyword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Keyword": "sample string 2"
}

text/xml

Sample:
<KeyWordCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teema.Libary.Models">
  <Keyword>sample string 2</Keyword>
  <UserId>sample string 1</UserId>
</KeyWordCreateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CiResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Data": {}
}

text/xml

Sample:
<CiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teema.Libary.Models">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
</CiResult>