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

masterdata.TitleFilter.TitleFilter.yml Maven / Gradle / Ivy

The newest version!
TitleFilter:
   MasterData_TitleFilter_Unique_Name_eng_smoke:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_01
      description: Filter the title details by unique name and language code set to English
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/TitleFilter/titleFilterResult
      input: '{
	"filters": [{
		"columnName": "titleName",
		"type": "unique",
		"text": "Miss"
	}],
	"languageCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
    "filters": [
      {
        "fieldID": "titleName",
        "fieldValue": "Miss"
      }
    ]
  }'
   
   MasterData_TitleFilter_isActive__eng_smoke:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_02
      description: Filter the title details by is active, type is unique and language code set to English
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/TitleFilter/titleFilterResult
      input: '{
	"filters": [{
		"columnName": "isActive",
		"type": "unique",
		"text": "true"
	}],
	"languageCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
    "filters": [
      {
        "fieldID": "isActive",
        "fieldValue": "true"
      }
    ]
  }'
   MasterData_TitleFilter_Invalid_RequestTime_neg:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_03
      description: Filter the title details with invalid request time
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/error
      input: '{
	"filters": [{
		"columnName": "titleName",
		"type": "unique",
		"text": "TEST0011"
	}],
	"languageCode": "eng",
	"requesttime": "2019-7-3T05:22:35.845"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : requesttime"
    }
  ]
}'
   MasterData_TitleFilter_Invalid_Value_Name_neg:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_04
      description: Filter the title details with invalid name
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/TitleFilter/titleFilterResult
      input: '{
	"filters": [{
		"columnName": "titleName",
		"type": "unique",
		"text": "Language"
	}],
	"languageCode": "eng",
	"requesttime": "2019-7-3T05:22:35.845"
}'
      output: '{
    "filters": []
  }'
   MasterData_TitleFilter_isActive__eng_smoke:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_05
      description: Filter the title details by is active, type is between and language code set to English
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/error
      input: '{
	"filters": [{
		"columnName": "titleName",
		"type": "between",
		"text": "true"
	}],
	"languageCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-324",
      "message": "Received Filter Type not supported"
    }
  ]
}'
   
   MasterData_TitleFilter_inValid_FilterType_blank:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_06
      description: Filter the title details with invalid filter type
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/error
      input: '{
	"filters": [{
		"columnName": "titleName",
		"type": "",
		"text": "TEST0011"
	}],
	"languageCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-322",
      "message": "Filter Type cannot be empty or null"
    }
  ]
}'
   MasterData_TitleFilter_inValid_columnName:
      endPoint: /v1/masterdata/title/filtervalues
      uniqueIdentifier: TC_Masterdata_TitleFilter_07
      description: Filter the title details with invalid column name
      role: admin
      templateFields: ["text"]
      restMethod: post
      inputTemplate: masterdata/TitleFilter/titleFilter
      outputTemplate: masterdata/error
      input: '{
	"filters": [{
		"columnName": "lang_code",
		"type": "unique",
		"text": "TEST0011"
	}],
	"languageCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-317",
      "message": "$IGNORE$"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy