- General
- Endpoints
Create New Card
POST
/collection/{collection_id}/card
Card
Request
Path Params
collection_id
string
required
Example:
1149e343-b3ce-445d-966c-159a9faa73ac
Query Params
show
string
optional
Example:
id,updated_at
hide
string
optional
Example:
created_at,updated_at
Header Params
x-api-key
string
required
Default:
{{api_key}}
x-api-env
string
required
Default:
{{api_env}}
Body Params application/json
name
string
optional
NOTE
Example:
Painting Order 10199
description
string
optional
NOTE
Example:
Painting 3x Chair Lissabon Red
start_date
string <date> | null
optional
Default:
2020-01-02
start_time
string <time> | null
optional
Default:
15:00
end_date
string <date> | null
optional
Default:
2020-01-02
end_time
string <time> | null
optional
Default:
15:00
custom_fields
array[object (CustomField) {10}]
required
name
string
optional
Example:
Weight
type
enum<string>
optional
Allowed values:
textnumberdatecheckboxemaillinkphonelistselectaddressdrawingtextareausers
Default:
text
Example:
number
scope
enum<string>
optional
Allowed values:
collectioncard
priority
integer
optional
Example:
0
value
string | integer | boolean | array | number | object | null
optional
drawing_id
string <uuid>
optional
components
object (CustomFieldOptionsAddress)
optional
list
array [object {3}]
optional
selected
object
optional
options
optional
number
, select
or list
typesdate
string <date> | null
deprecated
Default:
2020-01-02
start
string <date> | null
deprecated
Default:
2020-01-02
end
string <date> | null
deprecated
Default:
2020-01-02
card_recurring_id
string <uuid> | null
optional
parent_card_id
string <uuid> | null
optional
collection_id
string <uuid>
required
status_id
string <uuid>
required
stage_id
string <uuid>
required
completed_at
string <date-time> | null
optional
Example
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 POST 'https://api.vplan.com/v1/collection/1149e343-b3ce-445d-966c-159a9faa73ac/card' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢201Created
application/json
Body
id
string <uuid>
read-onlyoptional
name
string
optional
NOTE
Example:
Painting Order 10199
description
string
optional
NOTE
Example:
Painting 3x Chair Lissabon Red
start_date
string <date> | null
optional
Default:
2020-01-02
start_time
string <time> | null
optional
Default:
15:00
end_date
string <date> | null
optional
Default:
2020-01-02
end_time
string <time> | null
optional
Default:
15:00
rank
string
read-onlyoptional
Default:
aaa
position
integer
read-onlyoptional
days_diff
integer
read-onlyoptional
days_active
integer
read-onlyoptional
locked
boolean
read-onlyoptional
time_tracking_running
boolean
read-onlyoptional
custom_fields
array[object (CustomField) {13}]
required
id
string <uuid>
read-onlyoptional
name
string
optional
Example:
Weight
type
enum<string>
optional
Allowed values:
textnumberdatecheckboxemaillinkphonelistselectaddressdrawingtextareausers
Default:
text
Example:
number
scope
enum<string>
optional
Allowed values:
collectioncard
priority
integer
optional
Example:
0
value
string | integer | boolean | array | number