Modules

Calendar

Certificates

CollectiveAgreements

Company Forms

Company Forms Management

Contacts

Contracts

Customer Assets

Equipment

Expenses

Job Invoices

Jobs

Labour Actions

Library

Locates

Materials

Messages

Projects

Purchase Orders

Safety

Schedule

Service Quotes/Invoices

Service Requests

Services

Settings

TimeLogs

Users

Other

Subscription Resource


Endpoints

Endpoints URI Access Control Description
plans GET /api/Subscription/plans Authentication only
getActiveSubscription GET /api/Subscription/getActiveSubscription Endpoint level permissions
payments GET /api/Subscription/payments Endpoint level permissions
setAsFreemiumTier GET /api/Subscription/setAsFreemiumTier Endpoint level permissions
cancel GET /api/Subscription/cancel Endpoint level permissions Cancels a company's subscription to tradetraks
stopPartnerPayments GET /api/Subscription/stopPartnerPayments Endpoint level permissions
create POST /api/Subscription/create Endpoint level permissions Creates a Stripe subscription to tradetraks
find GET /api/Subscription/find Admin or Module READ
get GET /api/Subscription/get Authentication only

Properties

Property Type Description
id number
type string
stripe_id string
stripe_sub_id string
is_active boolean
price_cad number
plan_level number
user_limit number
expiry date
last_payment_status string
last_payment_update date
card_last_4 string
card_brand string
card_expiry string
created_at datetime
updated_at datetime
updated_by number

Settings

Setting
Pagination Limit (when page parameter is set) None
Default Sort Order is_active DESC
expiry DESC

Relationships

Related Resource Key Relationship to Subscription Property
Company tenant_id Belongs To Company