This commit is contained in:
parent
0a4bd0f2d5
commit
ba2c5cb209
|
@ -143,6 +143,10 @@
|
|||
],
|
||||
"scopes": {
|
||||
"descriptor": {
|
||||
"fields": [
|
||||
"id",
|
||||
"phone"
|
||||
],
|
||||
"include": [
|
||||
{
|
||||
"relation": "user",
|
||||
|
@ -164,15 +168,29 @@
|
|||
{
|
||||
"relation": "department",
|
||||
"scope": {
|
||||
"fields": [
|
||||
"departmentFk"
|
||||
],
|
||||
"include": [
|
||||
{
|
||||
"relation": "department"
|
||||
"relation": "department",
|
||||
"scope": {
|
||||
"fields": [
|
||||
"id",
|
||||
"name"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"relation": "sip"
|
||||
"relation": "sip",
|
||||
"scope": {
|
||||
"fields": [
|
||||
"extension"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue