-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAIN B-20603 backend boat office api #13511
Conversation
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👽
B-20603
INT PR: #13521
Summary
This is to add/modify services and ghc api endpoints related to Boat Shipment for office users.
isRoadworthy
should be null ifhasTrailer
is false.How to test
Use Swagger or Postman to check ghc APIs:
Import
ghc.yaml
file from swagger folder if you have not already.POST - officelocal:3000{{baseUrl}}/mto-shipments
http://officelocal:3000/swagger-ui/ghc.html#/mtoShipment/createMTOShipment
Example body to use:
PATCH - officelocal:3000{{baseUrl}}/move_task_orders/:moveTaskOrderID/mto_shipments/:shipmentID
http://officelocal:3000/swagger-ui/ghc.html#/mtoShipment/updateMTOShipment
Example body to use:
GET - http://officelocal:3000/swagger-ui/ghc.html#/mtoShipment/listMTOShipments
GET - http://officelocal:3000/swagger-ui/ghc.html#/mtoShipment/getShipment
Screenshots