Cirqll Core
HomeCirqll
HomeCirqll
  1. Field
  • Query Parameters
    • Eager Loading
    • Partial Data
    • Count Relations
    • Pagination
      • Filter
      • Order By
  • 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
      GET
    • Show
      GET
    • Create
      POST
    • Update
      PATCH
    • Delete
      DELETE
  • Contact
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Appointment
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Task
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Financial
    • Chance
      • Index
      • Show
      • Create
      • Update
      • Delete
    • Assignment
      • Index
      • Show
      • Create
      • Update
      • Delete
    • Contract
      • Index
      • Show
      • Create
      • Update
      • Delete
  • Email
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Field
    • Index
      GET
    • Show
      GET
    • Create
      POST
    • Update
      PATCH
    • Delete
      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. Field

Update

PATCH
/field/{id}
Update field based on unique entity id

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Path Params
id
integer 
required
Header Params
Accept
string 
optional
Default:
application/json
Body Params application/json
s
name
string 
required
name
<= 255 characters
type
enum<string> 
required
<= 65535 characters
Allowed values:
textselectdateyesnopricemultiselecturl
category
enum<string> 
required
Allowed values:
customercontactfinancial
required
boolean 
optional
Default:
false
user_id
integer <uint32>
required
user
object 
User
optional
name
string 
required
<= 255 characters
Examples:
Casey DachMakayla BashirianMiracle Langworth
email
string 
required
<= 255 characters
password
string 
write-onlyrequired
<= 255 characters
company_id
integer <uint32>
required
company_id
integer <uint32>
required
Example
{
  "name": "string",
  "type": "text",
  "category": "customer",
  "required": false,
  "user_id": 0,
  "user": {
    "name": "Casey Dach",
    "email": "string",
    "password": "string",
    "company_id": 0
  },
  "company_id": 0
}

Request 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 --request PATCH 'https://api.cirqll.nl/api/field/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "type": "text",
    "category": "customer",
    "required": false,
    "user_id": 0,
    "user": {
        "name": "Casey Dach",
        "email": "string",
        "password": "string",
        "company_id": 0
    },
    "company_id": 0
}'

Responses

🟢200Success
application/json
Body
s
id
integer <uint32>
read-onlyrequired
Unique identifier of entity
>= 1<= 4294967296
Example:
1
name
string 
required
name
<= 255 characters
type
enum<string> 
required
<= 65535 characters
Allowed values:
textselectdateyesnopricemultiselecturl
category
enum<string> 
required
Allowed values:
customercontactfinancial
required
boolean 
optional
Default:
false
created_at
string <date-time>
read-onlyrequired
Date at which the entity was created
Example:
2024-05-18 13:38:35
updated_at
string <date-time>
read-onlyrequired
Date at which the entity was last changed
Example:
2024-05-18 13:38:35
user_id
integer <uint32>
required
user
object 
User
optional
id
integer <uint32>
read-onlyrequired
Unique identifier of entity
>= 1<= 4294967296
Example:
1
name
string 
required
<= 255 characters
Examples:
Casey DachMakayla BashirianMiracle Langworth
email
string 
required
<= 255 characters
created_at
string <date-time>
read-onlyrequired
Date at which the entity was created
Example:
2024-05-18 13:38:35
updated_at
string <date-time>
read-onlyrequired
Date at which the entity was last changed
Example:
2024-05-18 13:38:35
company_id
integer <uint32>
required
company
object 
Company
read-onlyoptional
company_id
integer <uint32>
required
company
object 
Company
read-onlyoptional
Example
{
  "id": 1,
  "name": "string",
  "type": "text",
  "category": "customer",
  "required": false,
  "created_at": "2024-05-18 13:38:35",
  "updated_at": "2024-05-18 13:38:35",
  "user_id": 0,
  "user": {
    "name": "Casey Dach",
    "email": "string",
    "company_id": 0,
    "company": {
      "name": "string",
      "phone": "1-310-793-5469",
      "coc": "string",
      "financial_goal": 0,
      "address_id": 0,
      "address": {
        "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
      }
    }
  },
  "company_id": 0,
  "company": {
    "name": "string",
    "phone": "1-310-793-5469",
    "coc": "string",
    "financial_goal": 0,
    "address_id": 0,
    "address": {
      "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
    }
  }
}
🟠404Record Not Found
🟠401Not Logged In
🔴500Server Error
Modified at 2025-05-06 02:34:32
Previous
Create
Next
Delete
Built with