Creates a usage report.
Usage record created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "subscriptionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X",
- "quantity": 0.01,
- "usageTime": "2019-08-24T14:15:22Z"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "subscriptionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X",
- "invoiceId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "invoiceItemId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "quantity": 0.01,
- "usageTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}