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

UIN Application Approve


API to approve UIN application

URL : /api/applicationForm/uinApplication/approve/<id>

Method : PATCH

Auth required : YES, Admin Only

Headers : multipart/json authentication: Bearer Token

Data

{
"status": "[APPROVED/REJECTED]"
}

Success Response


Code : 200 OK

Content example

{
"id": "5b7e70f2e5a4c9089e1506ea",
"createdDate": "23-08-2018",
"applicationNumber": null,
"applicant": "operatora",
"applicantId": 1,
"applicantAddress": null,
"applicantEmail": null,
"applicantPhone": null,
"applicantNationality": null,
"applicantType": null,
"submittedDate": "23-08-2018",
"lastModifiedDate": "23-08-2018",
"status": "APPROVED",
"approver": "admin",
"approverId": 2,
"approvedDate": "23-08-2018",
"approverComments": null,
"importPermissionDocName": "importPermissionDoc.jpg",
"cinDocName": "cinDoc.jpg",
"gstinDocName": "gstinDoc.jpg",
"panCardDocName": null,
"securityClearanceDocName": "securityClearanceDoc.jpg",
"dotPermissionDocName": "dotPermissionDoc.jpg",
"etaDocName": "etaDoc.jpg",
"feeDetails": "By Cheque ending 4899 from SBI",
"droneTypeId": 1,
"operatorDroneId": 11,
"manufacturer": "Beebop",
"manufacturerId": 0,
"manufacturerAddress": {
"lineOne": "House No",
"lineTwo": "",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"pinCode": "560078"
},
"manufacturerDesignation": "Manager",
"manufacturerNationality": "Indian",
"modelName": "BEEPOP",
"modelNo": "99",
"serialNo": "2",
"dateOfManufacture": "01-01-2009",
"wingType": "Rotary",
"isNew": true,
"maxTakeOffWeight": 1000.0,
"maxHeightAttainable": 1500.0,
"compatiblePayload": "details",
"droneCategoryType": "MEDIUM",
"regionOfOperation": null,
"purposeOfOperation": "educational",
"engineType": "type",
"enginePower": 4000.0,
"engineCount": 2,
"fuelCapacity": 8000.0,
"propellerDetails": "details",
"dimensions": {
"length": 5000.0,
"breadth": 2000.0,
"height": 1000.0
},
"maxEndurance": 4,
"maxRange": 5000.0,
"maxSpeed": 4000.0,
"maxHeightOfOperation": 1500.0,
"previousUIN": null,
"opManualDocName": "opManualDoc.jpg",
"maintenanceGuidelinesDocName": "maintenanceGuidelinesDoc.jpg",
"incidentHistory": "No History",
"ownerName": null,
"ownerPhone": null,
"ownerEmail": null,
"ownerAddress": null,
"uinNumber": null
}

Error Response


Condition : If provided with invalid payload

Code : 400 BAD REQUEST