Back to InsightlyAdds A Translation For A Knowledge Article In A Specific Language
If you have trouble with creating a Knowledge Article, try creating Knowledge Articles via the web interface, and then access those Knowledge Articles via the API. This way you can see examples of the fields and sub-elements attached to the Knowledge Article. A common source of problems during write/update request is caused when users omit required fields, or insert invalid data in a field (e.g. reference a CATEGORY_ID that does not exist in the user's Insightly instance.
Input
type: object
properties:
parameters:
type: object
properties:
language:
type: string
description: The language of the translation to add
id:
type: string
fieldValues:
title: KnowledgeArticle
required:
- FOLDER_ID
- URL_SLUG
- Title
type: object
properties:
ARTICLE_ID:
format: int64
maxLength: 0
type: integer
readOnly: true
CATEGORY_ID:
format: int64
maxLength: 0
type: integer
readOnly: false
FOLDER_ID:
format: int64
maxLength: 0
type: integer
readOnly: false
Title:
format: string
maxLength: 0
type: string
readOnly: false
Body:
format: string
maxLength: 0
type: string
readOnly: false
URL_SLUG:
format: string
maxLength: 255
type: string
readOnly: false
PROMOTED:
format: boolean
maxLength: 0
type: boolean
readOnly: false
ARCHIVED_DATE_UTC:
format: string
maxLength: 20
type: string
readOnly: false
OWNER_USER_ID:
format: int32
maxLength: 0
type: integer
readOnly: false
CUSTOMFIELDS:
type: array
items:
title: CustomField
type: object
properties:
FIELD_NAME:
type: string
FIELD_VALUE:
type: object
description: The record to add (just include the JSON object as the request body)
required:
- language
- id
- fieldValues
title: Parameters