# BPM REST API Diagram

**URL:** <https://community.ofelia.com/t/bpm-rest-api-diagram/6716>\
**Category:** Q&A\
**Created:** [30 November 2015 06:57 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716 "2015-11-30T06:57:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.turner](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@matt.turner](https://community.ofelia.com/u/matt.turner)\
**Post date:** [30 November 2015 06:57 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/1 "2015-11-30T06:57:37Z")

</div>

Hey guys I’m trying to retrieve a process diagram xml file from v7.1 Bonitasoft. This is the example provided  
in the documentation however I am able to retrieve any of the process models I have installed using their respective id’s.

URL [http://localhost:8080/bonita/API/bpm/diagram/5690914473452389591](http://localhost:8080/bonita/API/bpm/diagram/5690914473452389591)

Any clues to what I am doing wrong?

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [1 December 2015 13:03 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/2 "2015-12-01T13:03:18Z")

</div>

I’ve calculated your answer, but I don’t think you’ll like it.

The reason you can’t get any process diagrams is you’re using community (I assume). The fact is diagrams don’t exist in Community and only in the paid for subscription edition.

This could be considered an error in the documentation where certain calls should be categorized according to version.

regards  
Seán

_PS: If this answers your question please feel free to mark it as resolved, nothing better than closing the loop._

---

<div class="post-metadata">

**Author:** ![matt.turner](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@matt.turner](https://community.ofelia.com/u/matt.turner)\
**Post date:** [30 November 2015 06:58 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/3 "2015-11-30T06:58:26Z")

</div>

Unable to retrieve…

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [30 November 2015 13:50 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/4 "2015-11-30T13:50:46Z")

</div>

Any chance a little more of what you’re doing I sort of don’t understand what you’re doing…or why…or how…

thanks

---

<div class="post-metadata">

**Author:** ![matt.turner](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@matt.turner](https://community.ofelia.com/u/matt.turner)\
**Post date:** [30 November 2015 23:09 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/5 "2015-11-30T23:09:59Z")

</div>

Well in the documentation for Rest \> bpm api \> diagram ([http://documentation.bonitasoft.com/bpm-api-849#diagram](http://documentation.bonitasoft.com/bpm-api-849#diagram)). It says “Use the diagram resource to access the process diagram xml representation. This is necessary for drawing the diagram.”

I’m basically just making my way down the list testing different Rest calls and just can not seem to get this one to work…

---

<div class="post-metadata">

**Author:** ![matt.turner](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@matt.turner](https://community.ofelia.com/u/matt.turner)\
**Post date:** [1 December 2015 23:08 UTC](https://community.ofelia.com/t/bpm-rest-api-diagram/6716/6 "2015-12-01T23:08:05Z")

</div>

Thanks Sean! Just needed a definitive answer.
