Ships
| API | Description |
|---|---|
| GET api/ships |
Gets a list of ships |
| GET api/ships/{id} |
Gets a single ship by ID |
| GET api/ships/{IMO_Str} |
Gets a single ship by IMO-Number |
StockItems
Stock Items CRUD operations
| API | Description |
|---|---|
| GET api/stockitems |
Gets a list of Stock Items |
| GET api/stockitems/{IMO_Str} |
Gets a list of Stock Items |
| GET api/stockitems/{id} |
Gets a single Stock Item |
| POST api/stockitems/filter |
Gets a filtered list of Stock Items |
| POST api/stockitems |
To post a new Stock Item. Item is expected as JSON in the body |
| DELETE api/stockitems/{id} |
Deletes a StockItem by ID |
| PUT api/stockitems/{id} |
Edits a given record. Not specified fields are set to NULL! |
| PATCH api/stockitems/{id} |
Edits a given record. Not specified fields are kept as before. |
Documents
Documents Controller
| API | Description |
|---|---|
| GET api/Documents/{id} |
Get the shipping document(s) for the StockItem with given id. |