CSV

In a CSV response body (only for a GET of a chargebackReport resource), the name of each reported property for the resource is a field in the first line. Property values are fields in the subsequent lines.

Here’s a request for the chargebackReport resource for the Accounts-Receivable namespace to be returned in CSV format:

curl -k -i -H "Accept: text/csv"
    -H "Authorization: HCP VVNFUk5BTUU=:319f4d26e3c536b5dd871bb2c52e3178"
    "https://finance.hcp.example.com:9090/mapi/tenants/finance/namespaces/
         accounts-receivable/chargebackReport?start=2012-02-18T13:00:00-0500
         &end=2012-02-18T13:59:59-0500&granularity=hour"

Here’s the CSV response body:

systemName,tenantName,namespaceName,startTime,endTime,objectCount,
    ingestedVolume,storageCapacityUsed,bytesIn,bytesOut,reads,writes,deletes,
    deleted,valid
hcp.example.com,Finance,Accounts-Receivable,2012-02-18T13:00:00-0500,1240,
    2012-02-18T13:59:59-0500,1240,692224,716720,2905,561,1,5,0,false,true

Trademark and LegalDisclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.