Last updated 1 year ago
Was this helpful?
API specs to apply for NOC, search or update NOC details, and allow users to take necessary actions on the NOC application.
/v1/noc/_create
NOC application object to capture the details of noc related information, landid and related documents.
curl -L \ --request POST \ --url 'https://egov-micro-dev.egovernments.org/v1/noc/_create' \ --header 'Content-Type: application/json' \ --data '{"Noc":{"additionalDetails":{},"auditDetails":{},"workflow":{"assignes":[null],"documents":[{"additionalDetails":{}}]},"applicationType":"NEW","status":"ACTIVE","documents":[{"additionalDetails":{}}]},"RequestInfo":{"userInfo":{"roles":[{}]}}}'
{ "ResponseInfo": { "apiId": "text", "msgId": "text", "resMsgId": "text", "status": "text", "ts": 1, "ver": "text" }, "count": 1, "Noc": [ { "accountId": "text", "additionalDetails": {}, "applicationNo": "text", "applicationStatus": "text", "auditDetails": {}, "id": "text", "landId": "text", "nocNo": "text", "nocType": "text", "source": "text", "sourceRefId": "text", "tenantId": "text", "workflow": { "assignes": [ null ], "documents": [ { "additionalDetails": {} } ] }, "applicationType": "NEW", "status": "ACTIVE", "documents": [ { "additionalDetails": {} } ] } ] }
Updates a given application with newer details.
application
/v1/noc/_update
curl -L \ --request POST \ --url 'https://egov-micro-dev.egovernments.org/v1/noc/_update' \ --header 'Content-Type: application/json' \ --data '{"Noc":{"additionalDetails":{},"auditDetails":{},"workflow":{"assignes":[null],"documents":[{"additionalDetails":{}}]},"applicationType":"NEW","status":"ACTIVE","documents":[{"additionalDetails":{}}]},"RequestInfo":{"userInfo":{"roles":[{}]}}}'
/v1/noc/_search
curl -L \ --request POST \ --url 'https://egov-micro-dev.egovernments.org/v1/noc/_search?tenantId=text' \ --header 'Content-Type: application/json' \ --data '{"RequestInfo":{"userInfo":{"roles":[{}]}}}'