Examples

GET /xdusage/v1/accounts/10856/2815
{
    "message": null,
    "result": [
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 34502,
            "first_name": "Chengkai",
            "middle_name": "",
            "last_name": "Li",
            "is_pi": true,
            "portal_username": "chengkai",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 36649,
            "first_name": "Rohit",
            "middle_name": "Ravi Kumar",
            "last_name": "Bhoopalam",
            "is_pi": false,
            "portal_username": "rohitb",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 37694,
            "first_name": "Nandish",
            "middle_name": "",
            "last_name": "Jayaram",
            "is_pi": false,
            "portal_username": "njayaram",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 36644,
            "first_name": "Sumesh",
            "middle_name": "",
            "last_name": "Nellemakkal Balan",
            "is_pi": false,
            "portal_username": "sumeshnb",
            "acct_state": "dead"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 38852,
            "first_name": "Afroza",
            "middle_name": "",
            "last_name": "Sultana",
            "is_pi": false,
            "portal_username": "kakon",
            "acct_state": "active"
        }
    ]
}

GET /xdusage/v1/accounts/10856/2815?person_id=36644,37694
{
    "message": null,
    "result": [
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 37694,
            "first_name": "Nandish",
            "middle_name": "",
            "last_name": "Jayaram",
            "is_pi": false,
            "portal_username": "njayaram",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 36644,
            "first_name": "Sumesh",
            "middle_name": "",
            "last_name": "Nellemakkal Balan",
            "is_pi": false,
            "portal_username": "sumeshnb",
            "acct_state": "dead"
        }
    ]
}

GET /xdusage/v1/accounts/10856/2815?active_only
{
    "message": null,
    "result": [
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 34502,
            "first_name": "Chengkai",
            "middle_name": "",
            "last_name": "Li",
            "is_pi": true,
            "portal_username": "chengkai",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 36649,
            "first_name": "Rohit",
            "middle_name": "Ravi Kumar",
            "last_name": "Bhoopalam",
            "is_pi": false,
            "portal_username": "rohitb",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 37694,
            "first_name": "Nandish",
            "middle_name": "",
            "last_name": "Jayaram",
            "is_pi": false,
            "portal_username": "njayaram",
            "acct_state": "active"
        },
        {
            "account_id": 10856,
            "charge_number": "TG-CIE150028",
            "request_id": 18923,
            "grant_number": "CIE150028",
            "proposal_number": "CIE150028",
            "project_title": "Research Projects at the IDIR Lab",
            "resource_id": 2815,
            "resource_name": "wrangler.tacc.xsede",
            "proj_start": "2015-10-02",
            "proj_end": "2016-10-01",
            "proj_state": "active",
            "is_expired": false,
            "pi_person_id": 34502,
            "pi_first_name": "Chengkai",
            "pi_middle_name": "",
            "pi_last_name": "Li",
            "pi_portal_username": "chengkai",
            "person_id": 38852,
            "first_name": "Afroza",
            "middle_name": "",
            "last_name": "Sultana",
            "is_pi": false,
            "portal_username": "kakon",
            "acct_state": "active"
        }
    ]
}

Params

Param name Description
person_id
optional

comma-separated list of person_ids

active_only
optional

only active accounts