Get Contact detailed information
Returns Contact detailed information.
Path Parameters
- entity-uid integer required
Possible values:
>= 1
Unique Identifier for Item
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- S I P
- Regular
- Individual panel
- Multi panel
Schema
- name string
Contact name
- type string
Possible values: [
regular
,individual
,multi
]Contact type
- number string
Contact number.
There is two format: inner number and SIP number
Inner number regexes for different devices:
- ^\d{3}[1-9]-\d{2}-\d[0-8]-\d{2}$ - for regular device - monitor
- ^\d{3}[1-9]-\d{2}-\d[1-9]$ - for multiapartment panel
- ^\d{2}[1-9]-\d{2}-\d[0-8]-\d{2}-[1-9]$ - for individual panel
SIP number format: sip:[0-9A-Za-z+-.]+@((((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(?::\d{1,5})?)(.|$)){4}\b)|([0-9]*[A-Za-z+-]+[0-9])(.([0-9][A-Za-z+-_]+[0-9]*))+), for example
sip:[email protected]
orsip:[email protected]
- is_favorite boolean
Favorite contacts will be displayed at the top of the list
- is_default boolean
This flag can be true only for panel-like contacts. Default panel will be played when panel viewer app will be opened
- auto_answer boolean
If true device will answer immediately when received call from this contact.
auto_answer
andin_black_list
cannot be true at the same time - in_black_list boolean
If true device will skip incoming call from this contact.
auto_answer
andin_black_list
cannot be true at the same time
{
"name": "Albert Einstein",
"type": "multi",
"number": "0001-01-11-11",
"is_favorite": true,
"is_default": true,
"auto_answer": true,
"in_black_list": false
}
{
"name": "Adolph Smith",
"type": "regular",
"number": "sip:[email protected]",
"is_favorite": false,
"is_default": false,
"auto_answer": false,
"in_black_list": false
}
{
"name": "Apartment 1111",
"type": "regular",
"number": "0001-01-11-11",
"is_favorite": false,
"is_default": false,
"auto_answer": true,
"in_black_list": false
}
{
"name": "Panel",
"type": "individual",
"number": "001-01-11-11-1",
"is_favorite": false,
"is_default": true,
"auto_answer": false,
"in_black_list": false
}
{
"name": "Outdoor",
"type": "multi",
"number": "0001-01-01",
"is_favorite": false,
"is_default": false,
"auto_answer": false,
"in_black_list": false
}
Wrong contact pathItemUid
- application/json
- Schema
- Example (from schema)
- Wrong uid
Schema
- error string
Error information
{
"error": "Wrong contact uid"
}
{
"error": "Wrong contact uid"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}