Last updated 1 year ago
Was this helpful?
Get list of masters for a perticulare module and tenantId.
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.
POST /mdms/v1/[API endpoint]/_search HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 274 { "RequestInfo": { "apiId": "text", "ver": "text", "ts": 1, "action": "text", "did": "text", "key": "text", "msgId": "text", "requesterId": "text", "authToken": "text" }, "MdmsCriteria": { "tenantId": "text", "moduleDetails": [ { "moduleName": "text", "masterDetails": [ { "name": "text", "filter": "text" } ] } ] } }
Designation created sucessfully.
{ "ResponseInfo": { "apiId": "text", "ver": "text", "ts": 1, "resMsgId": "text", "msgId": "text", "status": "SUCCESSFUL" }, "mdms": [ [ {} ] ] }
Creates/Updates the module master data json files on the github through UI input.
POST /mdms/v1/[API endpoint]/_create HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 240 { "RequestInfo": { "apiId": "text", "ver": "text", "ts": 1, "action": "text", "did": "text", "key": "text", "msgId": "text", "requesterId": "text", "authToken": "text" }, "MasterMetaData": { "tenantId": "text", "filePath": "text", "masterName": "text", "masterData": {} } }
{ "ResponseInfo": { "apiId": "text", "ver": "text", "ts": 1, "resMsgId": "text", "msgId": "text", "status": "SUCCESSFUL" }, "Data": {} }