300.4. Headers


名称类型ServiceNow API 参数端点选项描述

CamelServiceNowResource

字符串

-

-

访问的资源

CamelServiceNowAction

字符串

-

-

要执行的操作

CamelServiceNowActionSubject

-

-

字符串

应应用操作的主题

CamelServiceNowModel

-

-

数据模型

CamelServiceNowRequestModel

-

-

请求数据模型

CamelServiceNowResponseModel

-

-

响应数据模型

CamelServiceNowOffsetNext

-

-

-

-

CamelServiceNowOffsetPrev

-

-

-

-

CamelServiceNowOffsetFirst

-

-

-

-

CamelServiceNowOffsetLast

-

-

-

-

CamelServiceNowContentType

-

-

-

-

CamelServiceNowContentEncoding

-

-

-

-

CamelServiceNowContentMeta

-

-

-

-

CamelServiceNowSysId

字符串

sys_id

-

-

CamelServiceNowUserSysId

字符串

user_sysid

-

-

CamelServiceNowUserId

字符串

user_id

-

-

CamelServiceNowCartItemId

字符串

cart_item_id

-

-

CamelServiceNowFileName

字符串

file_name

-

-

CamelServiceNowTable

字符串

table_name

-

-

CamelServiceNowTableSysId

字符串

table_sys_id

-

-

CamelServiceNowEncryptionContext

字符串

encryption_context

-

-

CamelServiceNowCategory

字符串

sysparm_category

-

-

CamelServiceNowType

字符串

sysparm_type

-

-

CamelServiceNowCatalog

字符串

sysparm_catalog

-

-

CamelServiceNowQuery

字符串

sysparm_query

-

-

CamelServiceNowDisplayValue

字符串

sysparm_display_value

displayValue

-

CamelServiceNowInputDisplayValue

布尔值

sysparm_input_display_value

inputDisplayValue

-

CamelServiceNowExcludeReferenceLink

布尔值

sysparm_exclude_reference_link

excludeReferenceLink

-

CamelServiceNowFields

字符串

sysparm_fields

-

-

CamelServiceNowLimit

整数

sysparm_limit

-

-

CamelServiceNowText

字符串

sysparm_text

-

-

CamelServiceNowOffset

整数

sysparm_offset

-

-

CamelServiceNowView

字符串

sysparm_view

-

-

CamelServiceNowSuppressAutoSysField

布尔值

sysparm_suppress_auto_sys_field

suppressAutoSysField

-

CamelServiceNowSuppressPaginationHeader

Booleab

sysparm_suppress_pagination_header

suppressPaginationHeader

-

CamelServiceNowMinFields

字符串

sysparm_min_fields

-

-

CamelServiceNowMaxFields

字符串

sysparm_max_fields

-

-

CamelServiceNowSumFields

字符串

sysparm_sum_fields

-

-

CamelServiceNowAvgFields

字符串

sysparm_avg_fields

-

-

CamelServiceNowCount

布尔值

sysparm_count

-

-

CamelServiceGroupBy

字符串

sysparm_group_by

-

-

CamelServiceOrderBy

字符串

sysparm_order_by

-

-

CamelServiceHaving

字符串

sysparm_having

-

-

CamelServiceNowUUID

字符串

sysparm_uuid

-

-

CamelServiceNowBreakdown

字符串

sysparm_breakdown

-

-

CamelServiceNowIncludeScores

布尔值

sysparm_include_scores

includeScores

-

CamelServiceNowIncludeScoreNotes

布尔值

sysparm_include_score_notes

includeScoreNotes

-

CamelServiceNowIncludeAggregates

布尔值

sysparm_include_aggregates

includeAggregates

-

CamelServiceNowIncludeAvailableBreakdowns

布尔值

sysparm_include_available_breakdowns

includeAvailableBreakdowns

-

CamelServiceNowIncludeAvailableAggregates

布尔值

sysparm_include_available_aggregates

includeAvailableAggregates

-

CamelServiceNowFavorites

布尔值

sysparm_favorites

Favorites

-

CamelServiceNowKey

布尔值

sysparm_key

key

-

CamelServiceNowTarget

布尔值

sysparm_target

target

-

CamelServiceNowDisplay

字符串

sysparm_display

显示

-

CamelServiceNowPerPage

整数

sysparm_per_page

perPage

-

CamelServiceNowSortBy

字符串

sysparm_sortby

sortBy

-

CamelServiceNowSortDir

字符串

sysparm_sortdit

sortDir

-

CamelServiceNowContains

字符串

