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": "6cb5fbec-9539-4251-8f26-0c8616dbb2e1",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"b2e4192b-7f55-4c60-b1c0-d7a25922b8d4",
"3be7e808-ee86-4b13-b871-1656677b4abf"
],
"CumulativeRules": [
"e6f32fd7-bd46-46b8-95fc-b91d1b151348",
"ac00a053-a015-4a2c-b7a3-3544c686ddda"
],
"Id": "6cb5fbec-9539-4251-8f26-0c8616dbb2e1",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"6cb5fbec-9539-4251-8f26-0c8616dbb2e1","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["b2e4192b-7f55-4c60-b1c0-d7a25922b8d4","3be7e808-ee86-4b13-b871-1656677b4abf"],"CumulativeRules":["e6f32fd7-bd46-46b8-95fc-b91d1b151348","ac00a053-a015-4a2c-b7a3-3544c686ddda"],"Id":"6cb5fbec-9539-4251-8f26-0c8616dbb2e1","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">6cb5fbec-9539-4251-8f26-0c8616dbb2e1</Id>
<BillingId>6cb5fbec-9539-4251-8f26-0c8616dbb2e1</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e6f32fd7-bd46-46b8-95fc-b91d1b151348</d2p1:guid>
<d2p1:guid>ac00a053-a015-4a2c-b7a3-3544c686ddda</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>b2e4192b-7f55-4c60-b1c0-d7a25922b8d4</d2p1:guid>
<d2p1:guid>3be7e808-ee86-4b13-b871-1656677b4abf</d2p1:guid>
</Rules>
</BillingDetails>