POST api/outbund/ValidatePassToAgent

Request Information

URI Parameters

None.

Body Parameters

SwitcheoReq
NameDescriptionTypeAdditional information
SessionId

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": "sample string 1",
  "Phone": "sample string 2"
}

application/xml, text/xml

Sample:
<SwitcheoReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ingeneo.Chattigo.WebAPI.Controllers">
  <Phone>sample string 2</Phone>
  <SessionId>sample string 1</SessionId>
</SwitcheoReq>

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

Response Information

Resource Description

BotResponse
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<BotResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ingeneo.Chattigo.BusinessLogic.Sura.Ofertamientos.Dto">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</BotResponse>