--- title: Application Service API description: The Application Service API provides endpoints that enable you to create, modify, and update application services.Retrieves a list of configuration items \(CI\) in a mapped application service and the relationships between them. Only retrieves content for services that were manually created.Returns basic information about a specified application service and its associated business context.Creates an application service or update an existing application service.Creates an application service record stub in the Service Instance \[cmdb\_ci\_service\_auto\] table and populates it with the passed in information.Populates the specified application service with a specified set of downstream configuration items \(CI\).Updates the specified application service with the passed in basic information. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/application-service-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 19 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Application Service API The Application Service API provides endpoints that enable you to create, modify, and update application services. This API requires that the user have the Application Service administrator \[app\_service\_admin\] role. **Important:** Starting with the Rome release, the Application Service API is no longer enhanced or supported. For details, see the [Deprecation Process \[KB0867184\]](https://support.servicenow.com/kb_view.do?sysparm_article=KB0867184) article in the Now Support Knowledge Base. **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Application Service - GET /now/cmdb/app\_service/\{sys\_id\}/getContent Retrieves a list of configuration items \(CI\) in a mapped application service and the relationships between them. Only retrieves content for services that were manually created. ### URL format Default URL: `/api/now/cmdb/app_service/{sys_id}/getContent` ### Supported request parameters
| Name | Description |
|---|---|
| sys\_id | Sys\_id of the mapped application service.Data type: String Table: Mapped Application Service \[cmdb\_ci\_service\_discovered\] |
| Name | Description |
|---|---|
| Mode | Amount of relationship data to return. Valid values: - Full: Return CI attributes and lookup information in addition to the data returned in shallow mode. - Shallow: Return parent and child relationships between CIs within a service. The values are not case-sensitive.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| cmdb | List of objects that describe the CIs associated with the specified application service.Data type: Object ``` "cmdb": [ { "items": {Object}, "relations": [Array] } ] ``` |
| cmdb.items | CIs within the application service. If the full query parameter was passed in the request, this section includes attributes and lookup information for each CI.Data type: Array ``` "items": [ { "className": "String", "values": {Object} } ] ``` |
| cmdb.items.className | Name of the class that contains the CI.Data type: String |
| cmdb.items.values | Information to use to locate an associated CI.Data type: Object ``` "values": { "name": "String", "sys_id": "String" } ``` |
| cmdb.items.values.name | Name of the CI.Data type: String |
| cmdb.items.values.sys\_id | Sys\_id of the CI.Data type: String |
| cmdb.relations | Relationship data for associated CIs, such as hosts and their children.Data type: Array |
| service | List of services related to the identified service.Data type: Array of Objects ``` "service": [ { "name": "String", "service_relations": [Array], "url": "String" } ] ``` |
| service.name | Name of the application service.Data type: String |
| service.service\_relations | Hierarchy data for the CIs within the application service. All CIs form pairs with a parent and child CI. The top-level CI, referred to as the entry point of an application service, does not have a parent CI.Data type: Array of Objects ``` "service_relations": [ { "child": "String", "parent": "String" } ] ``` |
| service.service\_relations.child | Name of a child CI related to the CI.Data type: String |
| service.service\_relations.parent | Name of a parent CI related to the CI.Data type: String |
| service.url | Relative path to the application service. Data type: String |
| Name | Description |
|---|---|
| name | Required, if **number** is not passed in. Name of the service for which to return information.Data type: String Table: Service Instance \[cmdb\_ci\_service\_auto\] |
| number | Required, if **name** is not passed in. Unique number that identifies the application service for which to return information.Data type: String Table: Service Instance \[cmdb\_ci\_service\_auto\] |
| Name | Description |
|---|---|
| error | Describes an encountered error.Data type: Object ``` "error": { "details": "String", "message": "String" } ``` |
| error.details | Additional information about the error.Data type: String |
| error.message | Message describing the error.Data type: String |
| services | Array of objects, each object containing details of services associated with the specified application service. Data type: Array ``` "services": [ { "environment": "String", "name": "String", "number": "String", "relationships": {Object}, "sys_id": "String", "version": "String" } ] ``` |
| services.environment | Environment in which the application service is deployed, such as "Production" or "Test Lab 2." This can be any value that makes sense to the implementer.Data type: String Maximum length: 40 Default: null |
| services.name | Required. Name of the application service. Must be a unique name from all other application services. Data type: String Maximum length: 255 |
| services.number | Unique number that identifies the application service. This value is initially generated by the endpoint.Data type: String |
| services.relationships | Service types associated with the application service. Data type: Object ``` "relationships": { "business_app": [Array], "business_service_offering": [Array], "technical_service_offering": [Array] } ``` |
| services.relationships.business\_app | List of sys\_ids of the business applications related to the application service.Data type: Array |
| services.relationships.technical\_service\_offering | List of sys\_ids of the technology management offerings \(formerly technical service offerings\) related to the application service.Data type: Array |
| services.relationships.business\_service\_offering | List of sys\_ids of the business service offerings related to the application service.Data type: Array |
| services.sys\_id | Sys\_id of the application service.Data type: String |
| services.version | Application service version number. Data type: String Maximum length: 40 Format: User definable Default: null |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Element | Description |
|---|---|
| URL | URL of the standard table REST API for showing the sys\_id of an application service record. This element appears only if the endpoint is successful. Data type: String |
| getContentUrl | REST API path for getting the application service content. This element appears only if the endpoint is successful. Data type: String |
| info | Number of CIs added to the application service. This element appears only if the endpoint is successful. Data type: String |
| error | Error message details.This element appears only if the endpoint fails. Data type: Object |
| message | Error message describing the nature of the failure.This element appears only if the endpoint fails. Data type: String |
| status | States "failure" if the REST API fails.This element appears only if the endpoint fails. Data type: String |
| Name | Description |
|---|---|
| basic\_details | Required. Details of the service associated with the specified application service. Data type: Object ``` "basic_details": { "environment": "String", "name": "String", "version": "String" } ``` |
| basic\_details.environment | Environment in which the application service is deployed, such as "Production" or "Test Lab 2." This can be any value that makes sense to the implementer.Data type: String Maximum length: 40 Default: null |
| basic\_details.name | Required. Name of the application service. Must be a unique name from all other application services. Data type: String Maximum length: 255 |
| basic\_details.version | Application service version number. Data type: String Maximum length: 40 Format: User definable Default: null |
| relationships | Upstream \(parent\) service types to associate with the application service.Data type: Object ``` "relationships": { "business_app": [Array], "business_service_offering": [Array], "technical_service_offering": [Array] } ``` Table: CI Relationships \[cmdb\_rel\_ci\] |
| relationships.business\_app | List of sys\_ids of the business applications to relate to the application service.Data type: Array |
| relationships.business\_service\_offering | List of sys\_ids of the business service offerings to relate to the application service.Data type: Array |
| relationships.technical\_service\_offering | List of sys\_ids of the technical service offerings to relate to the application service.Data type: Array |
| Name | Description |
|---|---|
| error | Describes an encountered error.Data type: Object ``` "error": { "details": "String", "message": "String" } ``` |
| error.details | Additional information about the error.Data type: String |
| error.message | Message describing the error.Data type: String |
| number | Unique number that identifies the application service. This number is generated by the endpoint.Data type: String |
| service\_sys\_id | Sys\_id of the registered application service.Data type: String |
| Name | Description |
|---|---|
| service\_sys\_id | Sys\_id of the application service to populate with the specified CIs.Data type: String Table: Service Instance \[cmdb\_ci\_service\_auto\] |
| Name | Description |
|---|---|
| population\_method | CIs to associate with the specified application service. The elements in the **population\_method** object depend on the type of information being populated, which is defined by the **type** parameter.Data type: Object For **type** = cmdb\_group\_based ``` "population_method": { "group_id": "String", "type": "String" } ``` For **type** = discovery **Note:** To use this type you must activate the Service Mapping \(com.snc.service-mapping\) plugin. ``` "population_method": { "attributes": [Array], "entry_point_id": "String", "type": "String" } ``` For **type** = tag\_list **Note:** To use this type you must activate the Service Mapping \(com.snc.service-mapping\) plugin. ``` "population_method": { "tags": [Array], "type": "String" } ``` |
| population\_method.attributes | List of attributes to associate with the CI, such as host, port, name, and URL.**Note:** You must pass all required attributes. Data type: Array ``` "attributes": { "name":"String", "value":"String" } ``` |
| population\_method.attributes.name | Name of the attribute, such as host, port, name, and URL.Data type: String |
| population\_method.attributes.value | Attribute value.Data type: String |
| population\_method.entry\_point | Required if **population\_method.type** = discovery. Entry point into the application service. For additional information on entry points, see [Entry point attributes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/r_EntryPointsforBizSvcDef.md) and [Create entry point types for Service Mapping](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/it-operations-management/t_CreateEntryPoint.md).Data type: String |
| population\_method.group\_id | Required if **population\_method.type** = cmdb\_group\_based. Sys\_id of the group to associate with the CI.Data type: String Title: CMDB Group \[cmdb\_group\] |
| population\_method.tags | List of tags to associate with the CI.Data type: Array of Objects ``` [ "tags": { "tag": "String", "value": "String" } ] ``` Title: Key Values \[cmdb\_key\_value\] |
| population\_method.tags.tag | Name of the tag.Data type: String |
| population\_method.tags.value | Tag value.Data type: String |
| population\_method.type | Required. Type of CI to populate.Valid values: - cmdb\_group\_based - discovery - tag\_list Data type: String |
| Name | Description |
|---|---|
| error | Describes an encountered error.Data type: Object ``` "error": { "details": "String", "message": "String" } ``` |
| error.details | Additional information about the error.Data type: String |
| error.message | Message describing the error.Data type: String |
| Name | Description |
|---|---|
| service\_sys\_id | Sys\_id of the application service to updated.Data type: String Table: Service Instance \[cmdb\_ci\_service\_auto\] |
| Name | Description |
|---|---|
| basic\_details | Details of the service associated with the specified application service. Data type: Object ``` "basic_details": { "environment": "String", "name": "String" } ``` |
| basic\_details.environment | Environment in which the application service is deployed, such as "Production" or "Test Lab 2." This can be any value that makes sense to the implementer.Data type: String Maximum length: 40 Default: null |
| basic\_details.name | Required. Name of the application service. Must be a unique name from all other application services. Data type: String Maximum length: 255 |
| relationships | Service types to associate with the application service. Located in the CI Relationships \[cmdb\_rel\_ci\] table.Data type: Object ``` "relationships": { "business_app": [Array], "business_service_offering": [Array], "technical_service_offering": [Array] } ``` |
| relationships.business\_app | List of sys\_ids of the business applications to relate to the application service.Data type: Array |
| relationships.business\_service\_offering | List of sys\_ids of the business service offerings to relate to the application service.Data type: Array |
| relationships.technical\_service\_offering | List of sys\_ids of the technical service offerings to relate to the application service.Data type: Array |
| Name | Description |
|---|---|
| error | Describes an encountered error.Data type: Object ``` "error": { "details": "String", "message": "String" } ``` |
| error.details | Additional information about the error.Data type: String |
| error.message | Message describing the error.Data type: String |