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

masterdata.RegCenterType.UpdateRegCenterType.yml Maven / Gradle / Ivy

The newest version!
UpdateRegCenterType:
   MasterData_UpdateRegCenterType_All_Valid_Smoke:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_UpdateRegCenterType_01
      description: Update registration centre type with valid data
      role: admin
      templateFields: ["name","descr","langCode"]
      restMethod: put
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/RegCenterType/regCenterTypeResult
      input: '{
    "code": "$ID:CreateRegCenterType_All_Valid_Smoke_sid_code$",
    "langCode": "eng",
    "name": "alternate",
    "descr": "alternate center updated",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"code": "ALT-3"
}'
   
   MasterData_UpdateRegCenterType_InputParameter_Name_Missing:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_UpdateRegCenterType_02
      description: Update a registration center type with the name parameter as missing
      role: admin
      templateFields: ["descr"]
      restMethod: put
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-3",
    "langCode": "eng",
    "name": "$REMOVE$",
    "descr": "alternate center updated",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: must not be null"
    }
  ]
}'
   MasterData_UpdateRegCenterType_InputParameter_Name_Empty:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_UpdateRegCenterType_03
      description: Update a registration center type with the name parameter as empty
      role: admin
      templateFields: ["descr"]
      restMethod: put
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-3",
    "langCode": "eng",
    "name": "",
    "descr": "alternate center updated",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_UpdateRegCenterType_InputParameter_Name_AboveMaxLen64:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_UpdateRegCenterType_04
      description: Update a registration center type with the name parameter exceeding the maximum length of 64 characters
      role: admin
      templateFields: ["name","descr"]
      restMethod: put
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-3",
    "langCode": "eng",
    "name": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm",
    "descr": "alternate center updated",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_UpdateRegCenterType_InputParameter_Description_AboveMaxLen256:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_UpdateRegCenterType_05
      description: Update a registration center type with the description parameter exceeding the maximum length of 256 characters
      role: admin
      templateFields: ["name","descr"]
      restMethod: put
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "alternate",
    "descr": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvW",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.descr: size must be between 0 and 128"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy