CoreApiResource

snowbee.coreapi.CoreApiResource

idrequired
coderequired
namerequired
statusrequired
versionrequired
  • Format: int64
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
resource_category_idrequired
resource_typerequired
unit_costrequired

Stored unit cost in the owning company currency

  • Format: BigDecimal
Example"100.0"
unit_of_measure_idoptional
vat_group_idrequired
View raw schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "title": "String"
    },
    "code": {
      "type": "string",
      "title": "String"
    },
    "name": {
      "type": "string",
      "title": "String"
    },
    "status": {
      "type": "string",
      "title": "String"
    },
    "version": {
      "type": "integer",
      "format": "int64",
      "title": "Long"
    },
    "company_id": {
      "type": "string",
      "title": "String"
    },
    "created_at": {
      "type": "string",
      "format": "ISO 8681 timestamp",
      "example": "2025-10-28T12:37:42Z",
      "title": "ISO8681"
    },
    "modified_at": {
      "type": "string",
      "format": "ISO 8681 timestamp",
      "example": "2025-10-28T12:37:42Z",
      "title": "ISO8681"
    },
    "resource_category_id": {
      "type": "string",
      "title": "String"
    },
    "resource_type": {
      "type": "string",
      "title": "String"
    },
    "unit_cost": {
      "type": "string",
      "format": "BigDecimal",
      "description": "Stored unit cost in the owning company currency",
      "example": "100.0",
      "title": "BigDecimalAsString"
    },
    "unit_of_measure_id": {
      "type": [
        "null",
        "string"
      ],
      "title": "String"
    },
    "vat_group_id": {
      "type": "string",
      "title": "String"
    }
  },
  "required": [
    "code",
    "id",
    "name",
    "status",
    "version",
    "company_id",
    "created_at",
    "modified_at",
    "resource_category_id",
    "resource_type",
    "unit_cost",
    "vat_group_id"
  ],
  "title": "CoreApiResource"
}