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": "2ff61a90-b5bf-4cc0-9e77-60bf242b53da",
"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": [
"387f0236-33f3-4ec2-81db-95e14ba06aba",
"93d0d026-110c-4641-b747-615b16953a32"
],
"MatchedStartTypes": [
1,
2
],
"MatchedUsers": [
"1de32709-e041-43c9-9bb7-ba2de5435338",
"559690b2-f6f1-4e3b-a081-92168d8685d0"
],
"MatchedFlightTypes": [
"60d4ecf2-6e08-4827-8eb3-44821fff8776",
"2e15017c-874c-4adc-a773-87c5bbb4ec20"
],
"Id": "2ff61a90-b5bf-4cc0-9e77-60bf242b53da",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingRuleId":"2ff61a90-b5bf-4cc0-9e77-60bf242b53da","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":["387f0236-33f3-4ec2-81db-95e14ba06aba","93d0d026-110c-4641-b747-615b16953a32"],"MatchedStartTypes":[1,2],"MatchedUsers":["1de32709-e041-43c9-9bb7-ba2de5435338","559690b2-f6f1-4e3b-a081-92168d8685d0"],"MatchedFlightTypes":["60d4ecf2-6e08-4827-8eb3-44821fff8776","2e15017c-874c-4adc-a773-87c5bbb4ec20"],"Id":"2ff61a90-b5bf-4cc0-9e77-60bf242b53da","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">2ff61a90-b5bf-4cc0-9e77-60bf242b53da</Id>
<BillingRuleId>2ff61a90-b5bf-4cc0-9e77-60bf242b53da</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>387f0236-33f3-4ec2-81db-95e14ba06aba</d2p1:guid>
<d2p1:guid>93d0d026-110c-4641-b747-615b16953a32</d2p1:guid>
</MatchedAircraft>
<MatchedFlightTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>60d4ecf2-6e08-4827-8eb3-44821fff8776</d2p1:guid>
<d2p1:guid>2e15017c-874c-4adc-a773-87c5bbb4ec20</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>1de32709-e041-43c9-9bb7-ba2de5435338</d2p1:guid>
<d2p1:guid>559690b2-f6f1-4e3b-a081-92168d8685d0</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>