---
title: "Map the API fields from the project"
slug: "map-the-api-fields-from-the-project"
updated: 2022-03-09T11:41:14Z
published: 2022-03-09T11:41:14Z
canonical: "success.panaya.com/map-the-api-fields-from-the-project"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://success.panaya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Map the API fields from the project

After you have [imported the Panaya Catalog of API examples,](/v1/docs/api-guide) you will want to map the fields in the Create and Update APIs to match the custom ones in your project as well as align them with any existing fields that may have changed.

## Step 1

Expand the Defect folder, select the "Get Defect by ID", replace the <id> with a valid Defect ID, for example, 2, and click on Send. Then select all the fields that have been returned and copy them.

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/defect.jpg)

## Step 2

Select the "Create Defect", click on Body, and select raw. Then paste the entire contents from step 1 between the curly braces { }, and click on Send to verify the operation was successful.

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/paste%20fields.jpg)

## Step 3

Repeat steps 1 and 2 for the rest of the API calls. When using the **Update**and **Patch** API calls, be sure that the field names are completely aligned (case sensitive) with the ones that you find in the Get API calls, like shown in Step 1.

## Related

- [Getting started with Panaya APIs](/api-guide.md)
- [API Tips and Tricks](/api-tips-and-tricks.md)
