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": "a0004e06-0d81-48a2-ad4c-01323e8e1f75",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"36489a4e-75ca-48ac-b07b-f388081a7c53",
"f71383ac-a332-4938-8647-47847a304edf"
],
"CumulativeRules": [
"2f620db1-7e31-4429-833f-579f909f36fc",
"8f82d3d0-b538-48a0-9c60-b20733536ff4"
],
"Id": "a0004e06-0d81-48a2-ad4c-01323e8e1f75",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"a0004e06-0d81-48a2-ad4c-01323e8e1f75","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["36489a4e-75ca-48ac-b07b-f388081a7c53","f71383ac-a332-4938-8647-47847a304edf"],"CumulativeRules":["2f620db1-7e31-4429-833f-579f909f36fc","8f82d3d0-b538-48a0-9c60-b20733536ff4"],"Id":"a0004e06-0d81-48a2-ad4c-01323e8e1f75","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">a0004e06-0d81-48a2-ad4c-01323e8e1f75</Id>
<BillingId>a0004e06-0d81-48a2-ad4c-01323e8e1f75</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2f620db1-7e31-4429-833f-579f909f36fc</d2p1:guid>
<d2p1:guid>8f82d3d0-b538-48a0-9c60-b20733536ff4</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>36489a4e-75ca-48ac-b07b-f388081a7c53</d2p1:guid>
<d2p1:guid>f71383ac-a332-4938-8647-47847a304edf</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": "fad210d8-42a6-4e60-bc94-c090c8acfa1f",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"98c5a35a-ed1b-4cda-ba34-2a918055f846",
"443fa031-2239-406d-ba87-6f00cc0120b5"
],
"CumulativeRules": [
"bd5fd02a-fd57-4db0-9468-8f164625cfca",
"cf59c705-282f-4a34-9e03-a3ce419d77eb"
],
"Id": "fad210d8-42a6-4e60-bc94-c090c8acfa1f",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"fad210d8-42a6-4e60-bc94-c090c8acfa1f","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["98c5a35a-ed1b-4cda-ba34-2a918055f846","443fa031-2239-406d-ba87-6f00cc0120b5"],"CumulativeRules":["bd5fd02a-fd57-4db0-9468-8f164625cfca","cf59c705-282f-4a34-9e03-a3ce419d77eb"],"Id":"fad210d8-42a6-4e60-bc94-c090c8acfa1f","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">fad210d8-42a6-4e60-bc94-c090c8acfa1f</Id>
<BillingId>fad210d8-42a6-4e60-bc94-c090c8acfa1f</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bd5fd02a-fd57-4db0-9468-8f164625cfca</d2p1:guid>
<d2p1:guid>cf59c705-282f-4a34-9e03-a3ce419d77eb</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>98c5a35a-ed1b-4cda-ba34-2a918055f846</d2p1:guid>
<d2p1:guid>443fa031-2239-406d-ba87-6f00cc0120b5</d2p1:guid>
</Rules>
</BillingDetails>