Set NowIP settings
Configures NowIP settings.
They provides additional alert on alarm triggering on the internal monitor using the SIP protocol. Notification occurs by sending SIP messages to the specified SIP number on which the BAS-IP Intercom application is installed.
- application/json
Request Body
now_ip object
enable booleanmain_number stringsecond_number stringsecond_number_delay_call integerauto_call object
enable booleannumber stringheartbeat object
enable booleandata stringtimeout integerzones object[]
zone_id integerrange is [0-15]
zone_name string
Responses
- 200
- 400
- 401
OK
Validation error. Required fields are not provided.
- Wrong zone_id
- Wrong number
- Missed json body or wrong param. Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param
- is a required field that was not provided
- Field was of the wrong type. Response sample:
"error": "Wrong JSON body: value `param` was of the wrong type"
where param
- is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong number
- Wrong zone_id
- Base
- No value
- Wrong param type
Schema
- error string
{
"error": true
}
{
"error": "Wrong number"
}
{
"error": "Wrong zone_id"
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
{
"error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...