# Difference of API response

**URL:** <https://devforum.zoom.us/t/difference-of-api-response/59325>\
**Category:** API and Webhooks\
**Created:** [October 25, 2021, 9:30am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325 "2021-10-25T09:30:27Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [October 25, 2021, 9:30am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/1 "2021-10-25T09:30:27Z")

</div>

**Description**  
API calls of /metrics/meetings return different response.  
It is depending on the time.  
API call at 10/23 returns json with “dept” key.  
But API call at 10/25 returns json without “dept” key.  
Would you tell me about why they differ?

**Error**  
nothing

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
[https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings)

**How To Reproduce (If applicable)**

1. Call API. “from” and “to” parameter is the day that you call API or 1day later.  
Request URL : [https://api.zoom.us/v2/metrics/meetings?from=2021-10-22&to=2021-10-22&type=past&page\_size=300](https://api.zoom.us/v2/metrics/meetings?from=2021-10-22&to=2021-10-22&type=past&page_size=300)  
Headers : authorization:Bearer XXXXXXXXXXX / content-type:application/json
2. Call API 1day later.  
Same as above
3. Compare them.

**Screenshots (If applicable)**

 ![difference_20211025](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/b/fbfc0611c5d2f6869348a304fd65c5a002dbeb9a.png)  
Left json is a API response returned at 2021/10/23.  
Right json is a API response returned at 2021/10/25.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 27, 2021, 12:12pm UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/2 "2021-10-27T12:12:52Z")

</div>

Hi @osawa.yuta,

Thank you for reaching out about this. This is interesting—to confirm, are you seeing the dept field missing from all responses when you query this API? Have you checked the UI to confirm if this information is still available there?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [October 28, 2021, 5:42am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/3 "2021-10-28T05:42:39Z")

</div>

Hi Will.

Not all responses misses the dept field.  
But I call the API now, the responses have not taken back the dept field.

There is not the dept field in the UI.

Thanks.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 28, 2021, 9:43am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/4 "2021-10-28T09:43:43Z")

</div>

Hi @osawa.yuta,

Thank you for confirming:

> There is not the dept field in the UI.

Note that if the dept field is not filled out in the UI, it will not be returned by the UI. This field will need to be populated, in order to be returned via API.

Let me know if this helps to clarify,  
Will

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [November 1, 2021, 12:24am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/5 "2021-11-01T00:24:57Z")

</div>

Hi Will

> There is not the dept field in the UI.

I checked this on 10/28.  
It may be after the dept field has already been removed.  
I will check the UI in the same way as the API and get back to you.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 1, 2021, 3:07pm UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/6 "2021-11-01T15:07:37Z")

</div>

Got it, thanks for clarifying! Do let me know if you see otherwise.

Best,  
Will

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [November 2, 2021, 7:34am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/7 "2021-11-02T07:34:21Z")

</div>

Hi Will.

I found that a meeting record lose the dept field on the UI.  
Why does this happen?  
The record of meeting on 11/1 is in this picture.  
Above picture is taken on 11/1, and below picture is taken on 11/2.

 ![difference_20211102_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/e/8e1427006e79369ce7bd854a24c3a5cf72fc095a.png)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 3, 2021, 1:44pm UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/8 "2021-11-03T13:44:22Z")

</div>

Hi @osawa.yuta,

Has anyone on the account removed the dept field? This would be reflected on recordings as well, if so.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [November 4, 2021, 12:49am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/9 "2021-11-04T00:49:30Z")

</div>

Hi Will.

I checked the user information.  
There is the dept field.

 ![difference_20211104_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/4/f4ba25ae1346ad25838170aed8e30aa8493f8b45.png)

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [November 8, 2021, 5:01am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/10 "2021-11-08T05:01:12Z")

</div>

Hello Will.

I am still expecting your response regarding this issue.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 9, 2021, 11:04am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/11 "2021-11-09T11:04:49Z")

</div>

Hi @osawa.yuta,

In order to take a closer look, can I kindly ask that you email us directly at [developersupport@zoom.us](mailto:developersupport@zoom.us) with your account details and an example user? We will be happy to further investigate.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![osawa.yuta](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@osawa.yuta](https://devforum.zoom.us/u/osawa.yuta)\
**Post date:** [November 10, 2021, 9:06am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/12 "2021-11-10T09:06:58Z")

</div>

Thank you Will.  
I send e-mail with our account details and an example user.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 11, 2021, 11:27am UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/13 "2021-11-11T11:27:43Z")

</div>

Thanks! We will connect with you there.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 11, 2021, 9:28pm UTC](https://devforum.zoom.us/t/difference-of-api-response/59325/14 "2021-12-11T21:28:14Z")

</div>

Closed on December 11, 2021, 9:28pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
