GET api/v1/billing/rules
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BillingRuleOverview| Name | Description | Type | Additional information |
|---|---|---|---|
| BillingRuleId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| RuleData | string |
None. |
|
| BillingRuleTypeName | string |
None. |
|
| BillingRuleTypeFriendlyName | string |
None. |
|
| IsCumulative | boolean |
None. |
|
| IsForGliderFlights | boolean |
None. |
|
| IsForMotorFlights | boolean |
None. |
|
| IsForTowFlights | boolean |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BillingRuleId": "6b92881b-3441-4f0d-aaef-39a758450537",
"Name": "sample string 2",
"Description": "sample string 3",
"RuleData": "sample string 4",
"BillingRuleTypeName": "sample string 5",
"BillingRuleTypeFriendlyName": "sample string 6",
"IsCumulative": true,
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Id": "6b92881b-3441-4f0d-aaef-39a758450537",
"CanUpdateRecord": true,
"CanDeleteRecord": true
},
{
"BillingRuleId": "6b92881b-3441-4f0d-aaef-39a758450537",
"Name": "sample string 2",
"Description": "sample string 3",
"RuleData": "sample string 4",
"BillingRuleTypeName": "sample string 5",
"BillingRuleTypeFriendlyName": "sample string 6",
"IsCumulative": true,
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Id": "6b92881b-3441-4f0d-aaef-39a758450537",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
]
text/html
Sample:
[{"BillingRuleId":"6b92881b-3441-4f0d-aaef-39a758450537","Name":"sample string 2","Description":"sample string 3","RuleData":"sample string 4","BillingRuleTypeName":"sample string 5","BillingRuleTypeFriendlyName":"sample string 6","IsCumulative":true,"IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Id":"6b92881b-3441-4f0d-aaef-39a758450537","CanUpdateRecord":true,"CanDeleteRecord":true},{"BillingRuleId":"6b92881b-3441-4f0d-aaef-39a758450537","Name":"sample string 2","Description":"sample string 3","RuleData":"sample string 4","BillingRuleTypeName":"sample string 5","BillingRuleTypeFriendlyName":"sample string 6","IsCumulative":true,"IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Id":"6b92881b-3441-4f0d-aaef-39a758450537","CanUpdateRecord":true,"CanDeleteRecord":true}]
application/xml, text/xml
Sample:
<ArrayOfBillingRuleOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Billings">
<BillingRuleOverview>
<CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
<CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
<Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">6b92881b-3441-4f0d-aaef-39a758450537</Id>
<BillingRuleId>6b92881b-3441-4f0d-aaef-39a758450537</BillingRuleId>
<BillingRuleTypeFriendlyName>sample string 6</BillingRuleTypeFriendlyName>
<BillingRuleTypeName>sample string 5</BillingRuleTypeName>
<Description>sample string 3</Description>
<IsCumulative>true</IsCumulative>
<IsForGliderFlights>true</IsForGliderFlights>
<IsForMotorFlights>true</IsForMotorFlights>
<IsForTowFlights>true</IsForTowFlights>
<Name>sample string 2</Name>
<RuleData>sample string 4</RuleData>
</BillingRuleOverview>
<BillingRuleOverview>
<CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
<CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
<Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">6b92881b-3441-4f0d-aaef-39a758450537</Id>
<BillingRuleId>6b92881b-3441-4f0d-aaef-39a758450537</BillingRuleId>
<BillingRuleTypeFriendlyName>sample string 6</BillingRuleTypeFriendlyName>
<BillingRuleTypeName>sample string 5</BillingRuleTypeName>
<Description>sample string 3</Description>
<IsCumulative>true</IsCumulative>
<IsForGliderFlights>true</IsForGliderFlights>
<IsForMotorFlights>true</IsForMotorFlights>
<IsForTowFlights>true</IsForTowFlights>
<Name>sample string 2</Name>
<RuleData>sample string 4</RuleData>
</BillingRuleOverview>
</ArrayOfBillingRuleOverview>