action appcenter_billing_aggregated_information_get_all { label: "billingAggregatedInformation_getAll" description: "Aggregated Billing Information for the requesting user and the organizations in which the user is an admin." provider: appcenter method: GET path: "/v0.1/billing/allAccountsAggregated" encoding: json input: { type: "object" properties: { period: { type: "string" enum: ["Previous", "Current", "Next"] } service: { type: "string" enum: ["Test", "Build"] } showOriginalPlans: { type: "boolean" } } additionalProperties: false } output: { type: "object" description: "Aggregated Billing Information for a user an the organizations in which the user is an admin." properties: { aggregatedBillings: { type: "object" description: "Aggregated Billing Information for a user or an organization" properties: { azureSubscriptionId: { type: "string" description: "Unique identifier for the Azure subscription used for billing" } azureSubscriptionState: { type: "string" description: "State of the Azure subscription used for billing" enum: ["Enabled", "Disabled", "NotSet"] } billingPlans: { type: "object" description: "Billing Plans section in the Billing Information" properties: { buildService: { type: "object" description: "Billing Plans for a single service" properties: { canSelectTrialPlan: { type: "boolean" description: "Can customer select trial plan for that service (if it exists)?" } currentBillingPeriod: { description: "Billing plans for a given period" properties: { byAccount: { description: "Selection of a billing plan" properties: { count: { type: "integer" description: "Number of instances of the billing plan." } plan: { type: "object" description: "Billing Plan" properties: { attributes: { type: "object" description: "Collection of attribute values." } id: { type: "string" description: "The Billing Plan ID" } limits: { type: "object" description: "A collection of named numeric values" } parentId: { type: "string" } paymentSource: { type: "string" description: "Service that receives payments for this billing plan." enum: ["None", "AppCenter", "GitHub", "Xtc"] } price: { type: "number" description: "Price of the Billing Plan" } service: { type: "string" description: "Name of the service that the plan applies to." enum: ["Build", "Test"] } version: { type: "string" description: "Version of the Billing Plan schema" } } } } } endTime: { type: "string" format: "dateTime" description: "Exclusive end of the period." } startTime: { type: "string" format: "dateTime" description: "Inclusive start of the period" } } } lastTrialPlanExpirationTime: { type: "string" format: "dateTime" description: "Expiration time of the last selected trial plan. Will be null if trial plan was not used." } } } testService: { type: "object" description: "Billing Plans for a single service" properties: { canSelectTrialPlan: { type: "boolean" description: "Can customer select trial plan for that service (if it exists)?" } currentBillingPeriod: { description: "Billing plans for a given period" properties: { byAccount: { description: "Selection of a billing plan" properties: { count: { type: "integer" description: "Number of instances of the billing plan." } plan: { type: "object" description: "Billing Plan" properties: { attributes: { type: "object" description: "Collection of attribute values." } id: { type: "string" description: "The Billing Plan ID" } limits: { type: "object" description: "A collection of named numeric values" } parentId: { type: "string" } paymentSource: { type: "string" description: "Service that receives payments for this billing plan." enum: ["None", "AppCenter", "GitHub", "Xtc"] } price: { type: "number" description: "Price of the Billing Plan" } service: { type: "string" description: "Name of the service that the plan applies to." enum: ["Build", "Test"] } version: { type: "string" description: "Version of the Billing Plan schema" } } } } } endTime: { type: "string" format: "dateTime" description: "Exclusive end of the period." } startTime: { type: "string" format: "dateTime" description: "Inclusive start of the period" } } } lastTrialPlanExpirationTime: { type: "string" format: "dateTime" description: "Expiration time of the last selected trial plan. Will be null if trial plan was not used." } } } } } id: { type: "string" description: "ID of the user or organization" } timestamp: { type: "string" format: "dateTime" description: "The ISO 8601 datetime of last modification" } usage: { type: "object" description: "Usage section in the Billing Information" properties: { buildService: { type: "object" description: "Resource usage for a single Mobile Center service" properties: { currentUsagePeriod: { type: "object" description: "Usage for a single period" properties: { byAccount: { type: "object" description: "A collection of named numeric values" } byApp: { type: "object" description: "A collection of named numeric values grouped by app" } endTime: { type: "string" format: "dateTime" description: "Exclusive end time of the usage period." } startTime: { type: "string" format: "dateTime" description: "Inclusive start time of the usage period" } } } } } testService: { type: "object" description: "Resource usage for a single Mobile Center service" properties: { currentUsagePeriod: { type: "object" description: "Usage for a single period" properties: { byAccount: { type: "object" description: "A collection of named numeric values" } byApp: { type: "object" description: "A collection of named numeric values grouped by app" } endTime: { type: "string" format: "dateTime" description: "Exclusive end time of the usage period." } startTime: { type: "string" format: "dateTime" description: "Inclusive start time of the usage period" } } } } } } } version: { type: "string" description: "Version of the Billing Information schema" } } } } } }