---
title: "Create an application with BCS scoring"
method: POST
path: "/v2/appsecops/applications/create"
tags: ["AppSecOps"]
---

# Create an application with BCS scoring

`POST /v2/appsecops/applications/create`

Create an application with BCS scoring

## Request body

- AppSecopsApplicationV2Request
  - `name` string, required — Name of the application
  - `owner` string[], required — Owners of the application
  - `business_criticality` number, required — Indicates the application's importance to the business in terms of criticality.
  - `description` string — Description of the application
  - `tenant_id` string, required — Tenant ID
  - `portfolio_id` string, required — Portfolio to which the application belongs.
  - `dev_tool` 'Jenkins' | 'GitLab' | 'Git' | 'Azure DevOps' | 'CircleCI' | 'Bamboo' — Application Deployed DevTool
  - `service_name` 'AWS' | 'Azure' | 'GCP' | 'OCI' — Cloud Provider to select
  - `tags` KeyValuePair[]
    - `key` string — Key of the pair
    - `value` string — Value of the pair
  - `workload_ids` string[] — List of workload ids to which the application belongs.
  - `application_id` string — Application ID
  - `created_at` string, date-time — Application created time
  - `created_by` string — Name of the user who created the application
  - `updated_by` string — Name of the user who recently updated the application
  - `updated_at` string, date-time — Application recently updated time
  - `selected` AppSecopsApplicationV2BCSSelectedItem[], required — BCS questionnaire answers
    - `question_id` string, required — Question ID
    - `options` string[] — Selected option IDs

## Response `200`

Success

- AppSecopsApplicationV2
  - `name` string, required — Name of the application
  - `owner` string[], required — Owners of the application
  - `business_criticality` number, required — Indicates the application's importance to the business in terms of criticality.
  - `description` string — Description of the application
  - `tenant_id` string, required — Tenant ID
  - `portfolio_id` string, required — Portfolio to which the application belongs.
  - `dev_tool` 'Jenkins' | 'GitLab' | 'Git' | 'Azure DevOps' | 'CircleCI' | 'Bamboo' — Application Deployed DevTool
  - `service_name` 'AWS' | 'Azure' | 'GCP' | 'OCI' — Cloud Provider to select
  - `tags` KeyValuePair[]
    - `key` string — Key of the pair
    - `value` string — Value of the pair
  - `workload_ids` string[] — List of workload ids to which the application belongs.
  - `application_id` string — Application ID
  - `created_at` string, date-time — Application created time
  - `created_by` string — Name of the user who created the application
  - `updated_by` string — Name of the user who recently updated the application
  - `updated_at` string, date-time — Application recently updated time
  - `bcs_details` AppSecopsApplicationV2BCSDetail
    - `score` number — BCS score (20-100)
    - `bcs_question_version` integer — BCS questions config version
    - `version` integer — Submission version
    - `selected` AppSecopsApplicationV2BCSSelectedItem[] — Submitted answers
      - `question_id` string, required — Question ID
      - `options` string[] — Selected option IDs
    - `created_at` string, date-time — When this submission was created
    - `created_by` string — Name of the user who created the submission
  - `bcs_history` AppSecopsApplicationV2BCSDetail[] — Prior BCS submissions
    - `score` number — BCS score (20-100)
    - `bcs_question_version` integer — BCS questions config version
    - `version` integer — Submission version
    - `selected` AppSecopsApplicationV2BCSSelectedItem[] — Submitted answers
      - `question_id` string, required — Question ID
      - `options` string[] — Selected option IDs
    - `created_at` string, date-time — When this submission was created
    - `created_by` string — Name of the user who created the submission

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
