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

masterdata.HolidaySearch.HolidaySearch.yml Maven / Gradle / Ivy

The newest version!
HolidaySearch:
   MasterData_HolidaySearch_equals_holidayName_eng_pos:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_01
      description: Search holiday details with the condition that it matches the holiday name and the page position for the English language
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/HolidaySearch/holidaySearchResult
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "equals",
        "value": "AutoTest user Eng",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   MasterData_HolidaySearch_equals_holidayName_ara_pos:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_02
      description: Search holiday details with the condition that it matches the holiday name and the page position for the Arabic language
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/HolidaySearch/holidaySearchResult
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "equals",
        "value": "AutoTest user Ara",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "ara",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   MasterData_HolidaySearch_startsWith_holidayName_eng_pos:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_03
      description: Search holiday details with the condition that it starts with the holiday name and the page position for the English language
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/HolidaySearch/holidaySearchResult
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "startsWith",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   MasterData_HolidaySearch_startsWith_holidayName_ara_pos:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_04
      description: Search holiday details with the condition that it starts with the holiday name and the page position for the Arabic language
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/HolidaySearch/holidaySearchResult
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "startsWith",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "ara",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   MasterData_HolidaySearch_contains_holidayName_eng_pos:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_05
      description: Search holiday details with the condition that it contains the holiday name and the page position for the English language
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/HolidaySearch/holidaySearchResult
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "contains",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   
   
   MasterData_HolidaySearch_Invalid_FilterType_neg:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_06
      description: Search holiday details with invalid filter type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "betweens",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'
   
   
   MasterData_HolidaySearch_Invalid_SortType_neg:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_07
      description: Search holiday details with invalid sort type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "equals",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "holidayName",
        "sortType": "adfdf"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-358",
      "message": "Sort type adfdf is not supported"
    }
  ]
}'
   MasterData_HolidaySearch_Invalid_SortField_neg:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_08
      description: Search holiday details with invalid sort field
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "equals",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "asgsgg",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-357",
      "message": "Invalid sort field asgsgg"
    }
  ]
}'
   MasterData_HolidaySearch_Invalid_RequestTime_neg:
      endPoint: /v1/masterdata/holidays/search
      uniqueIdentifier: TC_Masterdata_HolidaySearch_09
      description: Search holiday details with invalid request time
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/HolidaySearch/holidaySearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "holidayName",
        "type": "equals",
        "value": "AutoTest user",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "asgsgg",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "2019-7-3T05:22:35.845"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : requesttime"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy