Name | Required/Optional | Description | Validation |
---|---|---|---|
UUID | required | The UUID of the creditor to import the data for. | Creditor UUID should exist in the system. |
MONTH | required | The month to import the data for | Should be in YYYY-MM format |
Name | Required/Optional | Description | Validation |
---|---|---|---|
file | required | The file containing the data to import. The format is determined by the import format assigned to the creditor | The file should be in appropriate format which is assigned to the creditor |
curl -u apiuser:test -X POST -F file=@myfile https://www.factorsnetwork.com/api/creditors/e6aaa036-2121-d11d-dd33-869ffac113be/data/2012-04.json
{ "totalRecords":15 }
Note: The totalRecords depends on the file. Responses will not be pretty printed when using the API, but have been formatted here for documentation purposes.