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

masterdata.FetchHolidays.FetchHoliday.yml Maven / Gradle / Ivy

The newest version!
FetchHolidays:
   MasterData_FetchHolidays_allValid_smoke_get:
      endPoint: /v1/masterdata/holidays
      uniqueIdentifier: TC_Masterdata_FetchHolidays_01
      description: Retrieve Holiday details with all valid data
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/FetchHolidays/fetchHolidayResult
      input: '{
      "holidayid":"$REMOVE$",
      "langcode": "$REMOVE$"
      }'
      output: '{
}'
  
   MasterData_FetchHolidays_allValid_smoke_with_Id:
      endPoint: /v1/masterdata/holidays/{holidayid}
      uniqueIdentifier: TC_Masterdata_FetchHolidays_02
      description: Retrieve Holiday details with valid holidayid
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/FetchHolidays/fetchHolidayResult
      input: '{
      "holidayid":"2000001",
      "langcode":"$REMOVE$"
      }'
      output: '{
}'        
   MasterData_FetchHolidays_allValid_smoke_with_Id_and_langCode:
      endPoint: /v1/masterdata/holidays/{holidayid}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchHolidays_03
      description: Retrieve Holiday details with valid holidayid and langcode
      role: admin
      templateFields: ["langcode"]
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/FetchHolidays/fetchHolidayResult
      input: '{
      "holidayid":"$ID:CreateHoliday_All_Valid_Smoke_sid_holidayId$",
      "langcode":"eng"
      }'
      output: '{
  }'        
   MasterData_FetchHolidays_invalid_holidayid_unexisting:
      endPoint: /v1/masterdata/holidays/{holidayid}
      uniqueIdentifier: TC_Masterdata_FetchHolidays_04
      description: Retrieve Holiday details with nonexisting holidayid
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/error
      input: '{
      "holidayid":"2450001",
      "langcode":"$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-020",
      "message": "Holiday not found"
    }
  ]
}'        
   MasterData_FetchHolidays_invalid_holidayid_unexisting with langCode:
      endPoint: /v1/masterdata/holidays/{holidayid}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchHolidays_05
      description: Retrieve Holiday details with nonexisting holidayid and valid langCode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/error
      input: '{
      "holidayid":"2450001",
      "langcode":"eng"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-020",
      "message": "Holiday not found"
    }
  ]
}'        
   MasterData_FetchHolidays_invalid_langcode_unexisting:
      endPoint: /v1/masterdata/holidays/{holidayid}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchHolidays_06
      description: Retrieve Holiday details with nonexisting langcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchHolidays/fetchHoliday
      outputTemplate: masterdata/error
      input: '{
      "holidayid":"2450001",
      "langcode":"GER"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-020",
      "message": "Holiday not found"
    }
  ]
}'        




© 2015 - 2025 Weber Informatics LLC | Privacy Policy