Send PurchaseOrder via email (with PDF attachment)
POST/purchaseorder/:id/send-email
Send the purchase order to a recipient by email with a PDF attachment. Handler: purchase.go:1139. Proto: purchase.proto:55 (uses common.SendEntityEmailReq / common.SendEntityEmailResp). The path id is bound onto the gRPC request before dispatch (purchase.go:1141).
Request
Responses
- 200
- 400
- 401
- 403
- 500
Email queued/sent
Bad request error
Unauthorized error
Token issue like Expired or corrupted
Internal Server error