Back to PipelinerAppointmentTypes.create
Creates new appointmenttype
Input
type: object
properties:
parameters:
type: object
properties:
validation-level:
type: integer
format: int32
description: >-
Specify validation level of appointmenttype on create. Use them as bit
mask: 0 - validate each field on entity,
2 - validate only changed fields, 4 - validate only system fields, 8 -
allows to override readonly fields,
16 - allows to set entity on deleted relationship.
title: Parameters
data:
required:
- is_readonly
- name
properties:
modified:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Last modification time.
readOnly: true
created:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Creation time.
readOnly: true
form_edit:
type: object
description: Form definition in json format.
icon:
type: integer
description: >-
Integer enum value: 0 - GeneralIcon, 1 - Task, 2 - Appointment, 3 -
Call, 4 - Mail, 5 - Message, 6 - TicketingIntegration, 7 -
DocumentManagement, 8 - EventManagement, 9 - AccountingSystem, 10 -
MarketingCommunicationSystems, 11 - OrderProcessing, 12 - WebServices,
13 - ReturnMerchandiseAuthorizationSystems, 14 - SalesAutomatization,
15 - SmsMessaging, 16 - ErpSystems, 17 - DataAnalytics, 18 -
Warehouses, 19 - ContactManagement, 20 - ContentManagementSystems, 21
- InventorySystems, 22 - Workflow, 23 - AssetManagementSystem
example: 0
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
is_readonly:
type: boolean
example: false
description: Boolean value.
name:
type: string
example: string
description: Name of the entity and its default text representation.
is_published:
type: boolean
example: false
description: ''
readOnly: true
revision:
type: integer
format: int32
example: 1
description: Revision when entity was lastly changed.
type: object
title: Data
Output
type: object
properties:
success:
type: boolean
example: true
description: True when response succeeded, false on error.
data:
required:
- id
- is_readonly
- name
- has_draft
- is_delete_protected
- form_edit_api
properties:
id:
type: string
format: uuid
example: 01234567-abcd-dcba-ffff-000000000000
description: Unique identifier of entity.
readOnly: true
is_deleted:
type: boolean
example: false
description: Specifies if the entity is considered deleted.
readOnly: true
modified:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Last modification time.
readOnly: true
created:
type: string
format: date-time
example: '2019-01-01T00:00:00.000Z'
description: Creation time.
readOnly: true
form_edit:
type: object
description: Form definition in json format.
icon:
type: integer
description: >-
Integer enum value: 0 - GeneralIcon, 1 - Task, 2 - Appointment, 3 -
Call, 4 - Mail, 5 - Message, 6 - TicketingIntegration, 7 -
DocumentManagement, 8 - EventManagement, 9 - AccountingSystem, 10 -
MarketingCommunicationSystems, 11 - OrderProcessing, 12 - WebServices,
13 - ReturnMerchandiseAuthorizationSystems, 14 - SalesAutomatization,
15 - SmsMessaging, 16 - ErpSystems, 17 - DataAnalytics, 18 -
Warehouses, 19 - ContactManagement, 20 - ContentManagementSystems, 21
- InventorySystems, 22 - Workflow, 23 - AssetManagementSystem
example: 0
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
is_readonly:
type: boolean
example: false
description: Boolean value.
name:
type: string
example: string
description: Name of the entity and its default text representation.
is_published:
type: boolean
example: false
description: ''
readOnly: true
revision:
type: integer
format: int32
example: 1
description: Revision when entity was lastly changed.
has_draft:
type: boolean
example: false
description: Set to True if draft for entity exists and can be published
is_delete_protected:
type: boolean
example: false
description: >-
Tells if the entity instance is protected against delete (Entities
that need to be present in the system at any time). Delete action
still may fail if entity is deletable, due some other additional
validations.
readOnly: true
form_edit_api:
type: object
description: Form definition in json format.
can_change_readonly:
type: boolean
example: false
description: Returns if user can change readonly flag on this entity_type.
type: object