POST pabx/addpabx

Request Information

URI Parameters

None.

Body Parameters

Pabx
NameDescriptionTypeAdditional information
PABX

integer

None.

TenantId

integer

None.

PABXSystem

string

None.

IsActive

boolean

None.

Version

string

None.

PabxUrl

string

None.

DisableUserOnCallDecline

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PABX": 1,
  "TenantId": 2,
  "PABXSystem": "sample string 3",
  "IsActive": true,
  "Version": "sample string 5",
  "PabxUrl": "sample string 6",
  "DisableUserOnCallDecline": true
}

text/html

Sample:
{"PABX":1,"TenantId":2,"PABXSystem":"sample string 3","IsActive":true,"Version":"sample string 5","PabxUrl":"sample string 6","DisableUserOnCallDecline":true}

application/xml, text/xml

Sample:
<Pabx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Phone">
  <DisableUserOnCallDecline>true</DisableUserOnCallDecline>
  <IsActive>true</IsActive>
  <PABX>1</PABX>
  <PABXSystem>sample string 3</PABXSystem>
  <PabxUrl>sample string 6</PabxUrl>
  <TenantId>2</TenantId>
  <Version>sample string 5</Version>
</Pabx>

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 'Pabx'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.