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
BillingDetailsName | 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": "c4da12f8-688d-4b1e-bea1-38e69001d930", "Name": "sample string 2", "Description": "sample string 3", "IsForGliderFlights": true, "IsForMotorFlights": true, "IsForTowFlights": true, "Rules": [ "86fbe1aa-0ded-48dd-a482-cf5b7d20e0f7", "d9b0dcc7-01cb-4eea-9e1c-99b4447595ed" ], "CumulativeRules": [ "945117da-75b2-4a2c-bba8-82a003d561d7", "a730164f-82bf-47b7-a09d-e4f0e4bd6d15" ], "Id": "c4da12f8-688d-4b1e-bea1-38e69001d930", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"BillingId":"c4da12f8-688d-4b1e-bea1-38e69001d930","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["86fbe1aa-0ded-48dd-a482-cf5b7d20e0f7","d9b0dcc7-01cb-4eea-9e1c-99b4447595ed"],"CumulativeRules":["945117da-75b2-4a2c-bba8-82a003d561d7","a730164f-82bf-47b7-a09d-e4f0e4bd6d15"],"Id":"c4da12f8-688d-4b1e-bea1-38e69001d930","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">c4da12f8-688d-4b1e-bea1-38e69001d930</Id> <BillingId>c4da12f8-688d-4b1e-bea1-38e69001d930</BillingId> <CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>945117da-75b2-4a2c-bba8-82a003d561d7</d2p1:guid> <d2p1:guid>a730164f-82bf-47b7-a09d-e4f0e4bd6d15</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>86fbe1aa-0ded-48dd-a482-cf5b7d20e0f7</d2p1:guid> <d2p1:guid>d9b0dcc7-01cb-4eea-9e1c-99b4447595ed</d2p1:guid> </Rules> </BillingDetails>