Master Data Management

Get list of masters for a perticulare module and tenantId.

post

/_search

Body
RequestInfoobject

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.

MdmsCriteriaobject
Responses
curl -L \
  --request POST \
  --url '/mdms/v1/[API endpoint]/_search' \
  --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"}]}]}},"MdmsCriteria":{"tenantId":"text","moduleDetails":[{"moduleName":"text","masterDetails":[{"name":"text"}]}]}}'
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "mdms": [
    [
      {}
    ]
  ]
}

Creates/Updates master data on github.

Creates/Updates the module master data json files on the github through UI input.

post

/_create

Body
RequestInfoobject

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.

MasterMetaDataobject
Responses
curl -L \
  --request POST \
  --url '/mdms/v1/[API endpoint]/_create' \
  --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"}]}]}},"MasterMetaData":{"tenantId":"text","filePath":"text","masterName":"text","masterData":{}}}'
{
  "ResponseInfo": {
    "apiId": "text",
    "ver": "text",
    "ts": 1,
    "resMsgId": "text",
    "msgId": "text",
    "status": "SUCCESSFUL"
  },
  "Data": {}
}

Last updated

Was this helpful?