🌿
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. Time

Code Types

PreviousClientsNextCodes

Last updated 1 year ago

post
Authorizations
Path parameters
customerIdstring · objectidRequired

customer id

Body
externalIdstringRequired

code type's external id

namestringRequired

code type's name

semanticTypestring · enumOptional

code type's semantic type

Possible values:
customerDefaultablebooleanOptional

can the default CodeType value be set at the customer-level

userDefaultablebooleanOptional

can the default CodeType value be set at the user-level

Responses
201Success
post
POST /api/v1/customers/{customerId}/code-types/import HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "externalId": "text",
  "name": "text",
  "semanticType": "action",
  "customerDefaultable": true,
  "userDefaultable": true
}
201Success

No content