Cirqll Core
HomeCirqll
HomeCirqll
  1. Chance
  • Getting Started
  • Query Parameters
    • Eager Loading
    • Partial Data
    • Count Relations
    • Filter
    • Order By
    • Pagination
  • Authentication
    • OAuth2
      • Authorize
        • Authorize
      • User
        • Me
      • Client
        • Index
        • Create
        • Update
        • Delete
      • Token
        • Create
        • Refresh
        • Index
      • Scopes
  • User
    • Index
      GET
    • Show
      GET
    • Create
      POST
    • Update
      PATCH
    • Delete
      DELETE
  • Role
    • Index
      GET
    • Show
      GET
    • Create
      POST
    • Update
      PATCH
    • Delete
      DELETE
  • Customer
    • Index
    • Show
    • Delete
    • Update
    • Create
  • Contact
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Task
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Appointment
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Financial
    • Chance
      • Index
        GET
      • Show
        GET
      • Create
        POST
      • Update
        PATCH
      • Delete
        DELETE
    • Assignment
      • Index
      • Show
      • Create
      • Update
      • Delete
    • Contract
      • Index
      • Show
      • Create
      • Update
      • Delete
  • Email
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Field
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Note
    • Index
    • Show
    • Create
    • Update
    • Delete
  • To-do
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Template
    • Index
    • Show
    • Update
    • Create
    • Delete
  • Setting
    • Index
    • Update
  • Webhook
    • Index
    • Show
    • Create
    • Update
    • Delete
  1. Chance

Index

GET
https://api.cirqll.nl/api/chance
This endpoint allows you to fetch all the chances with additional filters

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.cirqll.nl/api/chance?with[]=customer&with[]=user&show[]=name&show[]=id&show[]=price&order_by[]=id:desc&order_by[]=name&order_by[]=price:asc&filter=customer_id:in:28;29;30&limit=100&offset=0' \
--header 'Accept: application/json'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": 1,
            "name": "string",
            "price": 0,
            "description": "string",
            "percentage": 0,
            "customer_id": 0,
            "customer": {
                "id": 1,
                "name": "string",
                "next_contact": "2019-08-24T14:15:22Z",
                "email": "cleora42@gmail.com",
                "phone": "1-848-429-9425",
                "show_on_map": true,
                "coc": "string",
                "description": "string",
                "user_id": 0,
                "user": {
                    "id": 1,
                    "name": "Casey Dach",
                    "email": "string",
                    "created_at": "2024-05-18 13:38:35",
                    "updated_at": "2024-05-18 13:38:35",
                    "company_id": 0,
                    "company": {
                        "id": 1,
                        "name": "string",
                        "phone": "1-310-793-5469",
                        "coc": "string",
                        "financial_goal": 0,
                        "address_id": 0,
                        "address": {
                            "id": 1,
                            "street": "Georgianna Loop",
                            "house_number": 12,
                            "addition": "A",
                            "zipcode": "45668",
                            "city": "Lake Quentinmouth",
                            "province": "DR",
                            "country": "NL",
                            "extra_address_line_one": "string",
                            "extra_address_line_two": "string",
                            "lat": 0,
                            "lon": 0,
                            "created_at": "2024-05-18 13:38:35",
                            "updated_at": "2024-05-18 13:38:35"
                        },
                        "created_at": "2024-05-18 13:38:35",
                        "updated_at": "2024-05-18 13:38:35"
                    }
                },
                "address_id": 0,
                "address": {
                    "id": 1,
                    "street": "Georgianna Loop",
                    "house_number": 12,
                    "addition": "A",
                    "zipcode": "45668",
                    "city": "Lake Quentinmouth",
                    "province": "DR",
                    "country": "NL",
                    "extra_address_line_one": "string",
                    "extra_address_line_two": "string",
                    "lat": 0,
                    "lon": 0,
                    "created_at": "2024-05-18 13:38:35",
                    "updated_at": "2024-05-18 13:38:35"
                },
                "created_at": "2024-05-18 13:38:35",
                "updated_at": "2024-05-18 13:38:35"
            },
            "user_id": 0,
            "user": {
                "id": 1,
                "name": "Casey Dach",
                "email": "string",
                "created_at": "2024-05-18 13:38:35",
                "updated_at": "2024-05-18 13:38:35",
                "company_id": 0,
                "company": {
                    "id": 1,
                    "name": "string",
                    "phone": "1-310-793-5469",
                    "coc": "string",
                    "financial_goal": 0,
                    "address_id": 0,
                    "address": {
                        "id": 1,
                        "street": "Georgianna Loop",
                        "house_number": 12,
                        "addition": "A",
                        "zipcode": "45668",
                        "city": "Lake Quentinmouth",
                        "province": "DR",
                        "country": "NL",
                        "extra_address_line_one": "string",
                        "extra_address_line_two": "string",
                        "lat": 0,
                        "lon": 0,
                        "created_at": "2024-05-18 13:38:35",
                        "updated_at": "2024-05-18 13:38:35"
                    },
                    "created_at": "2024-05-18 13:38:35",
                    "updated_at": "2024-05-18 13:38:35"
                }
            },
            "created_at": "2024-05-18 13:38:35",
            "updated_at": "2024-05-18 13:38:35",
            "archived_at": "2019-08-24T14:15:22Z"
        }
    ],
    "limit": 100,
    "total": 0,
    "offset": 0
}
🟠401Not Logged In
🔴500Server Error
Modified at 2025-05-06 02:34:32
Previous
Chance
Next
Show
Built with