WOC vs CAT API

PJ07-sol40

Atc Volume

AMQP

WOC

[
    {
      "id": "123e4567-e89b-12d3-a456-556642440000",
      "upperLimit": "F600",
      "lowerLimit": "F100",
      "startTime": "1979-05-14T16:20Z",
      "endTime": "1979-05-14T19:00Z",
      "geometry": {
        "coordinates": [ ... ]
      }
    }
 ]

CAT

Create Atc Volume

Event-Name: AtcVolumesPublished

header:

payload:

Create DMA Request

POST /api/rqas

WOC

{
  "operationDay": "2020-11-10",
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ]
}

CAT

request body:

Create DMA Request

  {
    "priorityCode": 1,
    "designator": "DMA01",
    "upperLimit": "F100",
    "lowerLimit": "F070",
    "startTime": "2020-11-05T12:00Z",
    "endTime": "2020-11-05T12:30Z",
    "flexibility": { ... },
    "geometry": {
      "coordinates": [ ... ]
    }
  }

Definition

Create DMA Request

"timeConstraint": {
  "maxEndTime": "2020-11-05T12:00Z",
  "minStartTime": "2020-11-05T14:00Z",
  "activationPeriod": 60
}

Flexibility parameters

"altitudeConstraint": {
  "maxUpperLimit": "F100",
  "minLowerLimit": "F600",
  "height": 100
}
"positionConstraint": {
  "referencePoint": {
    "aerodrome": "EPSC"
  },
  "minimumDistanceToReferencePoint": 0,
  "maximumDistanceToReferencePoint": 100,
  "startBearingFromReferencePoint": 0,
  "endBearingFromReferencePoint": 360
}

Create DMA Response

{
  "id": "123e4567-e89b-12d3-a456-556642440000",
  "version": 1,
  "status": "Initial request",
  "operationDay": "2020-11-10",
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ]
}

HTTP Response Code: 201

Update DMA Request

PUT /api/rqas/{id}

WOC

{
  "version": 1,
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ]
}

CAT

request body:

Update DMA Response

{
  "id": "123e4567-e89b-12d3-a456-556642440000",
  "version": 2,
  "status": "Initial request",
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ]
}

HTTP Response Code: 200

Cancel DMA Request

DELETE /api/rqas/{id}

WOC

CAT

Cancel DMA Response

HTTP Response Code: 204

DMA Change Proposal

AMQP

WOC

{
  "id": "567g1257-rt34-00rf-af6y-8yidf67831134",
  "airspaceReservationRequest": {
    "id": "123e4567-e89b-12d3-a456-556642440000",
    "version": 1,
    "responsibleUnit": "WOC-01",
    "dynamicMobileAreas": [ ... ]
  }
}

CAT

Propose DMA Change

Event-Name: DmaChangeProposal

header:

payload:

Accept/Reject DMA Change Proposal

PUT /api/rqas/{id}/change-proposal/{idProposal}/status

WOC

{

  "value": "ACCEPT"

}

CAT

ACCEPT request body:

{

  "value": "REJECT"

}

REJECT request body:

Accept/Reject DMA Change Proposal Response

{
  "id": "123e4567-e89b-12d3-a456-556642440000",
  "version": 2,
  "status": "Agreed",
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ]
}

HTTP Response Code: 200

Send Mission Trajectory

PUT /api/rqas/{id}

WOC

{
  "version": 1,
  "responsibleUnit": "WOC-01",
  "dynamicMobileAreas": [ ... ],
  "missionTrajectories": [
    {
      "id": "456red-e89b-12d3-a456-556642449999",
      "definition": "<xml>...</xml>"
    }
  ]
}

CAT

request body:

TTO Proposal

AMQP

WOC

{
  "id": "61255d67-9910-4ef8-92b6-e57d52ec4d3a",
  "trajectoryId": "456red-e89b-12d3-a456-556642449999",
  "origin": "2021-11-12T01:03:47Z",
  "propose": "1979-05-14T12:00:00Z",
  "location": {
    "latitude": 52.2297,
    "longitude": 21.0122
  }
}

CAT

Propose TTO

Event-Name: TtoProposal

header:

payload:

Accept/Reject TTO Proposal

PUT /api​/trajectories​/{id}​/ttos​/{idTto}​/status

WOC

{

  "value": "ACCEPT"

}

CAT

ACCEPT request body:

{

  "value": "REJECT"

}

REJECT request body:

Static Areas Request

POST /api/rqas

WOC

{
  "operationDay": "2020-11-10",
  "responsibleUnit": "WOC-01",
  "staticAreas": [
    {
      "designator": "TSA01A",
      "upperLimit": "F100",
      "lowerLimit": "F070",
      "startTime": "2020-11-05T12:00Z",
      "endTime": "2020-11-05T12:30Z"
    }
  ]
}

CAT

request body:

Questions

Thank you!

Made with Slides.com