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 Update


API to update UIN application

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

Method : PATCH

Auth required : YES,

Headers : multipart/form-data, authentication: Bearer Token

Form Data

NameValue
uinApplicationjson string
importPermissionDocfile upload
cinDocfile upload
gstinDocfile upload
panCardDocfile upload
dotPermissionDocfile upload
securityClearanceDocfile upload
etaDocfile upload
opManualDocfile upload
maintenanceGuidelinesDocfile upload

uinApplication

{
"feeDetails": "[valid string]",
"droneTypeId":
"[drone type id of type long obtained from selected drone saved in the system]",
"operatorDroneId":
"[operator drone id of type long obtained from drone details saved in the system]",
"manufacturer":
"[manufacturer of selected drone of type string obtained from drone details saved in the system]",
"manufacturerAddress":
"[manufacturer address of selected drone obtained from drone details saved in the system]",
"manufacturerDesignation": "[valid manufacturer designation as string]",
"manufacturerNationality":
"[manufacturer nationality of selected drone obtained from drone details saved in the system]",
"modelName":
"[model name of selected drone obtained from drone details saved in the system of type string]",
"modelNo":
"[model no of selected drone obtained from drone details saved in the system of type string]",
"serialNo":
"[serial no of selected drone obtained from drone details saved in the system of type string]",
"dateOfManufacture":
"[date of manufacture of selected drone obtained from drone details saved in the system]",
"wingType":
"[wingType property of the selected drone which is an enum [FIXED, ROTARY]]",
"maxTakeOffWeight":
"[maxTakeOffWeight property of the selected drone as float]",
"maxHeightAttainable":
"[maxHeightAttainable property of the selected drone as float]",
"compatiblePayload":
"[compatiblePayload property of the selected drone as string]",
"droneCategoryType":
"[droneCategory property of the selected drone which is one of [MICRO, SMALL, MEDIUM, LARGE]]",
"purposeOfOperation":
"[purposeOfOperation property of the seleced drone as string]",
"engineType": "[engineType property of selected drone as string]",
"enginePower": "[enginePower property of selected drone as float]",
"engineCount": "[engineCount property of selected drone as int]",
"fuelCapacity": "[fuelCapacity property of selected drone as float]",
"propellerDetails": "[propellerDetails property of selected drone as string]",
"maxEndurance": "[max endurance property of selected drone as float]",
"maxRange": "[max range property of selected drone as float]",
"maxSpeed": "[max speed property of selected drone as float]",
"maxHeightOfOperation": "[max height property of selected drone as float]",
"dimensions": {
"length": "[length of selected drone as float]",
"breadth": "[breadth of selected drone as float]",
"height": "[height of selected drone as float]"
},
"previousUIN": "[valid string]",
"incidentHistory": "[valid string]",
"ownerName": "[owner name as string]",
"ownerPhone": "[owner phone number]",
"ownerEmail": "[valid owner email id]",
"ownerAddress": "[valid owner address]",
"uinNumber": "[generated UIN]"
}

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": null,
"lastModifiedDate": "23-08-2018",
"status": "DRAFT",
"approver": null,
"approverId": 0,
"approvedDate": null,
"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": "Incode",
"pinCode": "560089"
},
"manufacturerDesignation": "Manager",
"manufacturerNationality": "Indian",
"modelName": "BEEPOP",
"modelNo": "99",
"serialNo": "2",
"dateOfManufacture": "01-01-2009",
"wingType": "Rotary",
"isNew": true,
"maxTakeOffWeight": 400.0,
"maxHeightAttainable": 5000.0,
"compatiblePayload": "details",
"droneCategoryType": "MEDIUM",
"regionOfOperation": null,
"purposeOfOperation": "educational",
"engineType": "8",
"enginePower": 8.0,
"engineCount": 8,
"fuelCapacity": 8.0,
"propellerDetails": "8",
"dimensions": {
"length": 4000.0,
"breadth": 2000.0,
"height": 1000.0
},
"maxEndurance": 500,
"maxRange": 5000.0,
"maxSpeed": 5000.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