PUT api/v1/billing/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"BillingId": "176db12f-e328-4472-aef6-ff29987a9154",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"b10d0fc4-1cd5-4cd7-804c-f90bd1d0004a",
"a1f294de-479e-44d2-9682-423eb67a67a3"
],
"CumulativeRules": [
"93074b51-d434-4be8-9e7a-8950ec6e5158",
"82d37674-9889-473c-9147-018467343c63"
],
"Id": "176db12f-e328-4472-aef6-ff29987a9154",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"176db12f-e328-4472-aef6-ff29987a9154","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["b10d0fc4-1cd5-4cd7-804c-f90bd1d0004a","a1f294de-479e-44d2-9682-423eb67a67a3"],"CumulativeRules":["93074b51-d434-4be8-9e7a-8950ec6e5158","82d37674-9889-473c-9147-018467343c63"],"Id":"176db12f-e328-4472-aef6-ff29987a9154","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">176db12f-e328-4472-aef6-ff29987a9154</Id>
<BillingId>176db12f-e328-4472-aef6-ff29987a9154</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>93074b51-d434-4be8-9e7a-8950ec6e5158</d2p1:guid>
<d2p1:guid>82d37674-9889-473c-9147-018467343c63</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>b10d0fc4-1cd5-4cd7-804c-f90bd1d0004a</d2p1:guid>
<d2p1:guid>a1f294de-479e-44d2-9682-423eb67a67a3</d2p1:guid>
</Rules>
</BillingDetails>
application/x-www-form-urlencoded
Sample:
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": "c519ea33-e759-4609-81dd-c63583281d88",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"9334e620-0c01-48d0-8842-eee93a5dce7d",
"692942fc-f1f6-4db4-940a-765c5208866b"
],
"CumulativeRules": [
"7078112b-ef79-451c-8a96-49626066bbe0",
"8d9f374f-bf08-4281-884c-4a7895e2b675"
],
"Id": "c519ea33-e759-4609-81dd-c63583281d88",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"c519ea33-e759-4609-81dd-c63583281d88","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["9334e620-0c01-48d0-8842-eee93a5dce7d","692942fc-f1f6-4db4-940a-765c5208866b"],"CumulativeRules":["7078112b-ef79-451c-8a96-49626066bbe0","8d9f374f-bf08-4281-884c-4a7895e2b675"],"Id":"c519ea33-e759-4609-81dd-c63583281d88","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">c519ea33-e759-4609-81dd-c63583281d88</Id>
<BillingId>c519ea33-e759-4609-81dd-c63583281d88</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>7078112b-ef79-451c-8a96-49626066bbe0</d2p1:guid>
<d2p1:guid>8d9f374f-bf08-4281-884c-4a7895e2b675</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>9334e620-0c01-48d0-8842-eee93a5dce7d</d2p1:guid>
<d2p1:guid>692942fc-f1f6-4db4-940a-765c5208866b</d2p1:guid>
</Rules>
</BillingDetails>