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

masterdata.FetchLocation.FetchLocation.yml Maven / Gradle / Ivy

The newest version!
FetchLocation:
   MasterData_FetchLocation_langcode_smoke:
      endPoint: /v1/masterdata/locations/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_01
      description: Retrieve Location details with langcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationResult
      input: '{
      "langcode": "eng",
      "locationname": "$REMOVE$",
      "locationcode": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
"locations": [{
        "isActive": true
      }]
}'
   MasterData_FetchLocation_invalid_langcode:
      endPoint: /v1/masterdata/locations/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_02
      description: Retrieve Location details with invalid langcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/error
      input: '{
      "langcode": "en@@ddddg",
      "locationname": "$REMOVE$",
      "locationcode": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-026",
      "message": "Location not found"
    }
  ]
}'
   MasterData_FetchLocation_langcode_locationcode_smoke:
      endPoint: /v1/masterdata/locations/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_03
      description: Retrieve Location details with valid langcode and locationcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationResult
      input: '{
      "langcode": "eng",
      "locationcode": "$LOCATIONCODE$",
      "locationname": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
"locations": [{
        "isActive": true
      }]
}'
   MasterData_FetchLocation_langcode_invalid_locationcode:
      endPoint: /v1/masterdata/locations/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_04
      description: Retrieve Location details with valid langcode and invalid locationcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/error
      input: '{
      "langcode": "eng",
      "locationcode": "10@@EDDD6",
      "locationname": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-026",
      "message": "Location not found"
    }
  ]
}'
   MasterData_FetchLocation_locationcode_invalid_langcode:
      endPoint: /v1/masterdata/locations/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_05
      description: Retrieve Location details with invalid langcode and valid locationcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/error
      input: '{
      "langcode": "en@@@#EDFF",
      "locationcode": "$LOCATIONCODE$",
      "locationname": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-026",
      "message": "Location not found"
    }
  ]
}'
   MasterData_FetchLocation_details_by_Langcode_smoke:
      endPoint: /v1/masterdata/locations/info/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_06
      description: Retrieve Location details with valid langcode and locationcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationDetailsbyLangcodeResult
      input: '{
      "langcode": "eng",
      "locationcode": "$LOCATIONCODE$",
      "locationname": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
	"isActive": true
}'
   MasterData_FetchLocation_details_by_invalid_LanGcode:
      endPoint: /v1/masterdata/locations/info/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_07
      description: Retrieve Location details with invalid langcode and valid locationcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/error
      input: '{
      "langcode": "endgysgshw66wg",
      "locationcode": "$LOCATIONCODE$",
      "locationname": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-026",
      "message": "Location not found"
    }
  ]
}'
   MasterData_FetchLocation_details_by_invalid_locationcode:
      endPoint: /v1/masterdata/locations/info/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_08
      description: Retrieve Location details with valid langcode and invalid locationcode
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/error
      input: '{
      "langcode": "eng",
      "locationname": "$REMOVE$",
      "locationcode": "100sw33223@!@#36",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-026",
      "message": "Location not found"
    }
  ]
}'
   MasterData_FetchLocation_details_Langcode_smoke:
      endPoint: /v1/masterdata/locations/level/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_09
      description: Retrieve Location details using level with valid langcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationResult
      input: '{
      "langcode": "eng",
      "locationname": "$REMOVE$",
      "locationcode": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
	"isActive": true
}'
   MasterData_FetchLocation_details_hierarchyname_smoke:
      endPoint: /v1/masterdata/locations/locationhierarchy/{hierarchyname}
      uniqueIdentifier: TC_Masterdata_FetchLocation_10
      description: Retrieve Location details with Location Hierarchy
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationResult
      input: '{
      "langcode": "$REMOVE$",
      "locationname": "$REMOVE$",
      "locationcode": "$REMOVE$",
      "hierarchyname": "City"
      }'
      output: '{
"locations": [{
        "isActive": true
      }]
}'
   MasterData_FetchLocation_details_validate_locationname:
      endPoint: /v1/masterdata/locations/validate/{locationname}
      uniqueIdentifier: TC_Masterdata_FetchLocation_11
      description: Retrieve Location details with locationname
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationValidationResult
      input: '{
      "langcode": "$REMOVE$",
      "locationname": "10000",
      "locationcode": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
	"status": "Valid"
}'
   MasterData_FetchLocation_details_invalid_locationname:
      endPoint: /v1/masterdata/locations/validate/{locationname}
      uniqueIdentifier: TC_Masterdata_FetchLocation_12
      description: Retrieve Location details with invalid locationname
      role: admin
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationValidationResult
      input: '{
      "langcode": "$REMOVE$",
      "locationname": "000",
      "locationcode": "$REMOVE$",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
	"status": "Invalid"
}'
   MasterData_FetchLocation_immediatechildren:
      endPoint: /v1/masterdata/locations/immediatechildren/{locationcode}/{langcode}
      uniqueIdentifier: TC_Masterdata_FetchLocation_13
      description: Retrieve Location immediate children details with locationcode and langcode
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/FetchLocation/fetchLocation
      outputTemplate: masterdata/FetchLocation/fetchLocationImmediatechildrenResult
      input: '{
      "langcode": "eng",
      "locationname": "$REMOVE$",
      "locationcode": "BNMR",
      "hierarchyname": "$REMOVE$"
      }'
      output: '{
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy