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

masterdata.GetDocCategoryByLangCode.GetDocCategoryByLangCode.yml Maven / Gradle / Ivy

The newest version!
GetDocCategoryByLangCode:
   Admin_GetDocCategoryByLangCode_allValid_smoke:
      endPoint: /v1/masterdata/documentcategories/{code}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetDocCategoryByLangCode_01
      description: Retrieve document categories based on a valid code and language code
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/GetDocCategoryByLangCode/getDocCategoryByLangCode
      outputTemplate: masterdata/GetDocCategoryByLangCode/getDocCategoryByLangCodeResult
      input: '{
      "code":"POA",
      "langcode":"eng"
}'
      output: '{
}'

   Admin_GetDocCategoryByLangCode_Invalid_code:
      endPoint: /v1/masterdata/documentcategories/{code}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetDocCategoryByLangCode_02
      description: Retrieve document categories based on a invalid code and an valid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetDocCategoryByLangCode/getDocCategoryByLangCode
      outputTemplate: masterdata/error
      input: '{
      "code":"INVALID",
      "langcode":"eng"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-014",
      "message": "Document Category not found"
    }
  ]
}'

   Admin_GetDocCategoryByLangCode_Invalid_langcode:
      endPoint: /v1/masterdata/documentcategories/{code}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetDocCategoryByLangCode_03
      description: Retrieve document categories based on a valid code and an invalid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetDocCategoryByLangCode/getDocCategoryByLangCode
      outputTemplate: masterdata/error
      input: '{
      "code":"POA",
      "langcode":"eng1"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-014",
      "message": "Document Category not found"
    }
  ]
}'  




© 2015 - 2025 Weber Informatics LLC | Privacy Policy