Name | Required/Optional | Description | Validation |
---|---|---|---|
companyName | optional | Name of creditor's compnay | text |
companyNameSearchType | optional, default EXACT | Where to search for company name | Valid values are EXACT, BEGINNING, ANYWHERE |
curl -u apiuser:test https://www.factorsnetwork.com/api/creditors.json
curl -u apiuser:test https://www.factorsnetwork.com/api/creditors.json?companyName=test&companyNameSearchType=ANYWHERE
{ "creditors":[ { "uuid":"e6aaa036-2121-d11d-dd33-869ffac113be", "companyName":"Factoring Inc.", "contactName":null, "contactPhone":null, "contactFax":null, "contactEmail":null, "address1":null, "address2":null, "city":null, "state":null, "country":null, "postalCode":null, "createdDate" : 1441356834403, "totalUploadedAccounts" : 0, "lastUploadedDate" : null },{ "uuid":"e6aaa036-1212-d11d-dd33-000ffac113be", "companyName":"Pay Inc.", "contactName":null, "contactPhone":null, "contactFax":null, "contactEmail":null, "address1":null, "address2":null, "city":null, "state":null, "country":null, "postalCode":null, "createdDate" : 1441356834403, "totalUploadedAccounts" : 10, "lastUploadedDate" : 1436452046537 } ], "totalRecords" : 2 }
Note: Responses will not be pretty printed when using the API, but have been formatted here for documentation purposes.