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

masterdata.GetWeekDay.GetWeekDay.yml Maven / Gradle / Ivy

The newest version!
GetWeekDay:
   MasterData_GetWeekDay_allValid_smoke:
      endPoint: /v1/masterdata/weekdays/{registrationCenterId}/{langCode}
      uniqueIdentifier: TC_Masterdata_GetWeekDay_01
      description: Retrieve weekday details with registration center ID and valid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetWeekDay/getWeekDay
      outputTemplate: masterdata/GetWeekDay/getWeekDayResult
      input: '{
  "registrationCenterId":"10001",
  "langCode": "eng"
}'
      output: '{
      "weekdays": [{
        "languageCode": "$IGNORE$"
      }]
}'
   MasterData_GetWeekDay_InValid_InvalidLangCode:
      endPoint: /v1/masterdata/weekdays/{registrationCenterId}/{langCode}
      uniqueIdentifier: TC_Masterdata_GetWeekDay_02
      description: Retrieve weekday details with registration center ID and invalid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetWeekDay/getWeekDay
      outputTemplate: masterdata/error
      input: '{
  "registrationCenterId":"10001",
  "langCode": "eng1"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Language Code is Invalid"
    }
  ]
}'

   MasterData_GetWeekDay_InValid_InvalidRegCentCode:
      endPoint: /v1/masterdata/weekdays/{registrationCenterId}/{langCode}
      uniqueIdentifier: TC_Masterdata_GetWeekDay_03
      description: Retrieve weekday details with invalid registration center ID and valid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetWeekDay/getWeekDay
      outputTemplate: masterdata/error
      input: '{
  "registrationCenterId":"abc",   
  "langCode": "eng"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-802",
      "message": "Center ID is invalid"
    }
  ]
}'
   




© 2015 - 2025 Weber Informatics LLC | Privacy Policy