Namespace: Repairer

Appearition.Part.Repairer

Use the functions under this module to create, change and remove repairer records on the Appearition platform

Methods

Appearition.Part.Repairer.AddRepairer (request, requestOptions)number static

Will create a new Repairer to for an existing manufacturer and return the system allocated identifier

Name Type Description
request Appearition.Part.Repairer.AddRepairerViewModel

Contains the details of the new Repairer

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request

Returns:
Type Description
number The system allocated identifier will be returned for the newly created repairer. This is returned as part of the success callback function in the requestOptions param

Appearition.Part.Repairer.DeleteRepairer (request, requestOptions) static

Will remove the Repairer from the system

Name Type Description
request Appearition.Part.Repairer.RepairerViewModel

Contains the details of the repairer

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request

Appearition.Part.Repairer.UpdateRepairer (request, requestOptions) static

Will update the details of an existing Repairer record. Nothing will be returned unless an error occurs.

Name Type Description
request Appearition.Part.Repairer.RepairerViewModel

Contains the details of the Repairer

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request

Type Definitions

Appearition.Part.Repairer.AddRepairerViewModel

This data structure is posted to the server when adding a new Repairer

Properties:
Name Type Description
Name string

The name of the new repairer

Appearition.Part.Repairer.RepairerViewModel

This data structure is posted to the server when modifying an existing repairer

Properties:
Name Type Description
Id number

Uniquely identifies the repairer

Name string

The name of the new repairer