🌿
Laurel APIs
  • Introduction
  • Guides
    • Authentication
    • Building A Connector
    • Public Api Endpoints
  • Services
    • Identity
      • Oauth
      • Users
    • Ingestion
      • Clients
      • Codes
      • Initiatives
      • Validation Rules
    • Time
      • Clients
      • Code Types
      • Codes
      • Entries
      • Initiatives
      • Validation Rules
Powered by GitBook
On this page
  1. Services
  2. Ingestion

Validation Rules

PreviousInitiativesNextTime

Last updated 8 months ago

post
Authorizations
Path parameters
customerIdstring · objectidRequired
initiativeExternalIdstringRequired
Body
requiredCodeTypeExternalIdsstring[]Optional

code type external identifiers that are required for an entry

Responses
201Success
post
POST /api/v1/validations/customers/{customerId}/initiatives/{initiativeExternalId}/rules HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "requiredCodeTypeExternalIds": [
    "text"
  ]
}
201Success

No content