GET api/v1/deliverycreationtests/testdeliveryforflight/{flightId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flightId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
DeliveryCreationResultName | Description | Type | Additional information |
---|---|---|---|
FlightId | globally unique identifier |
None. |
|
CreatedDeliveryDetails | DeliveryDetails |
None. |
|
MatchedAccountingRuleFilterIds | Collection of globally unique identifier |
None. |
|
MatchedAccountingRuleFilters | Collection of AccountingRuleFilterOverview |
None. |
Response Formats
application/json, text/json
Sample:
{ "FlightId": "fadb58f4-c002-4761-9803-3db75832a2b2", "CreatedDeliveryDetails": { "DeliveryId": "75e89220-2c58-4f31-8c90-b56eeeedd7bd", "FlightInformation": { "FlightId": "40cbcfce-6e23-4434-95f8-c658a4bc7e1e", "FlightDate": "2025-04-04T03:31:50.9196276+02:00", "AircraftImmatriculation": "sample string 3", "FlightTypeName": "sample string 4", "PilotName": "sample string 5", "PilotPersonClubMemberNumber": "sample string 6", "SecondCrewName": "sample string 7" }, "RecipientDetails": { "PersonId": "6aae82f7-3b82-4d5f-b756-099f5678f431", "RecipientName": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "AddressLine1": "sample string 4", "AddressLine2": "sample string 5", "ZipCode": "sample string 6", "City": "sample string 7", "CountryName": "sample string 8", "PersonClubMemberNumber": "sample string 9" }, "DeliveryInformation": "sample string 2", "AdditionalInformation": "sample string 3", "DeliveryItems": [ { "DeliveryItemId": "600d1807-8695-4802-9a66-55c1ab1d61cd", "Position": 2, "ArticleNumber": "sample string 3", "ItemText": "sample string 4", "AdditionalInformation": "sample string 5", "Quantity": 6.0, "DiscountInPercent": 7, "UnitType": "sample string 8", "Id": "600d1807-8695-4802-9a66-55c1ab1d61cd", "CanUpdateRecord": true, "CanDeleteRecord": true }, { "DeliveryItemId": "600d1807-8695-4802-9a66-55c1ab1d61cd", "Position": 2, "ArticleNumber": "sample string 3", "ItemText": "sample string 4", "AdditionalInformation": "sample string 5", "Quantity": 6.0, "DiscountInPercent": 7, "UnitType": "sample string 8", "Id": "600d1807-8695-4802-9a66-55c1ab1d61cd", "CanUpdateRecord": true, "CanDeleteRecord": true } ], "DeliveryNumber": "sample string 4", "DeliveredOn": "2025-04-04T03:31:50.9196276+02:00", "IsFurtherProcessed": true, "Id": "75e89220-2c58-4f31-8c90-b56eeeedd7bd", "CanUpdateRecord": true, "CanDeleteRecord": true }, "MatchedAccountingRuleFilterIds": [ "6da5cb3f-1175-49f0-a285-56e6cbf97270", "12fe1e3e-1bb3-4b10-887f-0607c1c6ac99" ], "MatchedAccountingRuleFilters": [ { "AccountingRuleFilterId": "cc91076d-b217-4414-a5c7-3c40e9c51877", "RuleFilterName": "sample string 2", "Target": "sample string 3", "Description": "sample string 4", "IsActive": true, "SortIndicator": 6, "AccountingRuleFilterTypeName": "sample string 7", "Id": "cc91076d-b217-4414-a5c7-3c40e9c51877", "CanUpdateRecord": true, "CanDeleteRecord": true }, { "AccountingRuleFilterId": "cc91076d-b217-4414-a5c7-3c40e9c51877", "RuleFilterName": "sample string 2", "Target": "sample string 3", "Description": "sample string 4", "IsActive": true, "SortIndicator": 6, "AccountingRuleFilterTypeName": "sample string 7", "Id": "cc91076d-b217-4414-a5c7-3c40e9c51877", "CanUpdateRecord": true, "CanDeleteRecord": true } ] }
text/html
Sample:
{"FlightId":"fadb58f4-c002-4761-9803-3db75832a2b2","CreatedDeliveryDetails":{"DeliveryId":"75e89220-2c58-4f31-8c90-b56eeeedd7bd","FlightInformation":{"FlightId":"40cbcfce-6e23-4434-95f8-c658a4bc7e1e","FlightDate":"2025-04-04T03:31:50.9196276+02:00","AircraftImmatriculation":"sample string 3","FlightTypeName":"sample string 4","PilotName":"sample string 5","PilotPersonClubMemberNumber":"sample string 6","SecondCrewName":"sample string 7"},"RecipientDetails":{"PersonId":"6aae82f7-3b82-4d5f-b756-099f5678f431","RecipientName":"sample string 1","Firstname":"sample string 2","Lastname":"sample string 3","AddressLine1":"sample string 4","AddressLine2":"sample string 5","ZipCode":"sample string 6","City":"sample string 7","CountryName":"sample string 8","PersonClubMemberNumber":"sample string 9"},"DeliveryInformation":"sample string 2","AdditionalInformation":"sample string 3","DeliveryItems":[{"DeliveryItemId":"600d1807-8695-4802-9a66-55c1ab1d61cd","Position":2,"ArticleNumber":"sample string 3","ItemText":"sample string 4","AdditionalInformation":"sample string 5","Quantity":6.0,"DiscountInPercent":7,"UnitType":"sample string 8","Id":"600d1807-8695-4802-9a66-55c1ab1d61cd","CanUpdateRecord":true,"CanDeleteRecord":true},{"DeliveryItemId":"600d1807-8695-4802-9a66-55c1ab1d61cd","Position":2,"ArticleNumber":"sample string 3","ItemText":"sample string 4","AdditionalInformation":"sample string 5","Quantity":6.0,"DiscountInPercent":7,"UnitType":"sample string 8","Id":"600d1807-8695-4802-9a66-55c1ab1d61cd","CanUpdateRecord":true,"CanDeleteRecord":true}],"DeliveryNumber":"sample string 4","DeliveredOn":"2025-04-04T03:31:50.9196276+02:00","IsFurtherProcessed":true,"Id":"75e89220-2c58-4f31-8c90-b56eeeedd7bd","CanUpdateRecord":true,"CanDeleteRecord":true},"MatchedAccountingRuleFilterIds":["6da5cb3f-1175-49f0-a285-56e6cbf97270","12fe1e3e-1bb3-4b10-887f-0607c1c6ac99"],"MatchedAccountingRuleFilters":[{"AccountingRuleFilterId":"cc91076d-b217-4414-a5c7-3c40e9c51877","RuleFilterName":"sample string 2","Target":"sample string 3","Description":"sample string 4","IsActive":true,"SortIndicator":6,"AccountingRuleFilterTypeName":"sample string 7","Id":"cc91076d-b217-4414-a5c7-3c40e9c51877","CanUpdateRecord":true,"CanDeleteRecord":true},{"AccountingRuleFilterId":"cc91076d-b217-4414-a5c7-3c40e9c51877","RuleFilterName":"sample string 2","Target":"sample string 3","Description":"sample string 4","IsActive":true,"SortIndicator":6,"AccountingRuleFilterTypeName":"sample string 7","Id":"cc91076d-b217-4414-a5c7-3c40e9c51877","CanUpdateRecord":true,"CanDeleteRecord":true}]}
application/xml, text/xml
Sample:
<DeliveryCreationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Accounting.Testing"> <CreatedDeliveryDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Accounting"> <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">75e89220-2c58-4f31-8c90-b56eeeedd7bd</Id> <d2p1:AdditionalInformation>sample string 3</d2p1:AdditionalInformation> <d2p1:DeliveredOn>2025-04-04T03:31:50.9196276+02:00</d2p1:DeliveredOn> <d2p1:DeliveryId>75e89220-2c58-4f31-8c90-b56eeeedd7bd</d2p1:DeliveryId> <d2p1:DeliveryInformation>sample string 2</d2p1:DeliveryInformation> <d2p1:DeliveryItems> <d2p1:DeliveryItemDetails> <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">600d1807-8695-4802-9a66-55c1ab1d61cd</Id> <d2p1:AdditionalInformation>sample string 5</d2p1:AdditionalInformation> <d2p1:ArticleNumber>sample string 3</d2p1:ArticleNumber> <d2p1:DeliveryItemId>600d1807-8695-4802-9a66-55c1ab1d61cd</d2p1:DeliveryItemId> <d2p1:DiscountInPercent>7</d2p1:DiscountInPercent> <d2p1:ItemText>sample string 4</d2p1:ItemText> <d2p1:Position>2</d2p1:Position> <d2p1:Quantity>6</d2p1:Quantity> <d2p1:UnitType>sample string 8</d2p1:UnitType> </d2p1:DeliveryItemDetails> <d2p1:DeliveryItemDetails> <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">600d1807-8695-4802-9a66-55c1ab1d61cd</Id> <d2p1:AdditionalInformation>sample string 5</d2p1:AdditionalInformation> <d2p1:ArticleNumber>sample string 3</d2p1:ArticleNumber> <d2p1:DeliveryItemId>600d1807-8695-4802-9a66-55c1ab1d61cd</d2p1:DeliveryItemId> <d2p1:DiscountInPercent>7</d2p1:DiscountInPercent> <d2p1:ItemText>sample string 4</d2p1:ItemText> <d2p1:Position>2</d2p1:Position> <d2p1:Quantity>6</d2p1:Quantity> <d2p1:UnitType>sample string 8</d2p1:UnitType> </d2p1:DeliveryItemDetails> </d2p1:DeliveryItems> <d2p1:DeliveryNumber>sample string 4</d2p1:DeliveryNumber> <d2p1:FlightInformation> <d2p1:AircraftImmatriculation>sample string 3</d2p1:AircraftImmatriculation> <d2p1:FlightDate>2025-04-04T03:31:50.9196276+02:00</d2p1:FlightDate> <d2p1:FlightId>40cbcfce-6e23-4434-95f8-c658a4bc7e1e</d2p1:FlightId> <d2p1:FlightTypeName>sample string 4</d2p1:FlightTypeName> <d2p1:PilotName>sample string 5</d2p1:PilotName> <d2p1:PilotPersonClubMemberNumber>sample string 6</d2p1:PilotPersonClubMemberNumber> <d2p1:SecondCrewName>sample string 7</d2p1:SecondCrewName> </d2p1:FlightInformation> <d2p1:IsFurtherProcessed>true</d2p1:IsFurtherProcessed> <d2p1:RecipientDetails> <d2p1:AddressLine1>sample string 4</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 5</d2p1:AddressLine2> <d2p1:City>sample string 7</d2p1:City> <d2p1:CountryName>sample string 8</d2p1:CountryName> <d2p1:Firstname>sample string 2</d2p1:Firstname> <d2p1:Lastname>sample string 3</d2p1:Lastname> <d2p1:PersonClubMemberNumber>sample string 9</d2p1:PersonClubMemberNumber> <d2p1:PersonId>6aae82f7-3b82-4d5f-b756-099f5678f431</d2p1:PersonId> <d2p1:RecipientName>sample string 1</d2p1:RecipientName> <d2p1:ZipCode>sample string 6</d2p1:ZipCode> </d2p1:RecipientDetails> </CreatedDeliveryDetails> <FlightId>fadb58f4-c002-4761-9803-3db75832a2b2</FlightId> <MatchedAccountingRuleFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>6da5cb3f-1175-49f0-a285-56e6cbf97270</d2p1:guid> <d2p1:guid>12fe1e3e-1bb3-4b10-887f-0607c1c6ac99</d2p1:guid> </MatchedAccountingRuleFilterIds> <MatchedAccountingRuleFilters xmlns:d2p1="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Accounting.RuleFilters"> <d2p1:AccountingRuleFilterOverview> <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">cc91076d-b217-4414-a5c7-3c40e9c51877</Id> <d2p1:AccountingRuleFilterId>cc91076d-b217-4414-a5c7-3c40e9c51877</d2p1:AccountingRuleFilterId> <d2p1:AccountingRuleFilterTypeName>sample string 7</d2p1:AccountingRuleFilterTypeName> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:RuleFilterName>sample string 2</d2p1:RuleFilterName> <d2p1:SortIndicator>6</d2p1:SortIndicator> <d2p1:Target>sample string 3</d2p1:Target> </d2p1:AccountingRuleFilterOverview> <d2p1:AccountingRuleFilterOverview> <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">cc91076d-b217-4414-a5c7-3c40e9c51877</Id> <d2p1:AccountingRuleFilterId>cc91076d-b217-4414-a5c7-3c40e9c51877</d2p1:AccountingRuleFilterId> <d2p1:AccountingRuleFilterTypeName>sample string 7</d2p1:AccountingRuleFilterTypeName> <d2p1:Description>sample string 4</d2p1:Description> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:RuleFilterName>sample string 2</d2p1:RuleFilterName> <d2p1:SortIndicator>6</d2p1:SortIndicator> <d2p1:Target>sample string 3</d2p1:Target> </d2p1:AccountingRuleFilterOverview> </MatchedAccountingRuleFilters> </DeliveryCreationResult>