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

masterdata.GetModuleByIdLangCode.GetModuleByIdLangCode.yml Maven / Gradle / Ivy

The newest version!
GetModuleByIdLangCode:
   Admin_GetModuleByIdLangCode_allValid_smoke:
      endPoint: /v1/masterdata/modules/{id}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_01
      description: Retrieve module details by by valid ID and language code
      role: admin
      templateFields: ["langcode"]
      restMethod: get
      inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
      outputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCodeResult
      input: '{
      "id":"10001",
      "langcode":"eng"
}'
      output: '{
"modules": [{
       "id": "$IGNORE$",
        "name": "$IGNORE$",
        "langCode": "$IGNORE$",
        "description": "$IGNORE$",
        "isActive": true
    }]
}'

   Admin_GetModuleByIdLangCode_Invalid_Invalid_langcode:
      endPoint: /v1/masterdata/modules/{id}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_02
      description: Retrieve module details by by valid ID and invalid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
      outputTemplate: masterdata/error
      input: '{
      "id":"10001",
      "langcode":"abc"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-248",
      "message": "Module not Found"
    }
  ]
}'

   Admin_GetModuleByIdLangCode_Invalid_Invalid_lD:
      endPoint: /v1/masterdata/modules/{id}/{langcode}
      uniqueIdentifier: TC_Masterdata_GetModuleByIdLangCode_03
      description: Retrieve module details by by invalid ID and valid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetModuleByIdLangCode/getModuleByIdLangCode
      outputTemplate: masterdata/error
      input: '{
      "id":"abc",
      "langcode":"eng"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-248",
      "message": "Module not Found"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy