Import Services from Library

POST /tenants/{tenant}/services/library/import

Creates one or more BillableServices for the tenant based on library templates.

Requires: Create on BillableServices.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "libraryCodes": [
    {
      "libraryCode": "...",
      "name": "...",
      "description": "...",
      "isArchived": "...",
      "accountingCode": "..."
    }
  ]
}

Responses

201 Created
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found