Hi
Need some help finding the api details for BookIn related functions, such as creating new BookIn etc, I couldnt find any reference under this api link http://myjiwaapi/swagger-ui/
Riyaz wrote:Thanks for the quick response, can you pls also advise I. When this build will be released to the public version.
#region "Landed Cost"
#region "BookIns"
#region "{Main}"
AppHost.RegisterService<LandedCostBookInServices>();
AppHost.Routes.Add(typeof(LandedCostBookInGETRequest), "/BookIns/{BookInID}", "GET", "Retrieves a book in.", "");
AppHost.Routes.Add(typeof(LandedCostBookInPATCHRequest), "/BookIns/{BookInID}", "PATCH", "Updates a book in.", "");
AppHost.Routes.Add(typeof(LandedCostBookInSAVERequest), "/BookIns/Save", "GET", "Saves a stateful book in.", "Requires a request header of 'jiwa-stateful' be set to 'true', and also that a stateful book in item exists.");
AppHost.Routes.Add(typeof(LandedCostBookInABANDONRequest), "/BookIns/Abandon", "DELETE", "Abandons a stateful book in.", "Requires a request header of 'jiwa-stateful' be set to 'true', and also that a stateful book in item exists.");
AppHost.Routes.Add(typeof(LandedCostBookInCREATEFromShipmentIDRequest), "/BookIns/FromShipmentID/{ShipmentID}", "POST", "Creates a book in from the supplied shipment id.", "");
AppHost.Routes.Add(typeof(LandedCostBookInCREATEFromShipmentNoRequest), "/BookIns/FromShipmentNo/{ShipmentNo}", "POST", "Creates a book in from the supplied shipment no.", "");
AppHost.Routes.Add(typeof(LandedCostBookInACTIVATERequest), "/BookIns/Activate/{BookInID}", "POST", "Activates a book in.", "");
#endregion
Users browsing this forum: No registered users and 2 guests