POST api/outbund/SaveBotResponse

Request Information

URI Parameters

None.

Body Parameters

ChattOffersDto
NameDescriptionTypeAdditional information
SessionId

string

None.

Phone

string

None.

OfferId

string

None.

Response

string

None.

CoordinateService

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": "sample string 1",
  "Phone": "sample string 2",
  "OfferId": "sample string 3",
  "Response": "sample string 4",
  "CoordinateService": "sample string 5"
}

application/xml, text/xml

Sample:
<ChattOffersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ingeneo.Chattigo.BusinessLogic.Sura.Ofertamientos.Dto">
  <CoordinateService>sample string 5</CoordinateService>
  <OfferId>sample string 3</OfferId>
  <Phone>sample string 2</Phone>
  <Response>sample string 4</Response>
  <SessionId>sample string 1</SessionId>
</ChattOffersDto>

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

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>