I need to develop REST APIs with JSON media type, Kindly check the attached file for the same.
Warranty order execution starts as soon as the primary product is delivered to customer.
The flow is
1. As soon as the primary product is delivered, STS calls IDEACRAFT API for warranty service order creation. STS sends all the possible details in the API call to minimize customer inputs in the later stages.
2. IDEACRAFT generates an activation link and send back in the response.
a. There may be separate link for wap and web
b. Activation link is hosted by the IDEACRAFT
3. SNAPDEAL communicates the activation link to customer via my orders, email etc
4. Customer opens the activation link and needs to fill only the information which was not sent by SNAPDEAL at request creation.
5. Form is submitted and received by the IDEACRAFT.
6. IDEACRAFT activates the warranty and calls back SNAPDEAL via Update Service Status API explained in the next section.
7. In case customer claims the warranty, IDEACRAFT needs to call-back via Update Service Status API and update SNAPDEAL.
8. At any time, SNAPDEAL should be able to call IDEACRAFT API and cancel the warranty request. This will typically happen if user cancels the primary product or specifically cancels the warranty order.