POST radios/AddRadioToClient

Request Information

URI Parameters

None.

Body Parameters

RadioEntity
NameDescriptionTypeAdditional information
RadioId

integer

None.

CustId

integer

None.

Decoder

string

None.

DecoderType

string

None.

Transmitter

string

None.

SetName

string

None.

SpecFlag

boolean

None.

ZoneFlag

boolean

None.

Status

string

None.

Partitioned

boolean

None.

isPartitioned

boolean

None.

Partition

integer

None.

MaxSMS

integer

None.

Username

string

None.

Password

string

None.

URL

string

None.

Port

string

None.

Pin

string

None.

OutEnabled

boolean

None.

OutSetName

string

None.

HasVideo

boolean

None.

RadioNo

integer

None.

TenantId

integer

None.

TestSignalDelay

integer

None.

PageGroup

string

None.

Description

string

None.

AssignedDate

date

None.

LastDate

date

None.

LastAlarm

string

None.

LastZone

string

None.

Communicator

boolean

None.

SuspendReason

string

None.

SuspendDate

date

None.

TestTime

date

None.

inTest

boolean

None.

StockPointId

integer

None.

Model

string

None.

SerialNumber

string

None.

RtspPort

integer

None.

HttpPort

integer

None.

CCTVType

string

None.

Action

string

None.

UserNo

integer

None.

ServiceCallNo

integer

None.

HttpAlarmEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RadioId": 1,
  "CustId": 2,
  "Decoder": "sample string 3",
  "DecoderType": "sample string 4",
  "Transmitter": "sample string 5",
  "SetName": "sample string 6",
  "SpecFlag": true,
  "ZoneFlag": true,
  "Status": "sample string 7",
  "Partitioned": true,
  "isPartitioned": true,
  "Partition": 1,
  "MaxSMS": 1,
  "Username": "sample string 8",
  "Password": "sample string 9",
  "URL": "sample string 10",
  "Port": "sample string 11",
  "Pin": "sample string 12",
  "OutEnabled": true,
  "OutSetName": "sample string 13",
  "HasVideo": true,
  "RadioNo": 1,
  "TenantId": 14,
  "TestSignalDelay": 1,
  "PageGroup": "sample string 15",
  "Description": "sample string 16",
  "AssignedDate": "2026-04-17T11:32:32.5053626+00:00",
  "LastDate": "2026-04-17T11:32:32.5053626+00:00",
  "LastAlarm": "sample string 17",
  "LastZone": "sample string 18",
  "Communicator": true,
  "SuspendReason": "sample string 20",
  "SuspendDate": "2026-04-17T11:32:32.5053626+00:00",
  "TestTime": "2026-04-17T11:32:32.5053626+00:00",
  "inTest": true,
  "StockPointId": 1,
  "Model": "sample string 22",
  "SerialNumber": "sample string 23",
  "RtspPort": 1,
  "HttpPort": 1,
  "CCTVType": "sample string 24",
  "Action": "sample string 25",
  "UserNo": 1,
  "ServiceCallNo": 1,
  "HttpAlarmEnabled": true
}

text/html

Sample:
{"RadioId":1,"CustId":2,"Decoder":"sample string 3","DecoderType":"sample string 4","Transmitter":"sample string 5","SetName":"sample string 6","SpecFlag":true,"ZoneFlag":true,"Status":"sample string 7","Partitioned":true,"isPartitioned":true,"Partition":1,"MaxSMS":1,"Username":"sample string 8","Password":"sample string 9","URL":"sample string 10","Port":"sample string 11","Pin":"sample string 12","OutEnabled":true,"OutSetName":"sample string 13","HasVideo":true,"RadioNo":1,"TenantId":14,"TestSignalDelay":1,"PageGroup":"sample string 15","Description":"sample string 16","AssignedDate":"2026-04-17T11:32:32.5053626+00:00","LastDate":"2026-04-17T11:32:32.5053626+00:00","LastAlarm":"sample string 17","LastZone":"sample string 18","Communicator":true,"SuspendReason":"sample string 20","SuspendDate":"2026-04-17T11:32:32.5053626+00:00","TestTime":"2026-04-17T11:32:32.5053626+00:00","inTest":true,"StockPointId":1,"Model":"sample string 22","SerialNumber":"sample string 23","RtspPort":1,"HttpPort":1,"CCTVType":"sample string 24","Action":"sample string 25","UserNo":1,"ServiceCallNo":1,"HttpAlarmEnabled":true}

application/xml, text/xml

Sample:
<RadioEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Radios">
  <Action>sample string 25</Action>
  <AssignedDate>2026-04-17T11:32:32.5053626+00:00</AssignedDate>
  <CCTVType>sample string 24</CCTVType>
  <Communicator>true</Communicator>
  <CustId>2</CustId>
  <Decoder>sample string 3</Decoder>
  <DecoderType>sample string 4</DecoderType>
  <Description>sample string 16</Description>
  <HasVideo>true</HasVideo>
  <HttpAlarmEnabled>true</HttpAlarmEnabled>
  <HttpPort>1</HttpPort>
  <LastAlarm>sample string 17</LastAlarm>
  <LastDate>2026-04-17T11:32:32.5053626+00:00</LastDate>
  <LastZone>sample string 18</LastZone>
  <MaxSMS>1</MaxSMS>
  <Model>sample string 22</Model>
  <OutEnabled>true</OutEnabled>
  <OutSetName>sample string 13</OutSetName>
  <PageGroup>sample string 15</PageGroup>
  <Partition>1</Partition>
  <Partitioned>true</Partitioned>
  <Password>sample string 9</Password>
  <Pin>sample string 12</Pin>
  <Port>sample string 11</Port>
  <RadioId>1</RadioId>
  <RadioNo>1</RadioNo>
  <RtspPort>1</RtspPort>
  <SerialNumber>sample string 23</SerialNumber>
  <ServiceCallNo>1</ServiceCallNo>
  <SetName>sample string 6</SetName>
  <SpecFlag>true</SpecFlag>
  <Status>sample string 7</Status>
  <StockPointId>1</StockPointId>
  <SuspendDate>2026-04-17T11:32:32.5053626+00:00</SuspendDate>
  <SuspendReason>sample string 20</SuspendReason>
  <TenantId>14</TenantId>
  <TestSignalDelay>1</TestSignalDelay>
  <TestTime>2026-04-17T11:32:32.5053626+00:00</TestTime>
  <Transmitter>sample string 5</Transmitter>
  <URL>sample string 10</URL>
  <UserNo>1</UserNo>
  <Username>sample string 8</Username>
  <ZoneFlag>true</ZoneFlag>
  <inTest>true</inTest>
  <isPartitioned>true</isPartitioned>
</RadioEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.