MT#10797 Add documentation note and sample with required "type" parameter.

Change-Id: I7f935d6593058a732888b79f4301a6fa78a4443e
changes/55/755/1
Irina Peshinskaya 11 years ago
parent 24d9f31931
commit 9977fa35f0

@ -20,7 +20,18 @@ class_has 'api_description' => (
is => 'ro',
isa => 'Str',
default =>
'Defines a billing container for end customers. Customers usually have one or more <a href="#subscribers">Subscribers</a>. A <a href="#billingprofiles">Billing Profile</a> is assigned to a customer, and it has <a href="#contractbalances">Contract Balances</a> indicating the saldo of the customer for current and past billing intervals.',
'Defines a billing container for end customers. Customers usually have one or more <a href="#subscribers">Subscribers</a>. A <a href="#billingprofiles">Billing Profile</a> is assigned to a customer, and it has <a href="#contractbalances">Contract Balances</a> indicating the saldo of the customer for current and past billing intervals. Customer can be one of the "sipaccount" or "pbxaccount" type. Type should be specified as "type" parameter.',
);
class_has 'documentation_sample' => (
is => 'ro',
default => sub {
{
"billing_profile_id" => 4,
"type" => "sipaccount",
"contact_id" => 4,
"status" => "test",
}
},
);
class_has 'query_params' => (

Loading…
Cancel
Save