v3.7.0.1
Accounting Standards and Significant Accounting Policies - Adjustments to the Statement of Cash Flows (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Jan. 31, 2017
Jan. 31, 2016
Cash flows from operating activities        
Net loss $ (64,044) $ (78,503) [1]    
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Amortization of deferred costs 13,637 10,439 [1]    
Trade and other receivables, net 111,815 98,319 [1]    
Deferred costs (11,381) (9,226) [1]    
Prepaid expenses and other assets (3,050) 2,388 [1]    
Unearned revenue (21,272) 24,937 [1]    
Net cash provided by (used in) operating activities 180,022 162,817 [1]    
Net increase (decrease) in cash and cash equivalents (40,790) 105,868 [1]    
Cash, cash equivalents and restricted cash at the end of period $ 501,104 405,955 [1] $ 541,894 $ 300,087
As previously reported        
Cash flows from operating activities        
Net loss   (80,622)    
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Amortization of deferred costs   5,873    
Trade and other receivables, net   101,047    
Deferred costs   (4,788)    
Prepaid expenses and other assets   (776)    
Unearned revenue   26,269    
Net cash provided by (used in) operating activities   161,466    
Net increase (decrease) in cash and cash equivalents   104,517    
Cash, cash equivalents and restricted cash at the end of period   404,604    
Adjustments | Adjustments        
Cash flows from operating activities        
Net loss   2,119    
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Amortization of deferred costs   4,566    
Trade and other receivables, net   (2,728)    
Deferred costs   (4,438)    
Prepaid expenses and other assets   3,164    
Unearned revenue   (1,332)    
Net cash provided by (used in) operating activities   1,351    
Net increase (decrease) in cash and cash equivalents   1,351    
Cash, cash equivalents and restricted cash at the end of period   $ 1,351    
[1] See Note 2 for a summary of adjustments.