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

masterdata.MachineSpecification.UpdateMachineSpecification.yml Maven / Gradle / Ivy

The newest version!
UpdateMachineSpecification:
   Masterdata_UpdateMachineSpecification_All_Valid_Smoke:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_01
      description: Update machine specification details with valid details
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["description"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/MachineSpecification/MachineSpecificationResult
      input: '{
    "brand": "HP",
    "description": "HP brand updated",
    "id": "$ID:CreateMachineSpecification_All_Valid_Smoke_sid_id$",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "Laptop2",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "HP",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"id": "$IGNORE$"
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Name_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_02
      description: Update machine specification details with parameter name as missing
      role: admin
      templateFields: []
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "$REMOVE$",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: must not be null"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Name_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_03
      description: Update machine specification details with parameter name as empty
      role: admin
      templateFields: []
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Name_AboveMaxLen64:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_04
      description: Update machine specification details with parameter name characters above maximum level 64
      role: admin
      templateFields: []
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Brand_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_05
      description: Update machine specification details with parameter brand as missing
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "$REMOVE$",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: must not be null"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Brand_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_06
      description: Update machine specification details with parameter brand as empty
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: Should not be blank or size must be between 1 and 32"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Brand_AboveMaxLen32:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_07
      description: Update machine specification details with parameter brand characters above maximum length 32
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: Should not be blank or size must be between 1 and 32"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Model_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_08
      description: Update machine specification details with parameter model as missing
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "$REMOVE$",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: must not be null"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Model_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_09
      description: Update machine specification details with parameter model as empty
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Model_AboveMaxLen16:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_10
      description: Update machine specification details with parameter model characters above maximum length 16
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "qwertyuiopasdfg17",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_machineTypeCode_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_11
      description: Update machine specification details with parameter machine type code as missing
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "$REMOVE$",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: must not be null"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_machineTypeCode_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_12
      description: Update machine specification details with parameter machine type code as empty
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_machineTypeCode_AboveMaxLen36:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_13
      description: Update machine specification details with parameter machine type code characters above maximum length 36
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Invalid_machineTypeCode:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_14
      description: Update machine specification details with invalid machine type code
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DMR",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-722",
      "message": "Invalid mtype_code received"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_MinDriverversion_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_15
      description: Update machine specification details with invalid min driver version as missing
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "$REMOVE$",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: must not be null"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_MinDriverversion_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_16
      description: Update machine specification details with invalid min driver version as empty
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_MinDriverversion_AboveMaxLen16:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_17
      description: Update machine specification details with invalid min driver version characters above maximum length 16
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "qwertyuiopasdfg17",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_UpdateMachineSpecification_InputParameter_Description_AboveMaxLen256:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_UpdateMachineSpecification_18
      description: Update machine specification details with invalid description characters above maximum length 256
      role: admin
      templateFields: ["name"]
      restMethod: put
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvW",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3,2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.description: size must be between 0 and 256"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy