Order item polling endpoint
- Add method
OrderItem.get()
- Change required params to instanciate an OrderItem: Send df and account only to create an OrderItem, and not to get one.
- Check order item status and get asset if completed
- Add new endpoint
jobs/check-order-item-status/
and its view (CheckOrderItemStatusView) - Add new task
check_order_item_status
also enqueued by celery - Add
asset.py
class, with the methodget_by_phone
to retreive assets from a given account by their phone associated.
-
Rename tasks names
-
TODO -> Review he info we send to OTRS
Edited by Administrator