Click or drag to resize

AddressDataControllerSaveBikeBikeHistoryEntry Method

Save a new data item of BikeBikeHistoryEntry item

Namespace:  Velo.Web.Controllers
Assembly:  Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public IHttpActionResult SaveBikeBikeHistoryEntry(
	BikeBikeHistoryEntry pBikeBikeHistoryEntry
)

Parameters

pBikeBikeHistoryEntry
Type: Velo.Web.ModelsBikeBikeHistoryEntry
Values of new bike and bike history entry

Return Value

Type: IHttpActionResult
Saved data item with a bike ID and bike history ID
Examples
An example in Java script
var lValues = DialogAddressAddBikeAndHistoryGetData();
var lURL = getURLRoot() + 'api/AddressData/SaveBikeBikeHistoryEntry';

// asynchronous post - waiting next processing 
$.ajax({
    url: lURL,
    type: 'POST',
    data: lValues,
    async: false,
    success: function (data) {
    },
    error: function (xhr, status, error) {
        alert("#Exception of method DialogAddressSave: " + xhr + ", " + status + ", " + error);
    }
});
See Also