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": "866a3cc5-7042-4823-8e79-7553f9427c6b",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"04d00c43-db98-48e1-98b2-d274c29627fd",
"172c33f8-45ad-445b-9d67-70ebd222ad09"
],
"CumulativeRules": [
"ade3e20d-6b11-4985-83a3-027688fbe07f",
"de00e2fa-ed47-4707-994e-4423dbbffe24"
],
"Id": "866a3cc5-7042-4823-8e79-7553f9427c6b",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"866a3cc5-7042-4823-8e79-7553f9427c6b","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["04d00c43-db98-48e1-98b2-d274c29627fd","172c33f8-45ad-445b-9d67-70ebd222ad09"],"CumulativeRules":["ade3e20d-6b11-4985-83a3-027688fbe07f","de00e2fa-ed47-4707-994e-4423dbbffe24"],"Id":"866a3cc5-7042-4823-8e79-7553f9427c6b","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">866a3cc5-7042-4823-8e79-7553f9427c6b</Id>
<BillingId>866a3cc5-7042-4823-8e79-7553f9427c6b</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ade3e20d-6b11-4985-83a3-027688fbe07f</d2p1:guid>
<d2p1:guid>de00e2fa-ed47-4707-994e-4423dbbffe24</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>04d00c43-db98-48e1-98b2-d274c29627fd</d2p1:guid>
<d2p1:guid>172c33f8-45ad-445b-9d67-70ebd222ad09</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": "a789cbbd-ab17-478a-a681-aa818ce63190",
"Name": "sample string 2",
"Description": "sample string 3",
"IsForGliderFlights": true,
"IsForMotorFlights": true,
"IsForTowFlights": true,
"Rules": [
"358f8eba-439f-4e2a-88e3-c6e04a85b8be",
"f4bf6f10-229f-4fbf-9502-9b7ce08d4ae1"
],
"CumulativeRules": [
"fcb9ee5d-7713-4df8-9090-f00d600c3311",
"6eb1d6ab-be08-4b5c-b084-f4459c059d40"
],
"Id": "a789cbbd-ab17-478a-a681-aa818ce63190",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"BillingId":"a789cbbd-ab17-478a-a681-aa818ce63190","Name":"sample string 2","Description":"sample string 3","IsForGliderFlights":true,"IsForMotorFlights":true,"IsForTowFlights":true,"Rules":["358f8eba-439f-4e2a-88e3-c6e04a85b8be","f4bf6f10-229f-4fbf-9502-9b7ce08d4ae1"],"CumulativeRules":["fcb9ee5d-7713-4df8-9090-f00d600c3311","6eb1d6ab-be08-4b5c-b084-f4459c059d40"],"Id":"a789cbbd-ab17-478a-a681-aa818ce63190","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">a789cbbd-ab17-478a-a681-aa818ce63190</Id>
<BillingId>a789cbbd-ab17-478a-a681-aa818ce63190</BillingId>
<CumulativeRules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fcb9ee5d-7713-4df8-9090-f00d600c3311</d2p1:guid>
<d2p1:guid>6eb1d6ab-be08-4b5c-b084-f4459c059d40</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>358f8eba-439f-4e2a-88e3-c6e04a85b8be</d2p1:guid>
<d2p1:guid>f4bf6f10-229f-4fbf-9502-9b7ce08d4ae1</d2p1:guid>
</Rules>
</BillingDetails>