curl --request GET \
--url https://api.meetcampfire.com/rr/api/v1/contracts/{contract_id}/milestones/{milestone_id}/allocations \
--header 'Authorization: <api-key>'{
"id": 123,
"source_bundle": 123,
"source_bundle_name": "<string>",
"total_amount": 0,
"currency": "<string>",
"lines": [
{
"id": 123,
"product": 123,
"product_name": "<string>",
"product_id_str": "<string>",
"amount": 0,
"percentage": "<string>",
"original_percentage": 0
}
],
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z"
}Retrieve the current bundle allocation details for a contract subscription, milestone, or usage.
curl --request GET \
--url https://api.meetcampfire.com/rr/api/v1/contracts/{contract_id}/milestones/{milestone_id}/allocations \
--header 'Authorization: <api-key>'{
"id": 123,
"source_bundle": 123,
"source_bundle_name": "<string>",
"total_amount": 0,
"currency": "<string>",
"lines": [
{
"id": 123,
"product": 123,
"product_name": "<string>",
"product_id_str": "<string>",
"amount": 0,
"percentage": "<string>",
"original_percentage": 0
}
],
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z"
}Token-based authentication with required prefix "Token"
Serializer for ContractProductBundle with nested lines.
Used for retrieving and updating contract-specific bundle allocations. When updating, validates that line amounts sum to total_amount.
Original ProductBundle template this was created from
Total amount to be allocated across products
-1000000000000000000 < x < 1000000000000000000Show child attributes