Device Type and Subtype APIs
Last updated
Last updated
This page contains detail about the Device type and Device subtype API's.
This service will create the Device Types which are used in the MOSIP platform.
POST /devicetypes
Resource Details | Description |
---|---|
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will provides the service to get the device types.
GET /devicetypes/{code}
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will update the Device Types which are used in the MOSIP platform.
PUT /devicetypes
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will provides the service to delete the device types.
DELETE /devicetypes/{code}
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will create the Device Subtypes which are used in the MOSIP platform.
POST /devicesubtypes
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will provides the service to get the device subtypes.
GET /devicesubtypes/{code}
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
This service will update the Device Subtypes which are used in the MOSIP platform.
PUT /devicesubtypes
Success Response
Error Response
This service will provides the service to delete the device subtypes.
DELETE /devicesubtypes/{code}
Success Response
Response Code: 200 Ok
Error Response
Response Code: 200 Ok
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Resource Details | Description |
---|---|
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
Error Code | Error Message | Error Description |
---|---|---|
Response format
JSON
Requires Authentication
Yes
code
Yes
code of the device type
name
Yes
name of the device type
descr
No
description of the device type
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
Response format
JSON
Requires Authentication
Yes
-NA-
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
KER-MDS-003
Requiered Device Type details Not Found
Device code is not found
Response format
JSON
Requires Authentication
Yes
code
Yes
code of the device type
name
No
name of the device type
descr
No
description of the device type
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
KER-MDS-003
Requiered Device Type details Not Found
Device code is not found
Response format
JSON
Requires Authentication
Yes
-NA-
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
KER-MDS-003
Requiered Device Type details Not Found
Device code is not found
Response format
JSON
Requires Authentication
Yes
code
Yes
code of the device subtype
deviceTypeCode
Yes
devicetype code of the device subtype
name
Yes
name of the device subtype
descr
No
description of the device subtype
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
Response format
JSON
Requires Authentication
Yes
-NA-
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
Response format
JSON
Requires Authentication
Yes
code
Yes
code of the device subtype
deviceTypeCode
Yes
devicetype code of the device subtype
name
Yes
name of the device subtype
descr
No
description of the device subtype
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected
Response format
JSON
Requires Authentication
Yes
-NA-
KER-MSD-500
Internal Server Error
If system error occurs
KER-ATH-403
Forbidden
If unauthorized role detected
KER-ATH-401
Authentication Failed
If no role/invalid token is detected