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

masterdata.FetchTemplate.FetchTemplate.yml Maven / Gradle / Ivy

The newest version!
FetchTemplate:
   MasterData_FetchTemplate_allValid_smoke_Get:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_FetchTemplate_01
      description: Retrieve Templates with all valid data
      role: admin
      checkErrorsOnlyInResponse: true 
      restMethod: get
      inputTemplate: masterdata/FetchTemplate/fetchTemplate
      outputTemplate: masterdata/FetchTemplate/fetchTemplateResult
      input: '{
      "langcode": "$REMOVE$",
      "code": "$REMOVE$",
"templatetypecode": "$REMOVE$"  
}'
      output: '{
}'
   MasterData_FetchTemplate_allValid_ByLangcode_smoke:
      endPoint: /v1/masterdata/templates/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchTemplate_02
      description: Retrieve Templates with langcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchTemplate/fetchTemplate
      outputTemplate: masterdata/FetchTemplate/fetchTemplateResult
      input: '{
      "langcode": "eng",
      "code": "$REMOVE$",
"templatetypecode": "$REMOVE$"  
}'
      output: '{
}'
   MasterData_FetchTemplate_allValid_smoke_with_lang_and_templatetypecode:
      endPoint: /v1/masterdata/templates/{langcode}/{templatetypecode}
      uniqueIdentifier: TC_Masterdata_FetchTemplate_03
      description: Retrieve Templates with langcode and templatetypecode
      role: admin
      templateFields: ["langcode"]
      restMethod: get
      inputTemplate: masterdata/FetchTemplate/fetchTemplate
      outputTemplate: masterdata/FetchTemplate/fetchTemplateResult
      input: '{
      "langcode": "eng",
      "code": "$REMOVE$",
"templatetypecode": "Test-info-Template-auto"  
}'
      output: '{
"templates": [{
				"isActive": true
			}]
}'
   MasterData_FetchTemplate_invalid_templatetypecode_unexisting:
      endPoint: /v1/masterdata/templates/{langcode}/{templatetypecode}
      uniqueIdentifier: TC_Masterdata_FetchTemplate_04
      description: Retrieve Templates with langcode and nonexisting templatetypecode
      role: admin
      templateFields: []
      restMethod: get
      inputTemplate: masterdata/FetchTemplate/fetchTemplate
      outputTemplate: masterdata/error
      input: '{
      "langcode": "eng",
      "code": "$REMOVE$",
"templatetypecode": "notInDB"  
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-046",
      "message": "Template not found."
    }
  ]
}'
   MasterData_FetchTemplate_invalid_code:
      endPoint: /v1/masterdata/templates/templatetypecodes/{code}
      uniqueIdentifier: TC_Masterdata_FetchTemplate_05
      description: Retrieve Templates with invalid code
      role: admin
      templateFields: []
      restMethod: get
      inputTemplate: masterdata/FetchTemplate/fetchTemplate
      outputTemplate: masterdata/error
      input: '{
      "langcode": "$REMOVE$",
      "code": "RPR_DUP_UIN_RPR_DUP_UIN_",
"templatetypecode": "$REMOVE$"  
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-046",
      "message": "Template not found."
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy