ellucian-developer / experience-ethos-examples

Example Experience Extensions which use Ethos to retrieve data from the ERP.
Apache License 2.0
27 stars 9 forks source link

DELETE emergency-contacts returning 400 "Failed to get payload" error. #34

Open ushah-albion opened 4 months ago

ushah-albion commented 4 months ago

When I try to run the DELETE emergency-conatcts method I get 400 "failed to get payload error". We are a Banner school. I am passing the body as: { "id":"bannerID" }

ushah-albion commented 4 months ago

image

I do not see DELETE as a method in the resources.

ellucianBret commented 4 months ago

@ushah-albion - it looks like to use the emergency-contacts BP API, there is a step required with Person Manager. I didn't realize this when I created this example. It was already enabled in the environment(s) I tried this on.

See - https://resources.elluciancloud.com/bundle/experience_person/page/t_exp_per_integration_contacts_bpapi.html

Without this, the create, read, and update will work, just not the delete.

I will add notes to the readme on this subject and make the delete option only show when applicable.

Bret

ushah-albion commented 4 months ago

Hello Bret, thank you for your help. I have opened a ticket with action line to enable the "Event Subscriptions" tab in our tenant as mentioned in the documentation. Thank you once again!

ellucianBret commented 4 months ago

@ushah-albion - latest info I am getting is that the DELETE method is there and works starting with Banner Admin API version 9.3.31.

Check your version.

Bret