Digital Sky
Drone Device DeregisterDrone Device RegisterDrone Type SummaryDrone Type/Model AddDrone Type/Model EditDrone Type/Model List AllFly Drone Permission Application AddFly Drone Permission Application ApproveFly Drone Permission Application EditFly Drone Permission Application Flight LogFly Drone Permission Applications ListFly Drone Permission Applications List for current userFly Drone Permission Artifact DownloadGenerate Reset Password LinkIndividual Operator Profile AddIndividual Operator Profile EditLoginOrganization Operator Profile AddOrganization Operator Profile EditPilot Profile AddPilot Profile EditRegisterReset PasswordUAOP Application AddUAOP Application ApproveUAOP Application EditUAOP Applications ListUAOP Applications List for current userUIN Application AddUIN Application ApproveUIN Application UpdateUIN Applications ListUIN Applications List for current userVerify Account Email

Fly Drone Permission Application Add


API to create new Fly Drone Permission application

URL : /api/applicationForm/flyDronePermissionApplication

Method : POST

Auth required : YES,

Headers : application/json, authentication: Bearer Token

{
"pilotBusinessIdentifier": "1234",
"flyArea": [
{
"latitude": 1.0,
"longitude": 1.0
},
{
"latitude": 2.0,
"longitude": 2.0
}
],
"droneId": 1,
"payloadWeightInKg": 12.0,
"payloadDetails": "test",
"flightPurpose": "test",
"typeOfOperation": "Test",
"flightTerminationOrReturnHomeCapability": true,
"geoFencingCapability": true,
"detectAndAvoidCapability": false,
"selfDeclaration": true,
"startDateTime": "18-07-2018 00:00:00",
"endDateTime": "18-07-2018 01:00:00",
"recurringTimeExpression": "0 0 0 ? * 1#1 *",
"recurringTimeDurationInMinutes": 60,
"recurringTimeExpressionType": "CRON_QUARTZ"
}

Success Response


Code : 200 OK

Content example

{
"id": 1,
"createdDate": "16-08-2018",
"applicationNumber": null,
"applicant": "praveen",
"applicantId": 1,
"applicantAddress": null,
"applicantEmail": null,
"applicantPhone": null,
"applicantNationality": null,
"applicantType": null,
"submittedDate": null,
"lastModifiedDate": null,
"status": "APPROVED",
"approver": null,
"approverId": 1,
"approvedDate": "16-08-2018",
"approverComments": null,
"pilotBusinessIdentifier": "1234",
"flyArea": [
{
"latitude": 1.0,
"longitude": 1.0
},
{
"latitude": 2.0,
"longitude": 2.0
}
],
"droneId": 1,
"payloadWeightInKg": 12.0,
"payloadDetails": "test",
"flightPurpose": "test",
"typeOfOperation": "Test",
"flightTerminationOrReturnHomeCapability": true,
"geoFencingCapability": true,
"detectAndAvoidCapability": false,
"selfDeclaration": true,
"startDateTime": "18-07-2018 00:00:00",
"endDateTime": "18-07-2018 01:00:00",
"recurringTimeExpression": "0 0 0 ? * 1#1 *",
"recurringTimeDurationInMinutes": 60,
"recurringTimeExpressionType": "CRON_QUARTZ"
}

Error Response


Condition : If provided with invalid payload

Code : 400 BAD REQUEST