vPlan
  1. Resource
vPlan
  • General
    • Structure
    • Synchronize Data
    • Pagination
    • Sorting
    • Filtering
    • Show & Hide
    • Eager Loading
    • Deep Insertion
    • Deprecated
    • External Reference
    • Rate Limits
    • Authentication
      • Authentication
        • Get authorization
        • Token Exchange
      • Me
        • Retrieve information about current authentication
    • Errors
      • Empty values in created object
      • Memory Exhausted
      • Report an issue
      • Service Unavailable
      • Retrieve Api Messages
  • Endpoints
    • Base Data
      • Board
        • Label
        • Status
        • Capacity
          • Capacity Stage
          • Capacity Resource Type Stage
          • Capacity Resource
          • Capacity Group
        • View
          • Create New BoardView
        • Retrieve Board List
        • Create New Board
        • Retrieve Single Board
        • Update Single Board
        • Remove Single Board
      • Stage
        • Retrieve Stage List
        • Create New Stage
        • Retrieve Single Stage
        • Update Single Stage
        • Remove Single Stage
      • Activity
        • Retrieve Activity List
        • Create New Activity
        • Retrieve Single Activity
        • Update Single Activity
        • Remove Single Activity
      • Resource
        • Schedule
        • Schedule Deviation
          • Retrieve Deviation List
          • Create New Schedule Deviation
          • Retrieve Single Schedule Deviation
          • Update Single Schedule Deviation
          • Remove Single Schedule Deviation
        • Retrieve Resource List
          GET
        • Create New Resource
          POST
        • Retrieve Single Resource
          GET
        • Update Single Resource
          PUT
        • Remove Single Resource
          DELETE
      • Schedule
        • Retrieve Schedule List
        • Retrieve Schedule Year
        • Retrieve Schedule Month
        • Schedule Retrieve Day
      • Group
        • Retrieve Group List
        • Create New Group
        • Retrieve Single Group
        • Update Single Group
        • Remove Single Group
      • User
        • Invite User
        • Retrieve User List
        • Retrieve Single User
        • Update Single User
    • Card Data
      • Collection
        • Custom Fields
          • Update Custom Field By Name
          • Delete Custom Field By Name
        • Retrieve Collection List
        • Create New Collection
        • Retrieve Single Collection
        • Remove Single Collection
        • Move Collection to Backlog
        • Update Single Collection
        • Move Collection to Board
      • Card
        • Custom Field
          • Update Custom Field By Name
          • Delete Custom Field By Name
        • Retrieve Card List
        • Create New Card
        • Retrieve Single Card
        • Update Single Card
        • Remove Single Card
        • Split Card
        • All Cards List
      • Attachment
        • Retrieve Attachment List
        • Upload New Attachment
        • Add New Attachment Link
        • Retrieve Single Attachment
        • Remove Single Attachment
      • Comment
        • Retrieve Comment List
        • Create New Comment
        • Retrieve Single Comment
        • Update Single Comment
        • Remove Single Comment
      • Checklist
        • Collection
          • Retrieve Collection Checklist List
          • Create New Collection Checklist
          • Retrieve Single Collection Checklist
          • Update Single Collection Checklist
          • Remove Single Collection Checklist
        • Card
          • Retrieve Card Checklist List
          • Create New Card Checklist
          • Retrieve Single Card Checklist
          • Update Single Card Checklist
          • Remove Single Card Checklist
      • Time Tracking
        • Retrieve TimeTracking List
        • Create New TimeTracking
        • Retrieve Single TimeTracking
        • Update Single TimeTracking
        • Remove Single TimeTracking
        • Export TimeTracking
      • Relations between cards
        • Retrieve CardRelation List
        • Create New CardRelation
        • Retrieve Single CardRelation
        • Remove Single CardRelation
    • Order Data
      • Address
      • Order
        • Retrieve Order List
        • Create New Order
        • Retrieve Single Order
        • Update Single Order
        • Remove Single Order
      • Row
        • Retrieve OrderRow List
        • Create New OrderRow
        • Retrieve Single OrderRow
        • Update Single OrderRow
        • Remove Single OrderRow
      • Item
        • Retrieve Item List
        • Create New Item
        • Retrieve Single Item
        • Update Single Item
        • Remove Single Item
      • Project
        • Retrieve Project List
        • Create New Project
        • Retrieve Single Project
        • Update Single Project
        • Remove Single Project
      • Relation
        • Retrieve Relation List
        • Create New Relation
        • Retrieve Single Relation
        • Update Single Relation
        • Remove Single Relation
      • Warehouse
        • Retrieve Warehouse List
        • Create New Warehouse
        • Retrieve Single Warehouse
        • Update Single Warehouse
        • Remove Single Warehouse
    • Webhook
      • Retrieve Webhook List
      • Create New Webhook
      • Retrieve Single Webhook
      • Update Single Webhook
      • Remove Single Webhook
    • Payload send to webhook url
      • Normal Object
      • Nested Object
      • Nested Object with Pivot
  1. Resource

Create New Resource

POST
/resource
Create a new Resource and store it

Request

