POST api/KDCAServices/BroadcastSend

Request Information

URI Parameters

None.

Body Parameters

BroadcastDataSend
NameDescriptionTypeAdditional information
agent

string

None.

idClient

integer

None.

nameBot

string

None.

template

string

None.

platform

string

None.

dateFrom

string

None.

dateTo

string

None.

message

string

None.

parameters

Collection of BroadcastParameterSelected

None.

Request Formats

application/json, text/json

Sample:
{
  "agent": "sample string 1",
  "idClient": 2,
  "nameBot": "sample string 3",
  "template": "sample string 4",
  "platform": "sample string 5",
  "dateFrom": "sample string 6",
  "dateTo": "sample string 7",
  "message": "sample string 8",
  "parameters": [
    {
      "idParameter": 1,
      "idValue": 2
    },
    {
      "idParameter": 1,
      "idValue": 2
    }
  ]
}

application/xml, text/xml

Sample:
<Broadcast.BroadcastDataSend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgroTech.Models">
  <agent>sample string 1</agent>
  <dateFrom>sample string 6</dateFrom>
  <dateTo>sample string 7</dateTo>
  <idClient>2</idClient>
  <message>sample string 8</message>
  <nameBot>sample string 3</nameBot>
  <parameters>
    <Broadcast.BroadcastParameterSelected>
      <idParameter>1</idParameter>
      <idValue>2</idValue>
    </Broadcast.BroadcastParameterSelected>
    <Broadcast.BroadcastParameterSelected>
      <idParameter>1</idParameter>
      <idValue>2</idValue>
    </Broadcast.BroadcastParameterSelected>
  </parameters>
  <platform>sample string 5</platform>
  <template>sample string 4</template>
</Broadcast.BroadcastDataSend>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.