POST api/chatbot/query

Request Information

URI Parameters

None.

Body Parameters

ChatbotQueryRequest
NameDescriptionTypeAdditional information
Message

string

None.

Today

date

None.

TimeZone

string

None.

PriorContext

PriorTurnContext

None.

Request Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Today": "2026-03-09T15:22:52.4286612-07:00",
  "TimeZone": "sample string 2",
  "PriorContext": {
    "Intent": {
      "Intent": "sample string 1",
      "Confidence": 2.1
    },
    "Contable": {
      "Modo": "sample string 1",
      "PeriodoA": {
        "Start": {
          "Year": 1,
          "Month": 2
        },
        "End": {
          "Year": 1,
          "Month": 2
        },
        "PartialMonths": true,
        "Label": "sample string 2",
        "Source": "sample string 3"
      },
      "PeriodoB": {
        "Start": {
          "Year": 1,
          "Month": 2
        },
        "End": {
          "Year": 1,
          "Month": 2
        },
        "PartialMonths": true,
        "Label": "sample string 2",
        "Source": "sample string 3"
      },
      "TipoPeriodoA": 0,
      "TipoPeriodoB": 0
    },
    "Fechas": {
      "Modo": "sample string 1",
      "RangoA": {
        "Start": "2026-03-09T15:22:52.4442544-07:00",
        "End": "2026-03-09T15:22:52.4442544-07:00",
        "Label": "sample string 3",
        "Source": "sample string 4"
      },
      "RangoB": {
        "Start": "2026-03-09T15:22:52.4442544-07:00",
        "End": "2026-03-09T15:22:52.4442544-07:00",
        "Label": "sample string 3",
        "Source": "sample string 4"
      },
      "TipoPeriodoA": 0,
      "TipoPeriodoB": 0
    },
    "ModeApplied": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ChatbotQueryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SADMUN_CHAT_API.Controllers">
  <Message>sample string 1</Message>
  <PriorContext>
    <Contable xmlns:d3p1="http://schemas.datacontract.org/2004/07/SADMUN.IntentRouter.Models">
      <d3p1:Modo>sample string 1</d3p1:Modo>
      <d3p1:PeriodoA>
        <d3p1:End>
          <d3p1:Month>2</d3p1:Month>
          <d3p1:Year>1</d3p1:Year>
        </d3p1:End>
        <d3p1:Label>sample string 2</d3p1:Label>
        <d3p1:PartialMonths>true</d3p1:PartialMonths>
        <d3p1:Source>sample string 3</d3p1:Source>
        <d3p1:Start>
          <d3p1:Month>2</d3p1:Month>
          <d3p1:Year>1</d3p1:Year>
        </d3p1:Start>
      </d3p1:PeriodoA>
      <d3p1:PeriodoB>
        <d3p1:End>
          <d3p1:Month>2</d3p1:Month>
          <d3p1:Year>1</d3p1:Year>
        </d3p1:End>
        <d3p1:Label>sample string 2</d3p1:Label>
        <d3p1:PartialMonths>true</d3p1:PartialMonths>
        <d3p1:Source>sample string 3</d3p1:Source>
        <d3p1:Start>
          <d3p1:Month>2</d3p1:Month>
          <d3p1:Year>1</d3p1:Year>
        </d3p1:Start>
      </d3p1:PeriodoB>
      <d3p1:TipoPeriodoA>Desconocido</d3p1:TipoPeriodoA>
      <d3p1:TipoPeriodoB>Desconocido</d3p1:TipoPeriodoB>
    </Contable>
    <Fechas xmlns:d3p1="http://schemas.datacontract.org/2004/07/SADMUN.IntentRouter.Models">
      <d3p1:Modo>sample string 1</d3p1:Modo>
      <d3p1:RangoA>
        <d3p1:End>2026-03-09T15:22:52.4442544-07:00</d3p1:End>
        <d3p1:Label>sample string 3</d3p1:Label>
        <d3p1:Source>sample string 4</d3p1:Source>
        <d3p1:Start>2026-03-09T15:22:52.4442544-07:00</d3p1:Start>
      </d3p1:RangoA>
      <d3p1:RangoB>
        <d3p1:End>2026-03-09T15:22:52.4442544-07:00</d3p1:End>
        <d3p1:Label>sample string 3</d3p1:Label>
        <d3p1:Source>sample string 4</d3p1:Source>
        <d3p1:Start>2026-03-09T15:22:52.4442544-07:00</d3p1:Start>
      </d3p1:RangoB>
      <d3p1:TipoPeriodoA>Desconocido</d3p1:TipoPeriodoA>
      <d3p1:TipoPeriodoB>Desconocido</d3p1:TipoPeriodoB>
    </Fechas>
    <Intent xmlns:d3p1="http://schemas.datacontract.org/2004/07/SADMUN.IntentRouter.Models">
      <d3p1:Confidence>2.1</d3p1:Confidence>
      <d3p1:Intent>sample string 1</d3p1:Intent>
    </Intent>
    <ModeApplied>sample string 1</ModeApplied>
  </PriorContext>
  <TimeZone>sample string 2</TimeZone>
  <Today>2026-03-09T15:22:52.4286612-07:00</Today>
</ChatbotQueryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.