Examples

GET /xdusage/v1/credits_debits/by_dates/2318/2214/5204/2006-01-01/2006-12-31
{
    "message": null,
    "result": [
        {
            "id": 13,
            "allocation_id": 2387,
            "account_id": 2318,
            "resource_id": 2214,
            "person_id": 5204,
            "local_id": "2007-06-02 11:00:57.74703-04-refund.TG-MCA06N060@bigred.iu.teragrid",
            "charge_date": "2006-10-01T02:00:00.000-05:00",
            "amount": 16880.4,
            "site_resource_name": "bigred.iu.teragrid",
            "type": "debit",
            "is_credit": false
        },
        {
            "id": 7,
            "allocation_id": 2387,
            "account_id": 2318,
            "resource_id": 2214,
            "person_id": 5204,
            "local_id": "2007-06-01 16:21:15.600293-04-refund.TG-MCA06N060@bigred.iu.teragrid",
            "charge_date": "2006-10-01T02:00:00.000-05:00",
            "amount": 550000,
            "site_resource_name": "bigred.iu.teragrid",
            "type": "refund",
            "is_credit": true
        },
        {
            "id": 17,
            "allocation_id": 2387,
            "account_id": 2318,
            "resource_id": 2214,
            "person_id": 5204,
            "local_id": "2007-06-26 10:24:00.466428-04-refund.TG-MCA06N060@bigred.iu.teragrid",
            "charge_date": "2006-10-01T02:00:00.000-05:00",
            "amount": 493162.9,
            "site_resource_name": "bigred.iu.teragrid",
            "type": "refund",
            "is_credit": true
        },
        {
            "id": 27,
            "allocation_id": 2387,
            "account_id": 2318,
            "resource_id": 2214,
            "person_id": 5204,
            "local_id": "2007-07-12 15:05:22.124675-04-refund.TG-MCA06N060@bigred.iu.teragrid",
            "charge_date": "2006-10-01T02:00:00.000-05:00",
            "amount": 300.8,
            "site_resource_name": "bigred.iu.teragrid",
            "type": "refund",
            "is_credit": true
        },
        {
            "id": 31,
            "allocation_id": 2387,
            "account_id": 2318,
            "resource_id": 2214,
            "person_id": 5204,
            "local_id": "2007-07-17 15:55:09.764622-04-refund.TG-MCA06N060@bigred.iu.teragrid",
            "charge_date": "2006-10-01T02:00:00.000-05:00",
            "amount": 300.8,
            "site_resource_name": "bigred.iu.teragrid",
            "type": "refund",
            "is_credit": true
        }
    ]
}