POST api/KDCA/IntentUpdate
Request Information
URI Parameters
None.
Body Parameters
IntentName | Description | Type | Additional information |
---|---|---|---|
idIntent | integer |
None. |
|
idClient | integer |
None. |
|
name | string |
None. |
|
description | string |
None. |
|
phrases | integer |
None. |
|
coincidences | integer |
None. |
|
coincidencesKO | integer |
None. |
|
active | integer |
None. |
|
rate | integer |
None. |
|
rateOK | integer |
None. |
|
rateKO | integer |
None. |
|
minutes | integer |
None. |
|
idGroupIntent | integer |
None. |
|
nameGroupIntent | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "idIntent": 1, "idClient": 2, "name": "sample string 3", "description": "sample string 4", "phrases": 5, "coincidences": 6, "coincidencesKO": 7, "active": 8, "rate": 9, "rateOK": 10, "rateKO": 11, "minutes": 12, "idGroupIntent": 13, "nameGroupIntent": "sample string 14" }
application/xml, text/xml
Sample:
<Intent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model"> <active>8</active> <coincidences>6</coincidences> <coincidencesKO>7</coincidencesKO> <description>sample string 4</description> <idClient>2</idClient> <idGroupIntent>13</idGroupIntent> <idIntent>1</idIntent> <minutes>12</minutes> <name>sample string 3</name> <nameGroupIntent>sample string 14</nameGroupIntent> <phrases>5</phrases> <rate>9</rate> <rateKO>11</rateKO> <rateOK>10</rateOK> </Intent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |