GET api/v1/billing/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
BillingDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| BillingId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| IsForGliderFlights | boolean |
None. |
|
| IsForMotorFlights | boolean |
None. |
|
| IsForTowFlights | boolean |
None. |
|
| Rules | Collection of globally unique identifier |
None. |
|
| CumulativeRules | Collection of globally unique identifier |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"BillingId": "1c2522f2-ae75-4429-a799-71afa984e570",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"6825c588-0926-42f5-98e7-0c3231ac9694",
"7887f561-1482-4768-9f7c-a8413dcdf8d4"
],
"CumulativeRules": [
"b6e24dd0-06d1-42dd-b1af-16103ef3e228",
"e7b06f64-048a-48b5-bfe4-b610fd3f6d0d"
],
"Id": "1c2522f2-ae75-4429-a799-71afa984e570",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"1c2522f2-ae75-4429-a799-71afa984e570","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["6825c588-0926-42f5-98e7-0c3231ac9694","7887f561-1482-4768-9f7c-a8413dcdf8d4"],"CumulativeRules":["b6e24dd0-06d1-42dd-b1af-16103ef3e228","e7b06f64-048a-48b5-bfe4-b610fd3f6d0d"],"Id":"1c2522f2-ae75-4429-a799-71afa984e570","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<BillingDetails 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">1c2522f2-ae75-4429-a799-71afa984e570</Id>
<BillingId>1c2522f2-ae75-4429-a799-71afa984e570</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b6e24dd0-06d1-42dd-b1af-16103ef3e228</d2p1:guid>
<d2p1:guid>e7b06f64-048a-48b5-bfe4-b610fd3f6d0d</d2p1:guid>
</CumulativeRules>
<Description>sample string 3</Description>
<IsForGliderFlights>true</IsForGliderFlights>
<IsForMotorFlights>true</IsForMotorFlights>
<IsForTowFlights>true</IsForTowFlights>
<Name>sample string 2</Name>
<Rules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6825c588-0926-42f5-98e7-0c3231ac9694</d2p1:guid>
<d2p1:guid>7887f561-1482-4768-9f7c-a8413dcdf8d4</d2p1:guid>
</Rules>
</BillingDetails>