GET api/v1/flightstates/processactions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of FlightProcessAction
NameDescriptionTypeAdditional information
CurrentFlightProcessState

FlightProcessState

None.

PossibleFlightProcessActions

Collection of FlightProcessActionDetails

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CurrentFlightProcessState": 0,
    "PossibleFlightProcessActions": [
      {
        "NewFlightProcessState": 0,
        "Action": "sample string 1",
        "Message": "sample string 2",
        "WillDeleteDeliveries": true
      },
      {
        "NewFlightProcessState": 0,
        "Action": "sample string 1",
        "Message": "sample string 2",
        "WillDeleteDeliveries": true
      }
    ]
  },
  {
    "CurrentFlightProcessState": 0,
    "PossibleFlightProcessActions": [
      {
        "NewFlightProcessState": 0,
        "Action": "sample string 1",
        "Message": "sample string 2",
        "WillDeleteDeliveries": true
      },
      {
        "NewFlightProcessState": 0,
        "Action": "sample string 1",
        "Message": "sample string 2",
        "WillDeleteDeliveries": true
      }
    ]
  }
]

text/html

Sample:
[{"CurrentFlightProcessState":0,"PossibleFlightProcessActions":[{"NewFlightProcessState":0,"Action":"sample string 1","Message":"sample string 2","WillDeleteDeliveries":true},{"NewFlightProcessState":0,"Action":"sample string 1","Message":"sample string 2","WillDeleteDeliveries":true}]},{"CurrentFlightProcessState":0,"PossibleFlightProcessActions":[{"NewFlightProcessState":0,"Action":"sample string 1","Message":"sample string 2","WillDeleteDeliveries":true},{"NewFlightProcessState":0,"Action":"sample string 1","Message":"sample string 2","WillDeleteDeliveries":true}]}]

application/xml, text/xml

Sample:
<ArrayOfFlightProcessAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Processing">
  <FlightProcessAction>
    <CurrentFlightProcessState>NotProcessed</CurrentFlightProcessState>
    <PossibleFlightProcessActions>
      <FlightProcessActionDetails>
        <Action>sample string 1</Action>
        <Message>sample string 2</Message>
        <NewFlightProcessState>NotProcessed</NewFlightProcessState>
        <WillDeleteDeliveries>true</WillDeleteDeliveries>
      </FlightProcessActionDetails>
      <FlightProcessActionDetails>
        <Action>sample string 1</Action>
        <Message>sample string 2</Message>
        <NewFlightProcessState>NotProcessed</NewFlightProcessState>
        <WillDeleteDeliveries>true</WillDeleteDeliveries>
      </FlightProcessActionDetails>
    </PossibleFlightProcessActions>
  </FlightProcessAction>
  <FlightProcessAction>
    <CurrentFlightProcessState>NotProcessed</CurrentFlightProcessState>
    <PossibleFlightProcessActions>
      <FlightProcessActionDetails>
        <Action>sample string 1</Action>
        <Message>sample string 2</Message>
        <NewFlightProcessState>NotProcessed</NewFlightProcessState>
        <WillDeleteDeliveries>true</WillDeleteDeliveries>
      </FlightProcessActionDetails>
      <FlightProcessActionDetails>
        <Action>sample string 1</Action>
        <Message>sample string 2</Message>
        <NewFlightProcessState>NotProcessed</NewFlightProcessState>
        <WillDeleteDeliveries>true</WillDeleteDeliveries>
      </FlightProcessActionDetails>
    </PossibleFlightProcessActions>
  </FlightProcessAction>
</ArrayOfFlightProcessAction>