Admin APIs
This documents provides details about the APIs used by Admin Module.
Packet Status Services
GET /packetstatusupdate
The user can get status of the UIN.
Resource URL
https://{base_url}/v1/admin/packetstatusupdate?rid={rid}
Resource Details
Response format
JSON
Requires Authentication
Yes
Request Part Parameters
rid
Yes
rid of the user
10008100670000220191226111423
Request
https://mosip.io/v1/admin/packetstatusupdate?rid=10008100670000220191226111423
Responses
Success Response
Error Response
Failure Details
ADM-PKT-001
Admin is not authorized
ADM-PKT-002
RID is invalid
If RID is invalid
ADM-PKT-003
Center does not exist
If Center ID extracted from RID does not exist
ADM-PKT-004
RID is miss
If RID is missing in the Input
ADM-PKT-005
Error occurred while fetch Packet Status
If any system error occurs while fetching Packet Status
Bulk Upload
POST /bulkupload
GET /bulkupload/getAllTransactions
GET /bulkupload/transaction/{transactionId}
POST /bulkupload
The user can perform bulk upload of master data and tables.
Resource URL
https://{base_url}/v1/admin/bulkupload
Resource Details
Response format
JSON
Requires Authentication
Yes
Request Part Parameters
category
Yes
files
Yes
operation
Yes
tableName
Yes
Request
Responses
Success Resposne
Failure Response
Failure Details
ADM-PKT-001
Admin is not authorized
GET /bulkupload/getAllTransactions
The user can fetch all the transaction which were used for bulkupload.
Resource URL
https://{base_url}/v1/admin/bulkupload/getAllTransactions?category=masterdata&orderBy=desc&pageNumber=0&pageSize=10&sortBy=createdDateTime
Resource Details
Response format
JSON
Requires Authentication
Yes
Request Query Parameters
category
Yes
orderBy
Yes
pageNumber
Yes
pageSize
Yes
sortBy
Yes
Request
Responses
Success Resposne
Failure Response
Failure Reason
ADM-PKT-001
Admin is not authorized
GET /bulkupload/transaction
The user can fetch a transaction which was used for bulkupload using the transaction id.
Resource URL
https://{base_url}/v1/admin/bulkupload/transcation/{transcationId}
Resource Details
Response format
JSON
Requires Authentication
Yes
Request Query Parameters
category
Yes
Request
Responses
Success Resposne
Failure Response
Failure Reason
ADM-PKT-001
Admin is not authorized
Last updated