POST api/CCS

Request Information

URI Parameters

None.

Body Parameters

CCSRequest
NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<CCSRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIPAPI">
  <password>sample string 2</password>
  <username>sample string 1</username>
</CCSRequest>

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

Response Information

Resource Description

SIPInfo
NameDescriptionTypeAdditional information
success

string

None.

usercall

string

None.

passwordcall

string

None.

usersms

string

None.

passwordsms

string

None.

sipdomainsms

string

None.

smtpserver

string

None.

smtpport

string

None.

smtpusername

string

None.

smtppassword

string

None.

smtpfromemail

string

None.

smtpfromname

string

None.

clientport

string

None.

sipdomain

SIPDomainCalls

None.

extid

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": "sample string 1",
  "usercall": "sample string 2",
  "passwordcall": "sample string 3",
  "usersms": "sample string 4",
  "passwordsms": "sample string 5",
  "sipdomainsms": "sample string 6",
  "smtpserver": "sample string 7",
  "smtpport": "sample string 8",
  "smtpusername": "sample string 9",
  "smtppassword": "sample string 10",
  "smtpfromemail": "sample string 11",
  "smtpfromname": "sample string 12",
  "clientport": "sample string 13",
  "sipdomain": {
    "call1": "sample string 1",
    "call2": "sample string 2",
    "call3": "sample string 3",
    "call4": "sample string 4",
    "call5": "sample string 5",
    "call6": "sample string 6"
  },
  "extid": "sample string 14"
}

application/xml, text/xml

Sample:
<SIPInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIPAPI">
  <clientport>sample string 13</clientport>
  <extid>sample string 14</extid>
  <passwordcall>sample string 3</passwordcall>
  <passwordsms>sample string 5</passwordsms>
  <sipdomain>
    <call1>sample string 1</call1>
    <call2>sample string 2</call2>
    <call3>sample string 3</call3>
    <call4>sample string 4</call4>
    <call5>sample string 5</call5>
    <call6>sample string 6</call6>
  </sipdomain>
  <sipdomainsms>sample string 6</sipdomainsms>
  <smtpfromemail>sample string 11</smtpfromemail>
  <smtpfromname>sample string 12</smtpfromname>
  <smtppassword>sample string 10</smtppassword>
  <smtpport>sample string 8</smtpport>
  <smtpserver>sample string 7</smtpserver>
  <smtpusername>sample string 9</smtpusername>
  <success>sample string 1</success>
  <usercall>sample string 2</usercall>
  <usersms>sample string 4</usersms>
</SIPInfo>