Access Control

Authorisation Management

Swagger API Contract Link

authorizes if the action can be taken

post

/access/v1/actions/_authorize

Body
AuthorizationRequestAuthorizationRequest
RequestInfoobject
Responses
curl -L \
  --request POST \
  --url '/access/v1/actions/_authorize' \
  --header 'Content-Type: application/json' \
  --data '{"AuthorizationRequest":{"uri":"text","roles":[{}],"tenantIds":[null]},"RequestInfo":{"apiId":"text","ver":"text","ts":"text"}}'

No body

getAllMDMSActions

post

/access/v1/actions/mdms/_get

Body
requestInfoobjectrequired

RequestInfo should be used to carry meta information about the requests to the server as described in the fields below. All eGov APIs will use requestinfo as a part of the request body to carry this meta information. Some of this information will be returned back from the server as part of the ResponseInfo in the response body to ensure correlation.

actionsobject[] · min: 1 · max: 100required
Responses
curl -L \
  --request POST \
  --url '/access/v1/actions/mdms/_get' \
  --header 'Content-Type: application/json' \
  --data '{"requestInfo":{"apiId":"text","ver":"text","ts":1,"action":"text","msgId":"text","userInfo":{"tenantId":"text","userName":"text","primaryrole":[{"name":"text"}],"additionalroles":[{"tenantId":"text","roles":[{"name":"text"}]}]}},"actions":[{"name":"text","tenantId":"text"}]}'
{
  "responseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "actions": [
    {
      "id": 1,
      "name": "text",
      "queryParams": "text",
      "url": "text",
      "parentModule": 1,
      "orderNumber": 1,
      "displayName": "text",
      "enabled": true,
      "createdBy": 1,
      "createdDate": "2025-02-22",
      "lastModifiedBy": 1,
      "lastModifiedDate": "2025-02-22",
      "tenantId": "text",
      "serviceCode": 1
    }
  ]
}

Last updated

Was this helpful?