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

Organization Operator Profile Add


API to setup Organization Operator profile for a registered user

URL : /api/orgOperator

Method : POST

Auth required : YES,

Headers : application/json, authentication: Bearer Token

Data constraints

{
"name": "[Valid Name with alphabets and space]",
"email": "[Valid Organization email id]",
"mobileNumber": "[Valid mobile number]",
"contactNumber": "[Valid Organization Landline number]",
"country": "[Valid Country as String]",
"addressList": [
{
"lineOne": "[Valid Line One as String]",
"lineTwo": "[Valid Line Two as String]",
"city": "[Valid City as String]",
"state": "[Valid State as String]",
"country": "[Valid Country as String]",
"pinCode": "[Valid PinCode as String]"
}
],
"uaop": null,
"govtAgency": "[government Agency flag as Boolean]"
}

Success Response

Code : 200 OK

Content example

{
"id": 1,
"name": "Digitalsky",
"mobileNumber": "9880098880",
"contactNumber": "080-456677888",
"country": "India",
"addressList": [
{
"lineOne": "#25, xyz Building",
"lineTwo": "Sample",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"pinCode": "560001"
}
],
"govtAgency": true
}

Error Response

Condition : If provided with invalid payload

Code : 400 BAD REQUEST