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

masterdata.TemplateFileFormat.CreateTemplateFileFormat.yml Maven / Gradle / Ivy

The newest version!
CreateTemplateFileFormat:
   Masterdata_CreateTemplateFileFormat_All_Valid_Smoke_sid:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_01
      description: Create template file format with valid details
      role: admin
      templateFields: ["langCode"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/TemplateFileFormat/templateFileFormatResult
      input: '{
    "code": "Doc",
    "description": "Doc Test",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
	"code": "Doc"
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Description_AboveMaxLen256:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_02
      description: Create a template file format with the input parameter description exceeding the maximum length of 256 characters
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "Docx",
    "description": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvW",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.description: Should not be blank or size must be between 1 and 256"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Description_Missing:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_03
      description: Create a template file format with the input parameter description as missing
      role: admin
      templateFields: ["langCode"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "Docxx",
    "description": "$REMOVE$",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.description: must not be null"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Description_Empty:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_04
      description: Create a template file format with the input parameter description as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "Docxx",
    "description": "",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.description: Should not be blank or size must be between 1 and 256"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Code_Missing:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_05
      description: Create a template file format with the input parameter code as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "$REMOVE$",
    "description": "Docxx Test",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.code: must not be null"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Code_Empty:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_06
      description: Create a template file format with the input parameter code as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "",
    "description": "Docxx Test",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.code: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_Code_AboveMaxLen36:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_07
      description: Create a template file format with the input parameter code exceeding the maximum length of 36 characters
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "description": "Docxx Test",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.code: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_LangCode_AboveMaxLen3:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_08
      description: Create a template file format with the input parameter language code exceeding the maximum length of 3 characters
      role: admin
      templateFields: []
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "docx1",
    "description": "Docxx Test",
	"isActive": false,
	"langCode": "engr",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_CreateTemplateFileFormat_InputParameter_isActive_Missing:
      endPoint: /v1/masterdata/templatefileformats
      uniqueIdentifier: TC_Masterdata_CreateTemplateFileFormat_09
      description: Create a template file format with the input parameter is active as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateFileFormat/templateFileFormat
      outputTemplate: masterdata/error
      input: '{
    "code": "docx1",
    "description": "Docxx Test",
	"isActive": "$REMOVE$",
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.isActive: must not be null"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy