ID Generation

Create new id.

post

API to generate new id based on the id formats passed.

Body

Contract class to receive request.

Responses
201
Id generated sucessfully.
application/json
post
POST /id/v1//_genearte HTTP/1.1
Host: egov-micro-dev.egovernments.org
Content-Type: application/json
Accept: */*
Content-Length: 216

{
  "requestInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "action": "text",
    "did": "text",
    "key": "text",
    "msgId": "text",
    "requesterId": "text",
    "authToken": "text"
  },
  "idRequests": [
    {
      "idName": "text",
      "tenantId": "text",
      "format": "text"
    }
  ]
}
{
  "responseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "idResponses": [
    {
      "id": "text"
    }
  ]
}

Last updated

Was this helpful?