Infraon API Guide
Product DocsSchemaAuthentication
  • Welcome
    • Base URL
    • Authorization
    • Responses
  • Modules
    • Schema
    • Authentication
    • Announcement
    • API Registration
    • Async Tasks
    • BusinessRule
    • BusinessServiceConfiguration
    • Service Catalogue
    • CMDBBlacklistWhitelist
    • CMDBCategory
    • CMDBConsumables
    • Ux
    • CMDBSoftwareLicense
    • Cmdb
    • CMDBRelation
    • CMDBSoftware
    • ContractManagement
    • Department
    • Events
    • Field Configuration
    • IMACD
    • Knowledge Base
    • Leaves
    • Chat
    • Marketplace
    • APIViewSet
    • BeepViewSet
    • SMSviewset
    • Suppressedviewset
    • Organization Location
    • Partner
    • Predicted Events
    • Requester
    • Service Feasibility Requests
    • Role Profile
    • Tag
    • Service_outage
    • Teams
    • Telecom Settings
    • Trap Configurations
    • User Profile
    • Vendor Managemment
    • Association Events
    • Device Template
    • Discovery Configuration
    • Jobs
    • MIB Explorer
    • Seasonal Events
    • IPAM
    • Log Grok Pattern Configuration
    • Log Pipeline Configuration
    • Log Integraion
    • Log Search
    • CLI Download Jobs
    • Configuration Profiles
    • Configuration Policies
    • Configuration Rules
    • Configuration Search
    • Configuration Template
    • Configuration Trigger
    • Jobs Account Audit
    • Manage Vulnerabilities
    • OS Image Download
    • Rule Group
    • Configuration Upload Jobs
    • Work Flow Jobs
    • Change
    • Checklist
    • Incident
    • Problem
    • Release
    • Request Process
    • Task
    • Models
Powered by GitBook
On this page
  1. Modules

Configuration Trigger

PreviousConfiguration TemplateNextJobs Account Audit

Retrive the configuration trigger with given id

get

This endpoint is used to delete an existing configuration trigger for the current organization

Authorizations
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /ux/nccm/configuration_trigger/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
delete

API endpoint that allows users to be viewed or edited.

Authorizations
Path parameters
idstringRequired
Responses
204
No response body
delete
DELETE /ux/nccm/configuration_trigger/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/configuration_trigger/download_csv/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
  • GETGets a list of configuration trigger
  • POST/ux/nccm/configuration_trigger/
  • GETRetrive the configuration trigger with given id
  • PUT/ux/nccm/configuration_trigger/{id}/
  • DELETE/ux/nccm/configuration_trigger/{id}/
  • POST/ux/nccm/configuration_trigger/add_trigger/
  • GET/ux/nccm/configuration_trigger/download_csv/
  • POST/ux/nccm/configuration_trigger/multi-delete/
  • POST/ux/nccm/configuration_trigger/review/
  • POST/ux/nccm/configuration_trigger/save_csv_data/
  • POST/ux/nccm/configuration_trigger/saved_imported/
  • POST/ux/nccm/configuration_trigger/validate_csv/

Gets a list of configuration trigger

get

This endpoint is used to fetch all the configuration trigger in the current organization

Authorizations
Query parameters
items_per_pageintegerRequired

Items Per Page

pageintegerRequired

Page Number

reversebooleanOptional

Sorting Order

sortstringOptional

Sorting Key

Responses
200Success
application/json
get
GET /ux/nccm/configuration_trigger/?items_per_page=1&page=1 HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
[
  {
    "id": "text",
    "created_by_name": "text",
    "modified_by_name": "text",
    "creationtime": "text",
    "last_update_time": "text",
    "trigger_commands": "text",
    "parser_text": "text",
    "trigger_type": "text",
    "trigger_parser_type": "text",
    "created_by_profile": "text",
    "modified_by_profile": "text",
    "trigger_id": "text",
    "trigger_name": "text",
    "organization": "text",
    "description": "text",
    "vendor": "text",
    "os_name": "text",
    "is_private": true,
    "trigger_column_index": 1,
    "created_by": 1,
    "modified_by": 1,
    "is_deleted": true,
    "assigned_users": [],
    "assigned_group": []
  }
]
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
201Success
application/json
post
POST /ux/nccm/configuration_trigger/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
201Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
put

API endpoint that allows users to be viewed or edited.

Authorizations
Path parameters
idstringRequired
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
put
PUT /ux/nccm/configuration_trigger/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/add_trigger/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/multi-delete/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/review/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/save_csv_data/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/saved_imported/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_by_namestringRead-onlyRequired
modified_by_namestringRead-onlyRequired
creationtimestringRead-onlyRequired
last_update_timestringRead-onlyRequired
trigger_commandsstringRead-onlyRequired
parser_textstringRead-onlyRequired
trigger_typestringRead-onlyRequired
trigger_parser_typestringRead-onlyRequired
created_by_profilestringRead-onlyRequired
modified_by_profilestringRead-onlyRequired
trigger_idstringRequired
trigger_namestringOptional
organizationstring · max: 25Required
descriptionstringOptional
vendorstringOptional
os_namestringOptional
is_privatebooleanOptional
trigger_column_indexintegerOptionalDefault: 1
created_byintegerOptional
modified_byintegerOptional
is_deletedbooleanOptional
Responses
200Success
application/json
post
POST /ux/nccm/configuration_trigger/validate_csv/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251

{
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}
200Success
{
  "id": "text",
  "created_by_name": "text",
  "modified_by_name": "text",
  "creationtime": "text",
  "last_update_time": "text",
  "trigger_commands": "text",
  "parser_text": "text",
  "trigger_type": "text",
  "trigger_parser_type": "text",
  "created_by_profile": "text",
  "modified_by_profile": "text",
  "trigger_id": "text",
  "trigger_name": "text",
  "organization": "text",
  "description": "text",
  "vendor": "text",
  "os_name": "text",
  "is_private": true,
  "trigger_column_index": 1,
  "created_by": 1,
  "modified_by": 1,
  "is_deleted": true,
  "assigned_users": [],
  "assigned_group": []
}