GET api/v1/deliverycreationtests/testdeliveryforflight/{flightId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

DeliveryCreationResult
NameDescriptionTypeAdditional 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": "788253cc-8f3a-450e-98b4-bba21e61b2dc",
  "CreatedDeliveryDetails": {
    "DeliveryId": "adf95b35-9134-48c9-a09f-5b01a6a15bfb",
    "FlightInformation": {
      "FlightId": "e7a930dc-d483-4976-90e3-be69f39856d6",
      "FlightDate": "2019-10-15T19:17:52.8117416+02:00",
      "AircraftImmatriculation": "sample string 3",
      "FlightTypeName": "sample string 4",
      "PilotName": "sample string 5",
      "PilotPersonClubMemberNumber": "sample string 6",
      "SecondCrewName": "sample string 7"
    },
    "RecipientDetails": {
      "PersonId": "5b616a2e-6369-4b51-bbd6-769674d4d0bb",
      "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": "b3f58894-9197-4b58-9e7a-86e3cd82f55b",
        "Position": 2,
        "ArticleNumber": "sample string 3",
        "ItemText": "sample string 4",
        "AdditionalInformation": "sample string 5",
        "Quantity": 6.0,
        "DiscountInPercent": 7,
        "UnitType": "sample string 8",
        "Id": "b3f58894-9197-4b58-9e7a-86e3cd82f55b",
        "CanUpdateRecord": true,
        "CanDeleteRecord": true
      },
      {
        "DeliveryItemId": "b3f58894-9197-4b58-9e7a-86e3cd82f55b",
        "Position": 2,
        "ArticleNumber": "sample string 3",
        "ItemText": "sample string 4",
        "AdditionalInformation": "sample string 5",
        "Quantity": 6.0,
        "DiscountInPercent": 7,
        "UnitType": "sample string 8",
        "Id": "b3f58894-9197-4b58-9e7a-86e3cd82f55b",
        "CanUpdateRecord": true,
        "CanDeleteRecord": true
      }
    ],
    "DeliveryNumber": "sample string 4",
    "DeliveredOn": "2019-10-15T19:17:52.8117416+02:00",
    "IsFurtherProcessed": true,
    "Id": "adf95b35-9134-48c9-a09f-5b01a6a15bfb",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MatchedAccountingRuleFilterIds": [
    "28097e31-aaa5-48a0-8d30-ba3f31666462",
    "9550f8a6-d34a-4575-8275-88e0161dde38"
  ],
  "MatchedAccountingRuleFilters": [
    {
      "AccountingRuleFilterId": "a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06",
      "RuleFilterName": "sample string 2",
      "Target": "sample string 3",
      "Description": "sample string 4",
      "IsActive": true,
      "SortIndicator": 6,
      "AccountingRuleFilterTypeName": "sample string 7",
      "Id": "a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06",
      "CanUpdateRecord": true,
      "CanDeleteRecord": true
    },
    {
      "AccountingRuleFilterId": "a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06",
      "RuleFilterName": "sample string 2",
      "Target": "sample string 3",
      "Description": "sample string 4",
      "IsActive": true,
      "SortIndicator": 6,
      "AccountingRuleFilterTypeName": "sample string 7",
      "Id": "a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06",
      "CanUpdateRecord": true,
      "CanDeleteRecord": true
    }
  ]
}

text/html

