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": "4ec79083-539b-486b-9473-f92453046004",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"a1384fc7-998c-4d1f-96a5-7045f5d52609",
"da15f233-7b64-4e3f-9b2c-bac594bf718e"
],
"CumulativeRules": [
"9445c4e5-d36d-4996-a110-7874a50a7891",
"375e4143-cd86-49c9-bf66-3daec7458aac"
],
"Id": "4ec79083-539b-486b-9473-f92453046004",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"4ec79083-539b-486b-9473-f92453046004","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["a1384fc7-998c-4d1f-96a5-7045f5d52609","da15f233-7b64-4e3f-9b2c-bac594bf718e"],"CumulativeRules":["9445c4e5-d36d-4996-a110-7874a50a7891","375e4143-cd86-49c9-bf66-3daec7458aac"],"Id":"4ec79083-539b-486b-9473-f92453046004","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">4ec79083-539b-486b-9473-f92453046004</Id>
<BillingId>4ec79083-539b-486b-9473-f92453046004</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9445c4e5-d36d-4996-a110-7874a50a7891</d2p1:guid>
<d2p1:guid>375e4143-cd86-49c9-bf66-3daec7458aac</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>a1384fc7-998c-4d1f-96a5-7045f5d52609</d2p1:guid>
<d2p1:guid>da15f233-7b64-4e3f-9b2c-bac594bf718e</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": "71ba5b31-6d11-4e50-a398-97f703bf0599",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"5e28eaca-8fd7-4cf6-ae03-1a5ff3c08f73",
"61106b4d-716f-45b3-a570-f780a6d7d08f"
],
"CumulativeRules": [
"2d1985e5-25ad-4669-bf6d-b18413a20b1c",
"dc0ebe38-5340-45b5-a5a3-7c300f469e09"
],
"Id": "71ba5b31-6d11-4e50-a398-97f703bf0599",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"71ba5b31-6d11-4e50-a398-97f703bf0599","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["5e28eaca-8fd7-4cf6-ae03-1a5ff3c08f73","61106b4d-716f-45b3-a570-f780a6d7d08f"],"CumulativeRules":["2d1985e5-25ad-4669-bf6d-b18413a20b1c","dc0ebe38-5340-45b5-a5a3-7c300f469e09"],"Id":"71ba5b31-6d11-4e50-a398-97f703bf0599","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">71ba5b31-6d11-4e50-a398-97f703bf0599</Id>
<BillingId>71ba5b31-6d11-4e50-a398-97f703bf0599</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2d1985e5-25ad-4669-bf6d-b18413a20b1c</d2p1:guid>
<d2p1:guid>dc0ebe38-5340-45b5-a5a3-7c300f469e09</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>5e28eaca-8fd7-4cf6-ae03-1a5ff3c08f73</d2p1:guid>
<d2p1:guid>61106b4d-716f-45b3-a570-f780a6d7d08f</d2p1:guid>
</Rules>
</BillingDetails>