Question
Project Desription: The project assignment is to create a shipping microservice with multiple shipment services, UPS, and FedEx. Your work will be judged on translating
Project Desription:
The project assignment is to create a shipping microservice with multiple shipment services, UPS, and FedEx. Your work will be judged on translating the acceptance Criteria into test cases, the implementation and the design pattern used for the solution, validations, and error handling.
Story: As a developer, I need an API that allows me to create a shipment by passing the shipment carrier ID that I would like to use, and the set of parameters needed to get the shipment profile created with the shipping service itself.
Acceptance Criteria: For this assignment, please consider the following assumptions: FedEx ID: fedex UPS ID : ups FedEx service shipment creation request required fields: carrierServiceID : [string] valid carrierService IDs: fedexAIR, fedexGround packageDetails : width [cm] height [cm] length [cm] weight [gram] UPS service shipment creation request required fields: shipmentServiceID: [string] valid shipmentService IDs: UPSExpress , UPS2DAY packageDetails : width [inch] height [inch] length [inch] weight [pound] The API shall respond back with a confirmation that the shipment has been placed successfully and if the input fields were incorrect and the type is incorrect, the correct error message shall be passed to the customer.
Note: for this assignment, we do not care about calling external services but how to create and design an API that could handle these differences and provide a single API to interact with these differences behind the scenes. Note: You can choose any database server you want.
I need solution in asp.net core 6 with web api
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started