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

masterdata.SearchTemplateDetails.SearchTemplateDetails.yml Maven / Gradle / Ivy

The newest version!
SearchTemplateDetails:
   MasterData_SearchTemplateDetails_ColumnName_Name_LangCode_eng_smoke:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_01
      description: Search for template details with the condition as column name and language code as english
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetailsResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "test template"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "totalRecord": "$IGNORE$"
}'
   MasterData_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_contain:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_02
      description: Search for template details where the column name is specified, the language code is English, and the filter type contains specific keywords
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetailsResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "contains",
        "value": "test template"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "totalRecord": "$IGNORE$"
}'
   MasterData_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_equals_filterValue_null:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_03
      description: Search for template details where the column name is specified, the language code is English, filter type equals to and filter value null
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      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_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_startsWith_filterValue_null:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_04
      description: Search for template details where the column name is specified, the language code is English, filter type starts with and filter value null
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "startsWith",
        "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_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_startsWith_filterValue_invalid:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_05
      description: Search for template details where the column name is specified, the language code is English, filter type equals to and filter value invalid
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetailsResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "startsWith",
        "value": "defshd"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "totalRecord": "0"
}'
   MasterData_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_equals_filterValue_invalid:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_06
      description: Search for template details where the column name is specified, the language code is English, filter type equals to and filter value invalid
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetailsResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "defshd"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "totalRecord": "0"
}'
   MasterData_SearchTemplateDetails_ColumnName_Name_LangCode_eng_filterType_contains_filterValue_invalid:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_07
      description: Search for template details where the column name is specified, the language code is English, filter type contains and filter value invalid
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetailsResult
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "contains",
        "value": "defshd"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "totalRecord": "0"
}'
   MasterData_SearchTemplateDetails_inavlid_Empty_FilterType:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_08
      description: Search for template details with filter type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "",
        "value": "Test-template"
      }
    ],
    "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_SearchTemplateDetails_inavlid_Empty_ColumnName:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_09
      description: Search for template details with column name as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "",
        "type": "equals",
        "value": "Test-template"
      }
    ],
    "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_SearchTemplateDetails_inavlid_Empty_FilterValue:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_10
      description: Search for template details with filter value as empty
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      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_SearchTemplateDetails_inavlid_columnName:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_11
      description: Search for template details with invalid column name
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "defjdkf",
        "type": "equals",
        "value": "Test-template"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-317",
      "message": "$IGNORE$"
    }
  ]
}'
   MasterData_SearchTemplateDetails_inavlid_pageFetch_lessThan1:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_12
      description: Search for template details with invalid page fetch and the value less than 1
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "test template"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": 0,
      "pageFetch": -1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.pagination.pageFetch: Should have positive integer value"
    }
  ]
}'
   MasterData_SearchTemplateDetails_inavlid_paginationValue:
      endPoint: /v1/masterdata/templates/search
      uniqueIdentifier: TC_Masterdata_SearchTemplateDetails_13
      description: Search for template details with invalid pagination value
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchTemplateDetails/searchTemplateDetails
      outputTemplate: masterdata/error
      input: '{
    "filters": [{
        "columnName": "name",
        "type": "equals",
        "value": "Test-template"
      }
    ],
    "sort": [
      {
			        "sortField": "name",
			        "sortType": "ASC"
			      }
    ],
  
      "pageStart": abc,
      "pageFetch": 1,
    "languageCode": "eng",
  "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : pagination"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy