Methods
-
Appearition.Part.Model.AddNewModelToManufacturer (request, requestOptions)Appearition.Part.ManufacturerModelViewModel static
Will create a new model to for an existing manufacturer
-
Name Type Description request
Appearition.Part.Model.AddNewModelToManufacturer Contains the details of the new model for the manufacturer
requestOptions
Appearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Appearition.Part.ManufacturerModelViewModel The saved record with the system allocated Id. This is returned as part of the success callback function in the requestOptions param -
Will remove the model from the manufacturer.
-
Name Type Description request
Appearition.Part.ManufacturerModelViewModel Contains the details of the model
requestOptions
Appearition.RequestOptions Contains the various callback methods for this request
-
Will update the details of an existing Model record. Nothing will be returned unless an error occurs.
-
Name Type Description request
Appearition.Part.ManufacturerModelViewModel Contains the details of the model
requestOptions
Appearition.RequestOptions Contains the various callback methods for this request
Type Definitions
-
This data structure is posted to the server when adding a new model to an existing manufacturer for a part.
-
Properties:
Name Type Description PartId
number Uniquely identifies the part
ManufacturerId
number Uniquely identifies the manufacturer
ModelNo
string Uniquely identifies the Model