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": "8daeac4a-90d0-4f48-a81b-92655c50963b",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"cc13bbc2-5d09-453a-9a5a-8077d1c6b0d5",
"d7eff51e-5aa8-41bb-9d7d-f2e4d5e7a034"
],
"CumulativeRules": [
"8888603e-bd9e-4d4c-a311-c0b4bd837add",
"ae32e56c-8c97-49f2-aebb-63c018e2f477"
],
"Id": "8daeac4a-90d0-4f48-a81b-92655c50963b",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"8daeac4a-90d0-4f48-a81b-92655c50963b","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["cc13bbc2-5d09-453a-9a5a-8077d1c6b0d5","d7eff51e-5aa8-41bb-9d7d-f2e4d5e7a034"],"CumulativeRules":["8888603e-bd9e-4d4c-a311-c0b4bd837add","ae32e56c-8c97-49f2-aebb-63c018e2f477"],"Id":"8daeac4a-90d0-4f48-a81b-92655c50963b","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">8daeac4a-90d0-4f48-a81b-92655c50963b</Id>
<BillingId>8daeac4a-90d0-4f48-a81b-92655c50963b</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8888603e-bd9e-4d4c-a311-c0b4bd837add</d2p1:guid>
<d2p1:guid>ae32e56c-8c97-49f2-aebb-63c018e2f477</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>cc13bbc2-5d09-453a-9a5a-8077d1c6b0d5</d2p1:guid>
<d2p1:guid>d7eff51e-5aa8-41bb-9d7d-f2e4d5e7a034</d2p1:guid>
</Rules>
</BillingDetails>