CustomResources > Value

Creates a Value

Changed on

Creates a Value

post/api/2026-10-01/resources/custom_resources/values

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/custom_resources/values
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: custom_fields
    • or API key in header x-api-key

Request body

schema_idstring required

Identifier of the schema this value belongs to

employee_idstring required

The identifier of the employee that owns the resource value

custom_resource_idstring

The identifier of the resource that owns the resource value

field_idstring required

Identifier of the field this value belongs to

valuestring required

Value for schema custom field

Example request

{
  "schema_id": "1",
  "employee_id": "1",
  "custom_resource_id": "1",
  "field_id": "2",
  "value": "This is an example value for a custom field"
}

Response

CREATED

idstring required

Value identifier

resource_idstring required

The identifier of the resource that owns the resource value

attachable_idstring

The id of the attached resource like an employee

Example response

{
  "id": "1",
  "resource_id": "1",
  "attachable_id": "1"
}

Changes