Get Data In CSV Format


Description

This method gets data for a given creditor and a given month in CSV format.

Authentication

Requires HTTP BASIC authentication. The authenticating user must be an admin of the creditor in order to retrieve the creditor's data.

HTTP Methods

Accepts GET requests.

URI

/api/creditors/{UUID}/data/{MONTH}.csv

Path Variables

Name Required/Optional Description Validation
UUID required The UUID of the creditor to import the data for. Debtor UUID should exist in the system.
MONTH required The month to import the data for Should be in YYYY-MM format

Parameters

No HTTP parameters.

Curl Example

Request

curl -u apiuser:test https://www.factorsnetwork.com/api/creditors/e6aaa036-2121-d11d-dd33-869ffac113be/data/2012-04.csv
						

Response

"Account","Name","MC #","Phone","Fax","Physical Address Line 1","Physical Address line 2","City","State","Postal Code","Country","Attention","Mailing Address Line 1","Mailing Address Line 2","Mailing City","Mailing State","Mailing Zip","Mailing Country","1-15","16-30","31-45","46-60","61-75","76-90","91+"
"11A345","EXPRESS  INC.","","770-663-2222","770-663-1111","ATTN: ACCOUNTS PAYABLE","PO BOX 403","ALPHARETTA","GA","30009","",,,,,"",,"","0.00","500.00","1400.00","0.00","0.00","0.00","0.00"

Note: Responses will not be pretty printed when using the API, but have been formatted here for documentation purposes.