Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A abocar
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • cct
  • abocar
  • Wiki
  • Queries

Last edited by Andrea Pavlovic Jul 26, 2021
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Queries

  • Query #1 List Company Members?

Query #1 List Company Members?

username: test_admin@ironapi.com password: test_admin https://garage.abocar.at/data/assignment/core_customer/query

   {
    "attrs": {
        "order_by": {
            "-desc": "me.id"
        },
        "prefetch": [
            "assigned_client",
            {
                "binding_instance_of_customer": "owning_client"
            }
        ]
    },
    "conds": {
        "binding_instance_of_customer.id": "154"
    },
    "page": 1,
    "page_size": 10
}

I assume, you're trying to list all clients of a company?

Clone repository
  • Customers
  • Home
  • Queries
  • Test_Setup
  • Vehicles
  • v2