GET api/v1/billing/rules/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
BillingRuleDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| BillingRuleId | globally unique identifier |
None. |
|
| BillingRuleTypeName | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| IsForGliderFlights | boolean |
None. |
|
| IsForTowFlights | boolean |
None. |
|
| IsForMotorFlights | boolean |
None. |
|
| NegateListedAircraft | boolean |
None. |
|
| NegateListedStartTypes | boolean |
None. |
|
| NegateListedUsers | boolean |
None. |
|
| NegateListedFlightTypes | boolean |
None. |
|
| MinFlightTime | integer |
None. |
|
| MaxFlightTime | integer |
None. |
|
| MinReleaseHeight | integer |
None. |
|
| MaxReleaseHeight | integer |
None. |
|
| RuleData | string |
None. |
|
| IsCumulative | boolean |
None. |
|
| MatchedAircraft | Collection of globally unique identifier |
None. |
|
| MatchedStartTypes | Collection of integer |
None. |
|
| MatchedUsers | Collection of globally unique identifier |
None. |
|
| MatchedFlightTypes | Collection of globally unique identifier |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"BillingRuleId": "9d3955e0-9b47-4270-a0ed-182b44c2e157",
"BillingRuleTypeName": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"IsForGliderFlights": true,
"IsForTowFlights": true,
"IsForMotorFlights": true,
"NegateListedAircraft": true,
"NegateListedStartTypes": true,
"NegateListedUsers": true,
"NegateListedFlightTypes": true,
"MinFlightTime": 1,
"MaxFlightTime": 1,
"MinReleaseHeight": 1,
"MaxReleaseHeight": 1,
"RuleData": "sample string 12",
"IsCumulative": true,
"MatchedAircraft": [
"76f22e5c-78f4-4a3a-9c93-5e3f2dbb33c0",
"5f88ea54-eb8d-4351-8b6a-50077bfe1231"
],
"MatchedStartTypes": [
1,
2
],
"MatchedUsers": [
"114dbc73-9b32-4e91-9525-7346d973644d",
"674e5fe1-0e07-441f-b67f-df7957ed4471"
],
"MatchedFlightTypes": [
"6be1822c-9944-4cbb-b62e-436c5e04c47f",
"4648e6e3-0fda-40e2-ab05-8dce19516837"
],
"Id": "9d3955e0-9b47-4270-a0ed-182b44c2e157",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingRuleId":"9d3955e0-9b47-4270-a0ed-182b44c2e157","BillingRuleTypeName":"sample string 2","Name":"sample string 3","Description":"sample string 4","IsForGliderFlights":true,"IsForTowFlights":true,"IsForMotorFlights":true,"NegateListedAircraft":true,"NegateListedStartTypes":true,"NegateListedUsers":true,"NegateListedFlightTypes":true,"MinFlightTime":1,"MaxFlightTime":1,"MinReleaseHeight":1,"MaxReleaseHeight":1,"RuleData":"sample string 12","IsCumulative":true,"MatchedAircraft":["76f22e5c-78f4-4a3a-9c93-5e3f2dbb33c0","5f88ea54-eb8d-4351-8b6a-50077bfe1231"],"MatchedStartTypes":[1,2],"MatchedUsers":["114dbc73-9b32-4e91-9525-7346d973644d","674e5fe1-0e07-441f-b67f-df7957ed4471"],"MatchedFlightTypes":["6be1822c-9944-4cbb-b62e-436c5e04c47f","4648e6e3-0fda-40e2-ab05-8dce19516837"],"Id":"9d3955e0-9b47-4270-a0ed-182b44c2e157","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<BillingRuleDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Billings">
<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">9d3955e0-9b47-4270-a0ed-182b44c2e157</Id>
<BillingRuleId>9d3955e0-9b47-4270-a0ed-182b44c2e157</BillingRuleId>
<BillingRuleTypeName>sample string 2</BillingRuleTypeName>
<Description>sample string 4</Description>
<IsCumulative>true</IsCumulative>
<IsForGliderFlights>true</IsForGliderFlights>
<IsForMotorFlights>true</IsForMotorFlights>
<IsForTowFlights>true</IsForTowFlights>
<MatchedAircraft xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>76f22e5c-78f4-4a3a-9c93-5e3f2dbb33c0</d2p1:guid>
<d2p1:guid>5f88ea54-eb8d-4351-8b6a-50077bfe1231</d2p1:guid>
</MatchedAircraft>
<MatchedFlightTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6be1822c-9944-4cbb-b62e-436c5e04c47f</d2p1:guid>
<d2p1:guid>4648e6e3-0fda-40e2-ab05-8dce19516837</d2p1:guid>
</MatchedFlightTypes>
<MatchedStartTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</MatchedStartTypes>
<MatchedUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>114dbc73-9b32-4e91-9525-7346d973644d</d2p1:guid>
<d2p1:guid>674e5fe1-0e07-441f-b67f-df7957ed4471</d2p1:guid>
</MatchedUsers>
<MaxFlightTime>1</MaxFlightTime>
<MaxReleaseHeight>1</MaxReleaseHeight>
<MinFlightTime>1</MinFlightTime>
<MinReleaseHeight>1</MinReleaseHeight>
<Name>sample string 3</Name>
<NegateListedAircraft>true</NegateListedAircraft>
<NegateListedFlightTypes>true</NegateListedFlightTypes>
<NegateListedStartTypes>true</NegateListedStartTypes>
<NegateListedUsers>true</NegateListedUsers>
<RuleData>sample string 12</RuleData>
</BillingRuleDetails>