---
title: "POST /mapping/protocol"
method: POST
path: "/mapping/protocol"
tags: ["mapping"]
---

# POST /mapping/protocol

`POST /mapping/protocol`

Add mapping

## Request body

- MappingSchema
  - `correlation_mapping` object
  - `create_index` object
  - `create_table` string
  - `fields_mapping` object
  - `fields_settings` object
  - `guid` string
  - `hep_alias` string
  - `hepid` integer
  - `partid` integer
  - `partition_step` integer
  - `profile` string
  - `retention` integer
  - `schema_mapping` object
  - `schema_settings` object
  - `version` integer

## Response `201`

MappingCreateSuccessResponse

- MappingCreateSuccessResponse
  - `data` string
  - `message` string

## Other responses

- `400` — FailureResponse

---

[API](https://skmtc.net/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-app/revisions/2f261ecc6074/schema)
