This section details about the service APIs in the Document modules
- POST /machines
- GET /machines
- GET /machines/{languagecode}
- GET /machineshistory/{id}/{languagecode}/{eff_dtimes}
- DELETE /machines/{id}
- PUT /machines
z This service will create the list of Machines which are used in the MOSIP platform.
Please find the steps to create primary/secondary languages
https://github.com/mosip/mosip-docs/wiki/Registration-Center-APIs#createupdate-api
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
id | Yes | Id of the machine | ||
name | Yes | Name of the machine | ||
machineSpecId | Yes | Machine specification Id of the machine | ||
serialNum | Yes | Serial number of the machine | ||
langCode | Yes | Language code of the machine | ||
ipAddress | No | Ip Address of the machine | ||
isActive | Yes | Is the machine active? | ||
validityDateTime | Yes | Validity date of machine | ||
zoneCode | Yes | Zone code of machine |
{
"id": "string",
"metadata": {},
"request": {
"id":"10091",
"ipAddress": "192.168.0.150",
"isActive": true,
"langCode": "eng",
"macAddress": "8C-16-45-5A-5D-0D",
"machineSpecId": "1001",
"name": "test machine1",
"serialNum": "NM5328114630",
"validityDateTime": "2018-12-10T06:12:52.994Z",
"zoneCode": "NTH"
},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
}
{
"id": "string",
"version": "string",
"responsetime": "2019-11-26T04:26:01.049Z",
"metadata": null,
"response": {
"isActive": false,
"createdBy": "110006",
"createdDateTime": "2019-11-26T04:26:01.179Z",
"updatedBy": null,
"updatedDateTime": null,
"isDeleted": null,
"deletedDateTime": null,
"id": "10100",
"name": "test machine1",
"serialNum": "NM5328114630",
"macAddress": "8C-16-45-5A-5D-0D",
"ipAddress": "192.168.0.150",
"machineSpecId": "1001",
"langCode": "eng",
"validityDateTime": "2018-12-10T06:12:52.994Z"
},
"errors": null
}
202
Description: Accepted
400
Description: Bad request
401
Description: Unauthorized
403
Description: Forbidden
This service will provides the service to fetch the complete List of machines with the machine details.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
-NA- |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machines": [{
"id": "string",
"ipAddress": "string",
"isActive": true,
"langCode": "string",
"macAddress": "string",
"machineSpecId": "string",
"name": "string",
"serialNum": "string",
"validityDateTime": "2018-12-24T05:54:42.097Z"
}]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
Master data is required across the platform.
This service will provides the service to fetch the List of machines with the machine details based on the language.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
languagecode | Yes | Machine Languge Code |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machines": [{
"id": "string",
"ipAddress": "string",
"isActive": true,
"langCode": "string",
"macAddress": "string",
"machineSpecId": "string",
"name": "string",
"serialNum": "string",
"validityDateTime": "2018-12-24T05:58:03.286Z"
}]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
This service will provides the service for the List of machines with their history.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
ID | Yes | Machine History Id | ||
languagecode | Yes | Language code for the Machine | ||
eff_dtimes | Yes | Effective Date and Time of the Machine |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machineHistoryDetails": [
{
"effectDateTime": "2018-12-24T06:05:26.304Z",
"id": "string",
"ipAddress": "string",
"isActive": true,
"langCode": "string",
"macAddress": "string",
"machineSpecId": "string",
"name": "string",
"serialNum": "string",
"validityDateTime": "2018-12-24T06:05:26.304Z"
}
]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
This service will delete the machines.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
machineId | Yes | The machineId |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id": "string"
}
}
200
Description: When Machine deleted successfully
204
Description: No Content
401
Description: Unauthorized
403
Description: Forbidden
404
Description: When machine not found
500
Description: Error occurred while deleting Machine
This service will update existing machines.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
id | Yes | Id of the machine | ||
name | Yes | Name of the machine | ||
machineSpecId | Yes | Machine specification Id of the machine | ||
serialNum | Yes | Serial number of the machine | ||
langCode | Yes | Language code of the machine | ||
ipAddress | No | Ip Address of the machine | ||
isActive | Yes | Is the machine active? | ||
validityDateTime | Yes | Validity date of machine | ||
zoneCode | Yes | Zone code of machine |
{
"id": "string",
"metadata": {},
"request": {
"id":"10100",
"ipAddress": "192.168.0.150",
"isActive": true,
"langCode": "eng",
"macAddress": "8C-16-45-5A-5D-0D",
"machineSpecId": "1001",
"name": "test machine1",
"serialNum": "NM5328114630",
"validityDateTime": "2018-12-10T06:12:52.994Z",
"zoneCode": "NTH"
},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
}
{
"id": "string",
"version": "string",
"responsetime": "2019-11-26T04:31:08.982Z",
"metadata": null,
"response": {
"isActive": true,
"createdBy": "110006",
"createdDateTime": "2019-11-26T04:31:15.344Z",
"updatedBy": "110006",
"updatedDateTime": "2019-11-26T04:31:15.344Z",
"isDeleted": null,
"deletedDateTime": null,
"id": "10100",
"name": "test machine1",
"serialNum": "NM5328114630",
"macAddress": "8C-16-45-5A-5D-0D",
"ipAddress": "192.168.0.150",
"machineSpecId": "1001",
"langCode": "eng",
"validityDateTime": "2018-12-10T06:12:52.994Z"
},
"errors": null
}
200 Ok
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": [{
"errorCode": "string",
"message": "string"
}],
"response": null
}
Error Code | Error Message | Error Description |
---|---|---|
KER-MSD-029 | Error occured while fetching Machines | Fetch Issue |
KER-MSD-063 | Error occurred while inserting Machine details | Insertion Issue |
KER-MSD-030 | Machine not Found | Data Not Found |
KER-MSD-087 | Error occurred while updating Machine details | Update Issue |
KER-MSD-088 | Error occurred while deleting Machine details | Deletion Issue |
KER-MSD-148 | Cannot delete as dependency found | Deletion Issue because of dependency |
- POST /machinetypes
- GET /machinetypes
- GET /machinetypes/{languagecode}
- POST /machinetypes/search
- POST /machinetypes/filtervalues
This service will create the list of Machine types which are used in the MOSIP platform.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
machinetypecode | Yes | Code of the machine type | ||
machinename | Yes | Name of the machine type | ||
description | Yes | Description of the machine type | ||
languagecode | Yes | Language code of the machine type | ||
isactive | Yes | Is the machine type active? |
{
"id": "string",
"version": "string",
"metadata": {},
"requesttime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"request": {
"code": "string",
"description": "string",
"isActive": true,
"langCode": "string",
"name": "string"
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"code": "string",
"langCode": "string"
}
}
202
Description: Accepted
400
Description: Bad request
401
Description: Unauthorized
403
Description: Forbidden
This service will provides the service to fetch the complete List of machine types with the machine details.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
-NA- |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response":{
"machinetypes": [
{
"machinetypecode":"string",
"machinename":"string",
"description":"string",
"languagecode":"boolean",
"isactive":"string"
},
{
"machinetypecode":"string",
"machinename":"string",
"description":"string",
"languagecode":"boolean",
"isactive":"string"
}
]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
This service will provides the service to fetch the List of machines with the machine details based on the language code.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
-NA- |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machines": [
{
"machinetypecode":"string",
"machinename":"string",
"description":"string",
"languagecode":"boolean",
"isactive":"string"
},
{
"machinetypecode":"string",
"machinename":"string",
"description":"string",
"languagecode":"boolean",
"isactive":"string"
}
]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": [{
"errorCode": "string",
"message": "string"
}],
"response": null
}
Error Code | Error Message | Error Description |
---|---|---|
KER-MSD-061 | Error occurred while inserting Machine Type details | Insertion Issue |
KER-MSD-062 | Error occurred while fetching Machine Type details | Fetch Issue |
KER-MSD-063 | Machine Type Not Found | Data Not Found |
This service is for the machine type search functionality. All the filter parameters are passed and the machines types are searched and the matching results are returned.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["contains","equals",”startsWith”,"between"] | -NA- | |
value | No | Value or id selected in the filter by the end user | -NA- | |
fromValue | No | If the type is "between", this field is the value of the start range | -NA- | |
toValue | No | If the type is "between", this field is the value of the end range | -NA- | |
languagecode | Yes | Language code in Language code in ISO 639-2 format | ||
sort | No | This is an array of the sort field and type | ||
sortfield | The field on which the sort is applied | modifiedDate | ||
sorttype | This should be either of ['ASC','DESC'] | ASC | ||
pagination | The pagination parameter object | |||
pageStart | This is the start index | 0 | 10 | |
pageFetch | This is the amount of records to be fetched | 10 | 10 |
Please find the filter columns used in search
- name
- status
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string",
"request": {
"filters" : [
{
"columnName": "",
"type": "in",
"value": "",
"fromValue": "",
"toValue": ""
}
],
"sort":[
{
"sortfield":"string",
"sorttype":"ASC"
}
],
"pagination":{
"pageStart":"number",
"pageFetch":"number"
},
"languageCode":""
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machineTypes": [
{
"code": "string",
"description": "string",
"isActive": true,
"langCode": "string",
"name": "string"
}
],
"fromRecord" : "number",
"toRecord":"number",
"totalRecord":"number"
}
}
This service returns the filter values which are required in the dropdown entries of the filter screen.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["unique","all"] | unique | unique |
languagecode | Yes | Language code in Language code in ISO 639-2 format |
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
"request": {
"filters" : [
{
"columnName": ""
"type": "unique"
}
],
"languageCode": "string",
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"filters": [
{
"fieldID": "string",
"fieldValue": "string"
}
]
}
}
- POST /machinespecifications
- PUT /machinespecifications
- DELETE /machinespecifications/{id}
- GET /machinespecifications
- GET /machinespecifications/{lang_code}
- POST /machinespecifications/search
- POST /machinespecifications/filtervalues
This service will create a Machine Specification which are used in the MOSIP platform.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
id | Yes | ID of the Machine Specification | ||
name | Yes | Name of the machine Specification | ||
brand | Yes | Brand of the machine specification | ||
model | Yes | Model of the machine specification | ||
mtyp_code | Yes | Machine type code of the machine specification | ||
min_driver_ver | Yes | Minimum driver version required for the machine specification | ||
descr | Yes | Description of the machine specification | ||
lang_code | Yes | Language of the machine specification | ||
is_active | Yes | Is the Machine Specification active |
{
"id": "string",
"version": "string",
"metadata": {},
"requesttime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"request": {
"brand": "string",
"description": "string",
"id": "string",
"isActive": true,
"langCode": "string",
"machineTypeCode": "string",
"minDriverversion": "string",
"model": "string",
"name": "string"
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id": "string"
}
}
This service will update a Machine Specification which are used in the MOSIP platform.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
id | Yes | ID of the Machine Specification | ||
lang_code | Yes | Language code of the Machine Specification |
{
"id": "string",
"version": "string",
"metadata": {},
"requesttime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"request": {
"brand": "string",
"description": "string",
"id": "string",
"isActive": true,
"langCode": "string",
"machineTypeCode": "string",
"minDriverversion": "string",
"model": "string",
"name": "string"
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id": "string"
}
}
This service deletes a Machine Specification from the Machine Specifications master module.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
id | Yes | ID of the Machine Specification |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id": "string"
}
}
This service will provides the list of all Machine Specifications in all languages.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
-NA- |
-NA-
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id":"KJDS9",
"name":"Laptop",
"brand":"Hewlett Packard",
"model":"L34-324",
"mtyp_code":"GEW8",
"min_driver_ver":"1.4",
"descr":"This is a medium configuration",
"lang_code":"eng",
"is_active":true
}
}
This service will provides the list of all Machine Specifications in a specific language.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
-NA- |
-NA-
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"id":"KJDS9",
"name":"Laptop",
"brand":"Hewlett Packard",
"model":"L34-324",
"mtyp_code":"GEW8",
"min_driver_ver":"1.4",
"descr":"This is a medium configuration",
"lang_code":"eng",
"is_active":true
}
}
202
Description: Accepted
400
Description: Bad request
401
Description: Unauthorized
403
Description: Forbidden
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": [{
"errorCode": "string",
"message": "string"
}],
"response": null
}
Error Code | Error Message | Error Description |
---|---|---|
KER-MSD-062 | Error occurred while inserting Machine Specification details | Insertion Issue |
KER-MSD-117 | Machine Specification not Found | Data Not Found |
KER-MSD-085 | Error occurred while updating Machine Specification details | Update Issue |
KER-MSD-086 | Error occurred while deleting Machine Specification details | Deletion Issue |
KER-MSD-122 | Cannot delete dependency found | Deletion Issue because of dependency |
KER-MSD-087 | Error occurred while fetching Machine Specification details | Fetch Issue |
This service is for the machine specifications search functionality. All the filter parameters are passed and the machines specifications are searched and the matching results are returned.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["contains","equals",”startsWith”,"between"] | -NA- | |
value | No | Value or id selected in the filter by the end user | -NA- | |
fromValue | No | If the type is "between", this field is the value of the start range | -NA- | |
toValue | No | If the type is "between", this field is the value of the end range | -NA- | |
languagecode | Yes | Language code in Language code in ISO 639-2 format | ||
sort | No | This is an array of the sort field and type | ||
sortfield | The field on which the sort is applied | modifiedDate | ||
sorttype | This should be either of ['ASC','DESC'] | ASC | ||
pagination | The pagination parameter object | |||
pageStart | This is the start index | 0 | 10 | |
pageFetch | This is the amount of records to be fetched | 10 | 10 |
Please find the filter columns used in search
- name
- isActive
- brand
- model
- machineTypeName
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string",
"request": {
"filters" : [
{
"columnName": "",
"type": "in",
"value": "",
"fromValue": "",
"toValue": ""
}
],
"sort":[
{
"sortfield":"string",
"sorttype":"ASC"
}
],
"pagination":{
"pageStart":"number",
"pageFetch":"number"
},
"languageCode":""
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"machineSpecifications": [
{
"brand": "string",
"description": "string",
"id": "string",
"isActive": true,
"langCode": "string",
"machineTypeCode": "string",
"minDriverversion": "string",
"model": "string",
"name": "string"
}
],
"fromRecord" : "number",
"toRecord":"number",
"totalRecord":"number"
}
}
This service returns the filter values which are required in the dropdown entries of the filter screen.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["unique","all"] | unique | unique |
languagecode | Yes | Language code in Language code in ISO 639-2 format |
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
"request": {
"filters" : [
{
"columnName": ""
"type": "unique"
}
],
"languageCode": "string",
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"filters": [
{
"fieldID": "string",
"fieldValue": "string"
}
]
}
}
This service is for the machine search functionality. All the filter parameters are passed and the machines are searched and the matching results are returned.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["contains","equals",”startsWith”,"between"] | -NA- | |
value | No | Value or id selected in the filter by the end user | -NA- | |
fromValue | No | If the type is "between", this field is the value of the start range | -NA- | |
toValue | No | If the type is "between", this field is the value of the end range | -NA- | |
languagecode | Yes | Language code in Language code in ISO 639-2 format | ||
sort | No | This is an array of the sort field and type | ||
sortfield | The field on which the sort is applied | modifiedDate | ||
sorttype | This should be either of ['ASC','DESC'] | ASC | ||
pagination | The pagination parameter object | |||
pageStart | This is the start index | 0 | 0 | |
pageFetch | This is the amount of records to be fetched | 10 | 10 |
Please find the filter columns used in search
- name
- isActive
- macAddress
- serialNum
- mapStatus
- machineTypeName
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string",
"request": {
"filters" : [
{
"columnName": "",
"type": "in",
"value": "",
"fromValue": "",
"toValue": ""
}
],
"sort":[
{
"sortfield":"string",
"sorttype":"ASC"
}
],
"pagination":{
"pageStart":"number",
"pageFetch":"number"
},
"languageCode":""
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"data": [
{
"id": "string",
"ipAddress": "string",
"isActive": true,
"langCode": "string",
"macAddress": "string",
"machineSpecId": "string",
"name": "string",
"serialNum": "string",
"validityDateTime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
}
],
"fromRecord" : "number",
"toRecord":"number",
"totalRecord":"number"
}
}
This service returns the filter values which are required in the dropdown entries of the filter screen.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
filters | No | Array of the filter applied. In case of "list" screen, this array will be empty | -NA- | |
columnName | No | The column name in the JSON response | -NA- | |
type | No | The value have to be in ["unique","all"] | unique | unique |
languagecode | Yes | Language code in Language code in ISO 639-2 format |
{
"id": "string",
"metadata": {},
"requesttime": "2018-12-10T06:12:52.994Z",
"version": "string"
"request": {
"filters" : [
{
"columnName": ""
"type": "unique"
}
],
"languageCode": "string",
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"filters": [
{
"fieldID": "string",
"fieldValue": "string"
}
]
}
}