Sample:
{"FlightId":"788253cc-8f3a-450e-98b4-bba21e61b2dc","CreatedDeliveryDetails":{"DeliveryId":"adf95b35-9134-48c9-a09f-5b01a6a15bfb","FlightInformation":{"FlightId":"e7a930dc-d483-4976-90e3-be69f39856d6","FlightDate":"2019-10-15T19:17:52.8117416+02:00","AircraftImmatriculation":"sample string 3","FlightTypeName":"sample string 4","PilotName":"sample string 5","PilotPersonClubMemberNumber":"sample string 6","SecondCrewName":"sample string 7"},"RecipientDetails":{"PersonId":"5b616a2e-6369-4b51-bbd6-769674d4d0bb","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":"b3f58894-9197-4b58-9e7a-86e3cd82f55b","Position":2,"ArticleNumber":"sample string 3","ItemText":"sample string 4","AdditionalInformation":"sample string 5","Quantity":6.0,"DiscountInPercent":7,"UnitType":"sample string 8","Id":"b3f58894-9197-4b58-9e7a-86e3cd82f55b","CanUpdateRecord":true,"CanDeleteRecord":true},{"DeliveryItemId":"b3f58894-9197-4b58-9e7a-86e3cd82f55b","Position":2,"ArticleNumber":"sample string 3","ItemText":"sample string 4","AdditionalInformation":"sample string 5","Quantity":6.0,"DiscountInPercent":7,"UnitType":"sample string 8","Id":"b3f58894-9197-4b58-9e7a-86e3cd82f55b","CanUpdateRecord":true,"CanDeleteRecord":true}],"DeliveryNumber":"sample string 4","DeliveredOn":"2019-10-15T19:17:52.8117416+02:00","IsFurtherProcessed":true,"Id":"adf95b35-9134-48c9-a09f-5b01a6a15bfb","CanUpdateRecord":true,"CanDeleteRecord":true},"MatchedAccountingRuleFilterIds":["28097e31-aaa5-48a0-8d30-ba3f31666462","9550f8a6-d34a-4575-8275-88e0161dde38"],"MatchedAccountingRuleFilters":[{"AccountingRuleFilterId":"a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06","RuleFilterName":"sample string 2","Target":"sample string 3","Description":"sample string 4","IsActive":true,"SortIndicator":6,"AccountingRuleFilterTypeName":"sample string 7","Id":"a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06","CanUpdateRecord":true,"CanDeleteRecord":true},{"AccountingRuleFilterId":"a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06","RuleFilterName":"sample string 2","Target":"sample string 3","Description":"sample string 4","IsActive":true,"SortIndicator":6,"AccountingRuleFilterTypeName":"sample string 7","Id":"a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06","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">adf95b35-9134-48c9-a09f-5b01a6a15bfb</Id>
    <d2p1:AdditionalInformation>sample string 3</d2p1:AdditionalInformation>
    <d2p1:DeliveredOn>2019-10-15T19:17:52.8117416+02:00</d2p1:DeliveredOn>
    <d2p1:DeliveryId>adf95b35-9134-48c9-a09f-5b01a6a15bfb</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">b3f58894-9197-4b58-9e7a-86e3cd82f55b</Id>
        <d2p1:AdditionalInformation>sample string 5</d2p1:AdditionalInformation>
        <d2p1:ArticleNumber>sample string 3</d2p1:ArticleNumber>
        <d2p1:DeliveryItemId>b3f58894-9197-4b58-9e7a-86e3cd82f55b</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">b3f58894-9197-4b58-9e7a-86e3cd82f55b</Id>
        <d2p1:AdditionalInformation>sample string 5</d2p1:AdditionalInformation>
        <d2p1:ArticleNumber>sample string 3</d2p1:ArticleNumber>
        <d2p1:DeliveryItemId>b3f58894-9197-4b58-9e7a-86e3cd82f55b</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>2019-10-15T19:17:52.8117416+02:00</d2p1:FlightDate>
      <d2p1:FlightId>e7a930dc-d483-4976-90e3-be69f39856d6</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>5b616a2e-6369-4b51-bbd6-769674d4d0bb</d2p1:PersonId>
      <d2p1:RecipientName>sample string 1</d2p1:RecipientName>
      <d2p1:ZipCode>sample string 6</d2p1:ZipCode>
    </d2p1:RecipientDetails>
  </CreatedDeliveryDetails>
  <FlightId>788253cc-8f3a-450e-98b4-bba21e61b2dc</FlightId>
  <MatchedAccountingRuleFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>28097e31-aaa5-48a0-8d30-ba3f31666462</d2p1:guid>
    <d2p1:guid>9550f8a6-d34a-4575-8275-88e0161dde38</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">a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06</Id>
      <d2p1:AccountingRuleFilterId>a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06</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">a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06</Id>
      <d2p1:AccountingRuleFilterId>a2a4bfbf-c67f-4a1d-b2ee-29ed51ad7c06</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>