Missing Detail Delete /api/checkouts/{id}/checkout_info/

Anything concerning integration via the REST API
Post Reply
jnl29
Posts: 5
Joined: Wed Sep 18, 2019 7:07 pm

Missing Detail Delete /api/checkouts/{id}/checkout_info/

Post by jnl29 » Tue Oct 15, 2019 5:40 pm

Hello!

I am trying to Check in document via api.
I am using the DELETE “/checkouts/{id}/checkout_info/”.

Code: Select all

checkin_api =  conn_str + "/api/checkouts/" +str(doc_id_number)+ "/checkout_info/"
R = session.delete(checkin_api)
However, I am getting this error message in return {"detail":"Not found."} (<Response [404]>). Do I need to return another value?

Thank you :D

I am using:
• Mayan Version: 3.2.7
• Python Request 2.21.0

jnl29
Posts: 5
Joined: Wed Sep 18, 2019 7:07 pm

Re: Missing Detail Delete /api/checkouts/{id}/checkout_info/

Post by jnl29 » Tue Nov 05, 2019 4:02 pm

Update:

Still on Swagger I am receiving a "detail": "Not found." when trying to implement Delete for checkouts_checkout_info_delete

Attached is an image of the error.

What missing detail is this API call looking for ?

Thanks You !

Mayan Version: 3.2.9
Attachments
Screen Shot 2019-11-05 at 10.59.28 AM.png
Screen Shot 2019-11-05 at 10.59.28 AM.png (62.67 KiB) Viewed 36 times

Post Reply