Admin APIs
Last updated
Last updated
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}
Resource Details | Description |
---|---|
Name | Required | Description | Example |
---|---|---|---|
https://mosip.io/v1/admin/packetstatusupdate?rid=10008100670000220191226111423
Success Response
Error Response
Failure Details
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
Success Resposne
Failure Response
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
Success Resposne
Failure Response
The user can fetch a transaction which was used for bulkupload using the transaction id.
https://{base_url}/v1/admin/bulkupload/transcation/{transcationId}
Success Resposne
Failure Response
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Example |
---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Example |
---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Example |
---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Response format
JSON
Requires Authentication
Yes
rid
Yes
rid of the user
10008100670000220191226111423
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
Response format
JSON
Requires Authentication
Yes
category
Yes
files
Yes
operation
Yes
tableName
Yes
ADM-PKT-001
Admin is not authorized
Response format
JSON
Requires Authentication
Yes
category
Yes
orderBy
Yes
pageNumber
Yes
pageSize
Yes
sortBy
Yes
ADM-PKT-001
Admin is not authorized
Response format
JSON
Requires Authentication
Yes
category
Yes
ADM-PKT-001
Admin is not authorized