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

masterdata.TemplateType.CreateTemplateType.yml Maven / Gradle / Ivy

The newest version!
CreateTemplateType:
   MasterData_CreateTemplateType_All_Valid_Smoke:
      endPoint: /v1/masterdata/templatetypes
      uniqueIdentifier: TC_Masterdata_CreateTemplateType_01
      description: Create template type with valid details
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateType/templateType
      outputTemplate: masterdata/TemplateType/templateTypeResult
      input: '{
     "code": "Test-info-Template-auto",
    "description": "Test-info-Template auto description",
    "isActive":true,
    "langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
	"code": "Test-info-Template-auto"
}'
   
   
   MasterData_CreateTemplateType_InputParameter_Code_Missing:
      endPoint: /v1/masterdata/templatetypes
      uniqueIdentifier: TC_Masterdata_CreateTemplateType_02
      description: Create template type with input parameter code as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateType/templateType
      outputTemplate: masterdata/error
      input: '{
     "code": "$REMOVE$",
    "description": "Test-info-Template desc",
    "isActive":true,
    "langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.code: must not be null"
    }
  ]
}'
   MasterData_CreateTemplateType_InputParameter_Code_AboveMaxLen36:
      endPoint: /v1/masterdata/templatetypes
      uniqueIdentifier: TC_Masterdata_CreateTemplateType_03
      description: Create template type with input parameter code exceeding the maximum length of 36 characters
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateType/templateType
      outputTemplate: masterdata/error
      input: '{
     "code": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "description": "Test-info-Template desc",
    "isActive":true,
    "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_CreateTemplateType_InputParameter_isActive_Missing:
      endPoint: /v1/masterdata/templatetypes
      uniqueIdentifier: TC_Masterdata_CreateTemplateType_04
      description: Create template type with input parameter is active as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/TemplateType/templateType
      outputTemplate: masterdata/error
      input: '{
     "code": "Test-info-Template",
    "description": "Test-info-Template desc",
    "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