public OntraportBaseCustomObject(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects,
                                  string endpointSingular, string endpointPlural,
                                  int objectTypeId, string primarySearchKey) :
     base(apiRequest, endpointSingular, endpointPlural, primarySearchKey)
 {
     _ontraObjects = ontraObjects;
     _objectTypeId = objectTypeId;
 }
 public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects)
 {
 }
Exemple #3
0
 public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Contact", "Contacts", (int)ApiObjectType.Contact, ApiContact.EmailKey)
 {
 }
 public OntraportDeals(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Deal", "Deals", (int)ApiObjectType.Deal, ApiDeal.NameKey)
 {
 }
 public OntraportCompanies(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Company", "Companies", (int)ApiObjectType.Company, ApiCompany.NameKey)
 {
 }
Exemple #6
0
 public OntraportRecordings(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Recording", "Recordings", ObjectTypeId, ApiRecording.FileNameKey)
 {
 }
Exemple #7
0
 public OntraportPaymentPlans(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "PaymentPlan", "PaymentPlans", ObjectTypeId, null)
 {
 }
 public OntraportReadings(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) :
     base(apiRequest, ontraObjects, "Reading", "Readings", ObjectTypeId, null)
 {
 }