diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index e476e3b..c218667 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -66,6 +66,112 @@ + +
+ Access our RESTful APIs for programmatic integration with the Ship Services platform. +
+/api/ShipAgenciesApi
+ Retrieve all ship agencies with their contact information and details.
+ +[
+ {
+ "id": 1,
+ "agencyName": "Blue Ocean Maritime",
+ "contactPerson": "Alice Dsouza",
+ "contactEmail": "alice@blueocean.com"
+ },
+ {
+ "id": 2,
+ "agencyName": "Global Ports",
+ "contactPerson": "John Lee",
+ "contactEmail": "john@globalports.com"
+ }
+]
+ + Try out all available APIs directly in your browser with our Swagger UI interface. + Test endpoints, view request/response formats, and explore the complete API documentation. +
+ + Open Swagger UI + +
+ All API endpoints are accessible at:
+ @Context.Request.Scheme://@Context.Request.Host/api/
+
+ All responses are returned in JSON format with appropriate HTTP status codes. +
++ Use tools like curl, Postman, or our built-in Swagger UI to test the endpoints. +
+curl -X GET "@Context.Request.Scheme://@Context.Request.Host/api/ShipAgenciesApi" -H "accept: application/json"
+