Admin APIs
Last updated
Was this helpful?
Last updated
Was this helpful?
This documents provides details about the APIs used by Admin Module.
The user can get status of the UIN.
https://{base_url}/v1/admin/packetstatusupdate?rid={rid}
Response format
JSON
Requires Authentication
Yes
rid
Yes
rid of the user
10008100670000220191226111423
https://mosip.io/v1/admin/packetstatusupdate?rid=10008100670000220191226111423
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
POST /bulkupload
GET /bulkupload/getAllTransactions
GET /bulkupload/transaction/{transactionId}
The user can perform bulk upload of master data and tables.
https://{base_url}/v1/admin/bulkupload
Response format
JSON
Requires Authentication
Yes
category
Yes
files
Yes
operation
Yes
tableName
Yes
Success Resposne
Failure Response
ADM-PKT-001
Admin is not authorized
The user can fetch all the transaction which were used for bulkupload.
https://{base_url}/v1/admin/bulkupload/getAllTransactions?category=masterdata&orderBy=desc&pageNumber=0&pageSize=10&sortBy=createdDateTime
Response format
JSON
Requires Authentication
Yes
category
Yes
orderBy
Yes
pageNumber
Yes
pageSize
Yes
sortBy
Yes
Success Resposne
Failure Response
ADM-PKT-001
Admin is not authorized
The user can fetch a transaction which was used for bulkupload using the transaction id.
https://{base_url}/v1/admin/bulkupload/transcation/{transcationId}
Response format
JSON
Requires Authentication
Yes
category
Yes
Success Resposne
Failure Response
ADM-PKT-001
Admin is not authorized