# Work item getting created with prefix C- using pega create case API in 8.5

**URL:** <https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226>\
**Category:** General\
**Tags:** 8-5-1, case-management\
**Created:** [March 14, 2021, 10:55am UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226 "2021-03-14T10:55:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bipul\_Singh](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bipul_singh/32/3985_2.png) [@Bipul\_Singh](https://forums.pega.com/u/Bipul_Singh)\
**Post date:** [March 14, 2021, 10:55am UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226/1 "2021-03-14T10:55:19Z")

</div>

Hi,

I am trying to create case using pega’s OOTB REST API create case POST method but work item is getting created with C- work item. Please see the request and response attached.

Any help would be appreciated.

 ![createcase.png](https://pega1.discourse-cdn.com/pega/original/2X/1/1f26c0093a15332b7d06a84aeff2d3dd601b219a.png)

---

<div class="post-metadata">

**Author:** ![MarcLasserre\_GCS](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@MarcLasserre\_GCS](https://forums.pega.com/u/MarcLasserre_GCS)\
**Post date:** [March 15, 2021, 7:55am UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226/2 "2021-03-15T07:55:43Z")

</div>

@Bipul Singh

Can you trace the execution and identify what DataTransform is actually setting C- as your case prefix?

---

<div class="post-metadata">

**Author:** ![system](https://cdck-file-uploads-pega1.s3.dualstack.us-west-2.amazonaws.com/pegasbx/original/1X/000334954d35e690a08019a81d1b9bcfa13a435e.png) [@system](https://forums.pega.com/u/system)\
**Post date:** [March 16, 2021, 3:58pm UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226/3 "2021-03-16T15:58:19Z")

</div>

@Bipul Singh

1.Under Case type which you are creating

1. Go to settings tab

2. Under General tab , “Case-based usage license tracking category” check the prefix type . If you see C- then it will create C- cases if you want to change the “C-” prefix with some other prefix of you choice. then check request and response.

---

<div class="post-metadata">

**Author:** ![Bipul\_Singh](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bipul_singh/32/3985_2.png) [@Bipul\_Singh](https://forums.pega.com/u/Bipul_Singh)\
**Post date:** [May 16, 2021, 5:10pm UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226/4 "2021-05-16T17:10:58Z")

</div>

Thanks guys for your reply. I found the issue. Access group in service package ‘api’ was pointing to different application. I changed it to my application and it’s working fine now.

---

<div class="post-metadata">

**Author:** ![Durga\_Vara\_Prasad](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/durga_vara_prasad/32/12416_2.png) [@Durga\_Vara\_Prasad](https://forums.pega.com/u/Durga_Vara_Prasad)\
**Post date:** [January 19, 2022, 8:36pm UTC](https://forums.pega.com/t/work-item-getting-created-with-prefix-c-using-pega-create-case-api-in-8-5/1226/5 "2022-01-19T20:36:49Z")

</div>

@Bipul Singh Thank you very much it solved the same issue for me though, I wonder how Pega is creating a case in first place when the service package is not pointing to the application where case exists.
