POST clients/addPhDeclineReasons

Request Information

URI Parameters

None.

Body Parameters

CallDeclineReason
NameDescriptionTypeAdditional information
ReasonId

integer

None.

Reason

string

None.

Active

boolean

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReasonId": 1,
  "Reason": "sample string 2",
  "Active": true,
  "TenantId": 4
}

text/html

Sample:
{"ReasonId":1,"Reason":"sample string 2","Active":true,"TenantId":4}

application/xml, text/xml

Sample:
<CallDeclineReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Clients">
  <Active>true</Active>
  <Reason>sample string 2</Reason>
  <ReasonId>1</ReasonId>
  <TenantId>4</TenantId>
</CallDeclineReason>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CallDeclineReason'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.