GET api/v1/billing/rules
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BillingRuleOverviewName | 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": "8933759f-7a95-4705-86e2-ef4e4c71afe0", "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": "8933759f-7a95-4705-86e2-ef4e4c71afe0", "CanUpdateRecord": true, "CanDeleteRecord": true }, { "BillingRuleId": "8933759f-7a95-4705-86e2-ef4e4c71afe0", "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": "8933759f-7a95-4705-86e2-ef4e4c71afe0", "CanUpdateRecord": true, "CanDeleteRecord": true } ]
text/html
Sample:
[{"BillingRuleId":"8933759f-7a95-4705-86e2-ef4e4c71afe0","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":"8933759f-7a95-4705-86e2-ef4e4c71afe0","CanUpdateRecord":true,"CanDeleteRecord":true},{"BillingRuleId":"8933759f-7a95-4705-86e2-ef4e4c71afe0","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":"8933759f-7a95-4705-86e2-ef4e4c71afe0","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">8933759f-7a95-4705-86e2-ef4e4c71afe0</Id> <BillingRuleId>8933759f-7a95-4705-86e2-ef4e4c71afe0</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">8933759f-7a95-4705-86e2-ef4e4c71afe0</Id> <BillingRuleId>8933759f-7a95-4705-86e2-ef4e4c71afe0</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>