All Downloads are FREE. Search and download functionalities are using the official Maven repository.

masterdata.SearchRegCenterType.SearchRegCenterType.yml Maven / Gradle / Ivy

The newest version!
SearchRegCenterType:
   MasterData_SearchRegCenterType_allValid_somke:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_01
      description: Search for registration center type details with valid data
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/SearchRegCenterType/searchRegCenterTypeResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "Center A Ben Mansour"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
}'
   
   MasterData_SearchRegCenterType_valid_col_isActive_true:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_02
      description: Search for registration center type details with condition column name is active as true
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/SearchRegCenterType/searchRegCenterTypeResult
      input: '{
    "filters": [{
        "columnName": "isActive",
        "type": "equals",
        "value": "true"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "data": [
     {
        "isActive": true,
        "code": "$IGNORE$",
        "name": "$IGNORE$",
        "descr": "$IGNORE$",
        "langCode": "$IGNORE$"
      }
    ]
}'
   MasterData_SearchRegCenterType_valid_typeFilter_contains:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_03
      description: Search for registration center type details with condition filter type contains specific keywords
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/SearchRegCenterType/searchRegCenterTypeResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "contains",
        "value": "Center A Ben Mansour"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
}'
   MasterData_SearchRegCenterType_valid_typeFilter_startsWith:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_04
      description: Search for registration center type details with condition filter type starts with specific keywords
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/SearchRegCenterType/searchRegCenterTypeResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "startsWith",
        "value": "Center A Ben Mansour"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
}'
   MasterData_SearchRegCenterType_inValid_columnName_blank:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_05
      description: Search for registration center type details with column name as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "",
        "type": "startsWith",
        "value": "alter"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-311",
      "message": "Column is missing in request"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_columnName:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_06
      description: Search for registration center type details with invalid column name
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "abdgf",
        "type": "startsWith",
        "value": "alter"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-317",
      "message": "$IGNORE$"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_filter_value:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_07
      description: Search for registration center type details with invalid filter data
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/NilSearchResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "abdesff"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
    "fromRecord": "0",
    "toRecord": "0",
    "totalRecord": "0"
}'
   MasterData_SearchRegCenterType_inValid_filter_value_blank:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_08
      description: Search for registration center type details with filter as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": ""
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-390",
      "message": "Invalid filter value"
    }
  ]
}'
   
   MasterData_SearchRegCenterType_inValid_sortField:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_09
      description: Search for registration center type details with invalid sort field
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "fbheafg",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-357",
      "message": "Invalid sort field fbheafg"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_sortType:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_10
      description: Search for registration center type details with invalid sort type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "addfd"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-358",
      "message": "Sort type addfd is not supported"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_sortField_blank:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_11
      description: Search for registration center type details with sort field as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-314",
      "message": "Missing sort field or sort type values"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_sortType_blank:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_12
      description: Search for registration center type details with sort type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": ""
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-314",
      "message": "Missing sort field or sort type values"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_filterType_blank:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_13
      description: Search for registration center type details with filter type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-312",
      "message": "Filter type is missing"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_filterType:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_14
      description: Search for registration center type details with invalid filter type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "adfdd",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'
   MasterData_SearchRegCenterType_inValid_requestTime_format:
      endPoint: /v1/masterdata/registrationcentertypes/search
      uniqueIdentifier: TC_Masterdata_SearchRegCenterType_15
      description: Search for registration center type details with invalid request time format
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchRegCenterType/searchRegCenterType
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "alternate"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "2018-12-10 06:12:52.994Z"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : requesttime"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy