Namespace: Manage

Appearition.RefType.Manage

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

Methods

Appearition.RefType.Manage.Create (request, requestOptions)Appearition.RefType.RefTypeViewModel static

Will create a new RefType record and echo back the saved RefType record with the system allocated unique identifier.

Name Type Description
request Appearition.RefType.RefTypeViewModel

Contains the details of the new RefType being added

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request

Returns:
Type Description
Appearition.RefType.RefTypeViewModel The saved record with the system allocated Id. This is returned as RefType of the success callback function in the requestOptions param

Appearition.RefType.Manage.Delete (request, requestOptions) static

Will delete an existing RefType record. Nothing will be returned unless an error occurs.

Name Type Description
request Appearition.RefType.RefTypeViewModel

Contains the details of the RefType

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request

Appearition.RefType.Manage.Update (request, requestOptions) static

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

Name Type Description
request Appearition.RefType.RefTypeViewModel

Contains the details of the RefType

requestOptions Appearition.RequestOptions

Contains the various callback methods for this request