# Perform a pattern check: after one API call, immediately verify the next API call and, for a specified API, extract the result

**URL:** <https://community.dynatrace.com/t/perform-a-pattern-check-after-one-api-call-immediately-verify-the-next-api-call-and-for-a-specified-api-extract-the-result/55108>\
**Category:** DQL\
**Tags:** dql, notebooks\
**Created:** [February 25, 2026, 2:30pm UTC](https://community.dynatrace.com/t/perform-a-pattern-check-after-one-api-call-immediately-verify-the-next-api-call-and-for-a-specified-api-extract-the-result/55108 "2026-02-25T14:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumarv14](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kumarv14](https://community.dynatrace.com/u/kumarv14)\
**Post date:** [February 25, 2026, 2:30pm UTC](https://community.dynatrace.com/t/perform-a-pattern-check-after-one-api-call-immediately-verify-the-next-api-call-and-for-a-specified-api-extract-the-result/55108/1 "2026-02-25T14:30:27Z")

</div>

we have attach image of our result but we wants to check in single query -:

after one API call, check the next API call; for a specific API, extract the result of the subsequent API.we want to **count how many IMSIs have `DNIRealTimeMessage` but never get `AcquireConfiguration` afterward** (and also list those IMSIs) . initially i have try join but not getting expected result .

fetch logs, scanLimitGBytes:-1  
| filter dt.system.bucket==“custom\_l\_” and index == “\_db”

| filter Market==“marketname”  
|filter IMSI ==“0073412”  
| filter TransactionType ==“DNIRealTimeMessage” and&nbsp;TransactionType “AcquireConfiguration”  
|fields content,TransactionType

 ![DNI-ACQ.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/b/bb6f6b1daa1770e549150c2c140e83618e6ac7e3.png)

---

<div class="post-metadata">

**Author:** ![krzysztof\_hoja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/krzysztof_hoja/32/34625_2.png) [@krzysztof\_hoja](https://community.dynatrace.com/u/krzysztof_hoja)\
**Post date:** [February 26, 2026, 8:59am UTC](https://community.dynatrace.com/t/perform-a-pattern-check-after-one-api-call-immediately-verify-the-next-api-call-and-for-a-specified-api-extract-the-result/55108/2 "2026-02-26T08:59:15Z")

</div>

Is there anything in content or anywhere else in the records which acts as correlate id or transaction id, connecting DNIRealTimeMessage with&nbsp;corresponding AcquireConfiguration (this also means that no 2 DNIRealTimeMessage rows have the same value)? or maybe IMSI play this role?

---

<div class="post-metadata">

**Author:** ![kumarv14](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kumarv14](https://community.dynatrace.com/u/kumarv14)\
**Post date:** [March 6, 2026, 12:26pm UTC](https://community.dynatrace.com/t/perform-a-pattern-check-after-one-api-call-immediately-verify-the-next-api-call-and-for-a-specified-api-extract-the-result/55108/3 "2026-03-06T12:26:15Z")

</div>

I am checking if we have any sessionID or track ID for these sequences API will try to enable debug log.
