🌿
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

Codes

PreviousCode TypesNextEntries

Last updated 2 years ago

post
Authorizations
Path parameters
customerIdstring · objectidRequired

customer id

Body
externalIdstringRequired

code's external id

namestringRequired

code's name

descriptionstringRequired

code's description, can be empty

codeTypeExternalIdstringRequired

code's type's external id

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

{
  "externalId": "text",
  "name": "text",
  "description": "text",
  "codeTypeExternalId": "text"
}
201Success

No content