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
BillingRuleDetailsName | 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": "a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202", "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": [ "9c00471f-5d0f-4cbd-9a3d-bf292280f1bd", "1a26a8ec-c834-4a58-9988-c9cc024a1052" ], "MatchedStartTypes": [ 1, 2 ], "MatchedUsers": [ "3203d30b-b3ee-41e0-b58e-e62b41fbb899", "8ce3df1f-277a-444c-b705-90b192e8894b" ], "MatchedFlightTypes": [ "32e92d96-2163-4729-9156-77cc9affb704", "427fa7ed-5319-4f1d-bbda-1bfe5f313fdb" ], "Id": "a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"BillingRuleId":"a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202","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":["9c00471f-5d0f-4cbd-9a3d-bf292280f1bd","1a26a8ec-c834-4a58-9988-c9cc024a1052"],"MatchedStartTypes":[1,2],"MatchedUsers":["3203d30b-b3ee-41e0-b58e-e62b41fbb899","8ce3df1f-277a-444c-b705-90b192e8894b"],"MatchedFlightTypes":["32e92d96-2163-4729-9156-77cc9affb704","427fa7ed-5319-4f1d-bbda-1bfe5f313fdb"],"Id":"a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202","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">a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202</Id> <BillingRuleId>a5e6c7f0-d1e4-4b9c-98c7-3b3d16ac4202</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>9c00471f-5d0f-4cbd-9a3d-bf292280f1bd</d2p1:guid> <d2p1:guid>1a26a8ec-c834-4a58-9988-c9cc024a1052</d2p1:guid> </MatchedAircraft> <MatchedFlightTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>32e92d96-2163-4729-9156-77cc9affb704</d2p1:guid> <d2p1:guid>427fa7ed-5319-4f1d-bbda-1bfe5f313fdb</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>3203d30b-b3ee-41e0-b58e-e62b41fbb899</d2p1:guid> <d2p1:guid>8ce3df1f-277a-444c-b705-90b192e8894b</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>