POST api/BGSJ/AddAlarm
Request Information
URI Parameters
None.
Body Parameters
pAddAlarm| Name | Description | Type | Additional information |
|---|---|---|---|
| Uid | string |
None. |
|
| AlarmTitle | string |
None. |
|
| AlarmTime | string |
None. |
|
| PlayerId | string |
None. |
|
| AlarmCategory | string |
None. |
|
| AlarmSound | string |
None. |
|
| ChannelId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Uid": "sample string 1",
"AlarmTitle": "sample string 2",
"AlarmTime": "sample string 3",
"PlayerId": "sample string 4",
"AlarmCategory": "sample string 5",
"AlarmSound": "sample string 6",
"ChannelId": "sample string 7"
}
text/xml
Sample:
<pAddAlarm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGSJ.Controllers"> <AlarmCategory>sample string 5</AlarmCategory> <AlarmSound>sample string 6</AlarmSound> <AlarmTime>sample string 3</AlarmTime> <AlarmTitle>sample string 2</AlarmTitle> <ChannelId>sample string 7</ChannelId> <PlayerId>sample string 4</PlayerId> <Uid>sample string 1</Uid> </pAddAlarm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.