sysparm_contains

-

-

CamelServiceNowTags

字符串

sysparm_tags

-

-

CamelServiceNowPage

字符串

sysparm_page

-

-

CamelServiceNowElementsFilter

字符串

sysparm_elements_filter

-

-

CamelServiceNowBreakdownRelation

字符串

sysparm_breakdown_relation

-

-

CamelServiceNowDataSource

字符串

sysparm_data_source

-

-

CamelServiceNowTopLevelOnly

布尔值

sysparm_top_level_only

topLevelOnly

-

CamelServiceNowApiVersion

字符串

-

-

REST API 版本

CamelServiceNowResponseMeta

Map

-

-

提供的 meta 数据以及响应

表 300.1. API 映射
CamelServiceNowResourceCamelServiceNowAction方法API URI

RETRIEVE

GET

/api/now/v1/table/{table_name}/{sys_id}

创建

POST

/api/now/v1/table/{table_name}

修改

PUT

/api/now/v1/table/{table_name}/{sys_id}

DELETE

DELETE

/api/now/v1/table/{table_name}/{sys_id}

UPDATE (更新)

PATCH

/api/now/v1/table/{table_name}/{sys_id}

聚合

RETRIEVE

GET

/api/now/v1/stats/{table_name}

IMPORT

RETRIEVE

GET

/api/now/import/{table_name}/{sys_id}

创建

POST

/api/now/import/{table_name}

注意
表 300.2. API 映射
CamelServiceNowResourceCamelServiceNowActionCamelServiceNowActionSubject方法API URI

RETRIEVE

 

GET

/api/now/v1/table/{table_name}/{sys_id}

创建

 

POST

/api/now/v1/table/{table_name}

修改

 

PUT

/api/now/v1/table/{table_name}/{sys_id}

DELETE

 

DELETE

/api/now/v1/table/{table_name}/{sys_id}

UPDATE (更新)

 

PATCH

/api/now/v1/table/{table_name}/{sys_id}

聚合

RETRIEVE

 

GET

/api/now/v1/stats/{table_name}

IMPORT

RETRIEVE

 

GET

/api/now/import/{table_name}/{sys_id}

创建

 

POST

/api/now/import/{table_name}

ATTACHMENT

RETRIEVE

 

GET

/api/now/api/now/attachment/{sys_id}

内容

 

GET

/api/now/attachment/{sys_id}/file

上传

 

POST

/api/now/api/now/attachment/file

DELETE

 

DELETE

/api/now/attachment/{sys_id}

SCORECARDS

RETRIEVE

PERFORMANCE_ANALYTICS

GET

/api/now/pa/scorecards

MISC

RETRIEVE

USER_ROLE_INHERITANCE

GET

/api/global/user_role_inheritance

创建

IDENTIFY_RECONCILE

POST

/api/now/identifyreconcile

SERVICE_CATALOG

RETRIEVE

 

GET

/sn_sc/servicecatalog/catalogs/{sys_id}

RETRIEVE

类别

GET

/sn_sc/servicecatalog/catalogs/{sys_id}/categories

SERVICE_CATALOG_ITEMS

RETRIEVE

 

GET

/sn_sc/servicecatalog/items/{sys_id}

RETRIEVE

SUBMIT_GUIDE

POST

/sn_sc/servicecatalog/items/{sys_id}/submit_guide

RETRIEVE

CHECKOUT_GUIDE

POST

/sn_sc/servicecatalog/items/{sys_id}/checkout_guide

创建

SUBJECT_CART

POST

/sn_sc/servicecatalog/items/{sys_id}/add_to_cart

创建

SUBJECT_PRODUCER

POST

/sn_sc/servicecatalog/items/{sys_id}/submit_producer

SERVICE_CATALOG_CARTS

RETRIEVE

 

GET

/sn_sc/servicecatalog/cart

RETRIEVE

DELIVERY_ADDRESS

GET

/sn_sc/servicecatalog/cart/delivery_address/{user_id}

RETRIEVE

CHECKOUT

POST

/sn_sc/servicecatalog/cart/checkout

UPDATE (更新)

 

POST

/sn_sc/servicecatalog/cart/{cart_item_id}

UPDATE (更新)

CHECKOUT

POST

/sn_sc/servicecatalog/cart/submit_order

DELETE

 

DELETE

/sn_sc/servicecatalog/cart/{sys_id}/empty

SERVICE_CATALOG_CATEGORIES

RETRIEVE

 

GET

/sn_sc/servicecatalog/categories/{sys_id}

注意
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.