Skip to content

Instantly share code, notes, and snippets.

@innerdaze
Created January 12, 2016 15:59
Show Gist options
  • Save innerdaze/e8708e2d100ba887fe3e to your computer and use it in GitHub Desktop.
Save innerdaze/e8708e2d100ba887fe3e to your computer and use it in GitHub Desktop.
/**
* @class AnalysisCode
* @type Model
* @description List of Marketing Analysis Codes Associated with Customer
* @created 13/02/2015
* @author Paul Geare
* @copyright 2014 Constellation Software Inc. All rights reserved.
*/
Ext.define('CRM.model.AnalysisCode', {
extend: 'CRM.model.gold.mafrec',
requires: [
'CRM.proxy.GoldProxy'
],
proxy: {
type: 'rest',
url : Ext.config.API_ROOT[Ext.config.ENV] + '/marketingAnalysisCodes',
idParam: '',
limitParam: 'filter[limit]',
startParam: 'filter[skip]',
sortParam: 'filter[order]'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment