POST api/SuraMonitoreo/ValidateOrigin

Request Information

URI Parameters

None.

Body Parameters

OriginRequest
NameDescriptionTypeAdditional information
CellPhone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CellPhone": "sample string 1"
}

application/xml, text/xml

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

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

Response Information

Resource Description

ResponseGenericDto
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseGenericDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ingeneo.Chattigo.BusinessLogic.Sura.Monitoreo.Dto">
  <Data />
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
</ResponseGenericDto>