Query Params
show
string 
optional
Show only specific properties from the response. More info show & hide
hide
string 
optional
Hide properties from the response. More info show & hide
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
type
enum<string> 
optional
Allowed values:
machinecellemployee
Default:
resource
description
string 
optional
start_date
string <date>
optional
end_date
string <date> | null 
optional
avatar
string <uri> | null 
optional
workdays
object (ResourceWorkdays) 
optional
Days of the week that are considered workdays
1
integer  | null 
required
>= 0<= 24
Default:
8
2
integer  | null 
required
>= 0<= 24
Default:
8
3
integer  | null 
required
>= 0<= 24
Default:
8
4
integer  | null 
required
>= 0<= 24
Default:
8
5
integer  | null 
required
>= 0<= 24
Default:
8
6
integer  | null 
required
>= 0<= 24
Default:
null
7
integer  | null 
required
>= 0<= 24
Default:
null
integration_schedule
boolean 
optional
If false, vPlan manages the schedules via workdays. When true, integration manages the schedules
color_hex
string 
optional
Color hex is used to signify the Resource, only used if the avatar is null
Match pattern:
^#([0-9a-f]{3}){1,2}$
boards
array [object {3}] 
required
id
string <uuid>
required
Unique identifier
stages
array [object {3}] 
required
active
boolean 
optional
Example
{
    "name": "Della Grady",
    "type": "employee",
    "description": "Substantia vigilo placeat conturbo vesper. Videlicet delibero vos valde totidem arcesso carbo. Aeneus traho deleniti. Cimentarius crux tandem exercitationem cupiditate. Ars ustilo dicta quis aperiam. Fugiat comitatus absque casus celer bibo.",
    "start_date": "2024-08-29",
    "end_date": "2025-09-30",
    "avatar": "https://avatars.githubusercontent.com/u/54458177",
    "workdays": {
        "1": null,
        "2": null,
        "3": 10,
        "4": 8,
        "5": null,
        "6": null,
        "7": null
    },
    "integration_schedule": false,
    "color_hex": "#3d6",
    "boards": [
        {
            "id": "15830041-a548-457f-ae6f-3524dcd6c200",
            "stages": [
                {
                    "id": "888064b3-69da-4949-befc-3347c5ea05b6",
                    "percentage": 75,
                    "active": true
                },
                {
                    "id": "7beb9e59-3ab6-4374-af6e-adc81e47c3fb",
                    "percentage": 813,
                    "active": false
                }
            ],
            "active": true
        }
    ]
}

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/resource?show=&hide=' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Della Grady",
    "type": "employee",
    "description": "Substantia vigilo placeat conturbo vesper. Videlicet delibero vos valde totidem arcesso carbo. Aeneus traho deleniti. Cimentarius crux tandem exercitationem cupiditate. Ars ustilo dicta quis aperiam. Fugiat comitatus absque casus celer bibo.",
    "start_date": "2024-08-29",
    "end_date": "2025-09-30",
    "avatar": "https://avatars.githubusercontent.com/u/54458177",
    "workdays": {
        "1": null,
        "2": null,
        "3": 10,
        "4": 8,
        "5": null,
        "6": null,
        "7": null
    },
    "integration_schedule": false,
    "color_hex": "#3d6",
    "boards": [
        {
            "id": "15830041-a548-457f-ae6f-3524dcd6c200",
            "stages": [
                {
                    "id": "888064b3-69da-4949-befc-3347c5ea05b6",
                    "percentage": 75,
                    "active": true
                },
                {
                    "id": "7beb9e59-3ab6-4374-af6e-adc81e47c3fb",
                    "percentage": 813,
                    "active": false
                }
            ],
            "active": true
        }
    ]
}'

Responses

🟢201Created
application/json
Body
id
string <uuid>
read-onlyoptional
Unique identifier
name
string 
optional
type
enum<string> 
optional
Allowed values:
machinecellemployee
Default:
resource
description
string 
optional
start_date
string <date>
optional
end_date
string <date> | null 
optional
avatar
string <uri> | null 
optional
workdays
object (ResourceWorkdays) 
optional
Days of the week that are considered workdays
1
integer  | null 
required
>= 0<= 24
Default:
8
2
integer  | null 
required
>= 0<= 24
Default:
8
3
integer  | null 
required
>= 0<= 24
Default:
8
4
integer  | null 
required
>= 0<= 24
Default:
8
5
integer  | null 
required
>= 0<= 24
Default:
8
6
integer  | null 
required
>= 0<= 24
Default:
null
7
integer  | null 
required
>= 0<= 24
Default:
null
integration_schedule
boolean 
optional
If false, vPlan manages the schedules via workdays. When true, integration manages the schedules
color_hex
string 
optional
Color hex is used to signify the Resource, only used if the avatar is null
Match pattern:
^#([0-9a-f]{3}){1,2}$
external_ref
string  | null 
read-onlyoptional
Third-party reference of the object, for informational purposes only
Example:
fb1033a2ed70
created_at
string <date-time>
read-onlyoptional
Date and time of creation
Example:
2024-04-11T10:22:15Z
updated_at
string <date-time>
read-onlyoptional
Date and time of last update
Example:
2024-04-11T10:22:15Z
archived_at
string <date-time> | null 
read-onlyoptional
Date and time that the object is archived
Example:
2021-07-06T11:24:35Z
Example
{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "type": "resource",
    "description": "string",
    "start_date": "2019-08-24",
    "end_date": "2019-08-24",
    "avatar": "http://example.com",
    "workdays": {
        "1": 8,
        "2": 8,
        "3": 8,
        "4": 8,
        "5": 8,
        "6": null,
        "7": null
    },
    "integration_schedule": true,
    "color_hex": "string",
    "external_ref": "fb1033a2ed70",
    "created_at": "2024-04-11T10:22:15Z",
    "updated_at": "2024-04-11T10:22:15Z",
    "archived_at": "2021-07-06T11:24:35Z"
}
🟠422Unprocessable Content
🟠401Not Logged In
Modified at 2025-06-30 07:38:44
Previous
Retrieve Resource List
Next
Retrieve Single Resource
Built with