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

masterdata.RegistrationCenter.CreateRegistrationCenter.yml Maven / Gradle / Ivy

The newest version!
CreateRegistrationCenter:
   MasterData_CreateRegCenter_allValid_smoke_sid:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_01
      description: Create registration center with valid details
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["addressLine1","addressLine2","addressLine3","langCode"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/RegistrationCenter/registrationCenterResult
      input: '{
   "addressLine1":"sdfg",
   "addressLine2":"",
   "addressLine3":"",
   "centerEndTime":"03:30:00",
   "centerStartTime":"00:00:00",
   "centerTypeCode":"REG",
   "contactPerson":"rtestsd",
   "contactPhone":"",
   "holidayLocationCode":"$LOCATIONCODE$",
   "langCode":"hin",
   "latitude":"78.5478",
   "locationCode":"$ID:CreateLocationData_WithMandatoryLanguage_All_Valid_Smoke_Sid_code$",
   "longitude":"45.2456",
   "lunchEndTime":"00:00:00",
   "lunchStartTime":"00:00:00",
   "name":"$ID:CreateLocationData_WithMandatoryLanguage_All_Valid_Smoke_Sid_name$",
   "perKioskProcessTime":"00:30:00",
   "timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
   "workingHours":3.5,
   "zoneCode":"RBT",
   "id":"",
   "isActive":"false",
   "numberOfKiosks":"1",
   "exceptionHolidayDate":"2021-11-12",
   "exceptionHolidayName":"",
   "exceptionHolidayReson":"",
   "version":"1.0",
   "requesttime":"$TIMESTAMP$"
}'
      output: '{
   "name": "$IGNORE$"
}'   
   MasterData_CreateRegCenter_Invalid_HolidayLocationCode_blank_eng:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_02
      description: Create a registration center with holiday location code as empty and language code set to English
      role: admin
      templateFields: ["name","addressLine1","addressLine2","addressLine3","timeZone"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/error
      input: '{
    "addressLine1": "HSR",
    "addressLine2": "Venkatapura",
    "addressLine3": "kormangla",
    "centerEndTime": "17:00:00",
    "centerStartTime": "09:00:00",
    "centerTypeCode": "ALT-3",
    "contactPerson": "Venkat TestPerson",
    "contactPhone": "9663089998",
    "holidayLocationCode": "",
    "isActive": true,
    "langCode": "eng",
    "latitude": "33.995612",
    "locationCode": "$LOCATIONCODE$",
    "longitude": "-6.815281",
    "lunchEndTime": "14:00:00",
    "lunchStartTime": "13:00:00",
    "name": "BTM Center",
    "perKioskProcessTime": "00:15:00",
    "timeZone": "Test Time zone",
    "workingHours": "8:00:00",
    "zoneCode":"$ZONE_CODE$",
    "id": "96874",
    "exceptionHolidayDate": "2020-11-16",
    "exceptionHolidayName": "TestHoliday",
    "exceptionHolidayReson": "CenterCreation", 
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.holidayLocationCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   
   MasterData_CreateRegCenter_Invalid_latitude_blank_eng:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_03
      description: Create a registration center with latitude as empty and language code set to English
      role: admin
      templateFields: ["name","addressLine1","addressLine2","addressLine3","timeZone"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/error
      input: '{
    "addressLine1": "WhiteField",
    "addressLine2": "whiteBoard",
    "addressLine3": "kormangla",
    "centerEndTime": "17:00:00",
    "centerStartTime": "09:00:00",
    "centerTypeCode": "ALT-3",
    "contactPerson": "Venkat TestPerson",
    "contactPhone": "9663089998",
    "holidayLocationCode": "$LOCATIONCODE$",
    "isActive": true,
    "langCode": "eng",
    "latitude": "",
    "locationCode": "$LOCATIONCODE$",
    "longitude": "-6.815281",
    "lunchEndTime": "14:00:00",
    "lunchStartTime": "13:00:00",
    "name": "WhiteField Center",
    "perKioskProcessTime": "00:15:00",
    "timeZone": "Test Time zone",
    "workingHours": "8:00:00",
    "zoneCode":"$ZONE_CODE$",
    "id": "96874",
    "exceptionHolidayDate": "2020-11-16",
    "exceptionHolidayName": "TestHoliday",
    "exceptionHolidayReson": "CenterCreation", 
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.latitude: Should not be blank or size must be between 1 and 32"
    }
  ]
}'
   MasterData_CreateRegCenter_Invalid_latitude_eng:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_04
      description: Create a registration center with invalid latitude and language code set to English
      role: admin
      templateFields: ["name","addressLine1","addressLine2","addressLine3","timeZone"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/error
      input: '{
    "addressLine1": "WhiteField",
    "addressLine2": "whiteBoard",
    "addressLine3": "kormangla",
    "centerEndTime": "17:00:00",
    "centerStartTime": "09:00:00",
    "centerTypeCode": "ALT-3",
    "contactPerson": "Venkat TestPerson",
    "contactPhone": "9663089998",
    "holidayLocationCode": "$LOCATIONCODE$",
    "isActive": true,
    "langCode": "eng",
    "latitude": "fbheafg",
    "locationCode": "$LOCATIONCODE$",
    "longitude": "-6.8152",
    "lunchEndTime": "14:00:00",
    "lunchStartTime": "13:00:00",
    "name": "WhiteField Center",
    "perKioskProcessTime": "00:15:00",
    "timeZone": "Test Time zone",
    "workingHours": "8:00:00",
    "zoneCode":"$ZONE_CODE$",
    "id": "96874",
    "exceptionHolidayDate": "2020-11-16",
    "exceptionHolidayName": "TestHoliday",
    "exceptionHolidayReson": "CenterCreation", 
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-307",
      "message": "$IGNORE$"
    }
  ]
}'

   MasterData_CreateRegCenter_Blank_NumberOfKiosks_Neg:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_05
      description: Create a registration center with number of kiosks as empty and language code set to English
      role: admin
      templateFields: ["name","addressLine1","addressLine2","addressLine3","timeZone","langCode"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/error
      input: '{
   "addressLine1":"sdfg",
   "addressLine2":"",
   "addressLine3":"",
   "centerEndTime":"03:30:00",
   "centerStartTime":"00:00:00",
   "centerTypeCode":"REG",
   "contactPerson":"rtestsd",
   "contactPhone":"",
   "holidayLocationCode":"$LOCATIONCODE$",
   "langCode":"hin",
   "latitude":"78.5478",
   "locationCode":"$LOCATIONCODE$",
   "longitude":"45.2456",
   "lunchEndTime":"00:00:00",
   "lunchStartTime":"00:00:00",
   "name":"Test123",
   "perKioskProcessTime":"00:30:00",
   "timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
   "workingHours":3.5,
   "zoneCode":"RBT",
   "id":"",
   "isActive":"false",
   "numberOfKiosks":null,
   "exceptionHolidayDate":"2021-11-12",
   "exceptionHolidayName":"",
   "exceptionHolidayReson":"",
   "version":"1.0",
   "requesttime":"$TIMESTAMP$"
   
}'
      output: '{
  "errors": [
    {
      "errorCode": "KER-MSD-281",
      "message": "$IGNORE$"
    }
  ]
}' 

   MasterData_CreateRegCenter_Negavtive_NumberOfKiosks_Neg:
      endPoint: /v1/masterdata/registrationcenters
      uniqueIdentifier: TC_Masterdata_CreateRegCenter_06
      description: Create a registration center with holiday location code as negative value and language code set to English
      role: admin
      templateFields: ["name","addressLine1","addressLine2","addressLine3","timeZone","langCode"]
      restMethod: post
      inputTemplate: masterdata/RegistrationCenter/registrationCenter
      outputTemplate: masterdata/error
      input: '{
   "addressLine1":"sdfg",
   "addressLine2":"",
   "addressLine3":"",
   "centerEndTime":"03:30:00",
   "centerStartTime":"00:00:00",
   "centerTypeCode":"REG",
   "contactPerson":"rtestsd",
   "contactPhone":"",
   "holidayLocationCode":"$LOCATIONCODE$",
   "langCode":"hin",
   "latitude":"78.5478",
   "locationCode":"$LOCATIONCODE$",
   "longitude":"45.2456",
   "lunchEndTime":"00:00:00",
   "lunchStartTime":"00:00:00",
   "name":"Test123",
   "perKioskProcessTime":"00:30:00",
   "timeZone":"(GTM+01:00) CENTRAL EUROPEAN TIME",
   "workingHours":3.5,
   "zoneCode":"RBT",
   "id":"",
   "isActive":"false",
   "numberOfKiosks":"-1",
   "exceptionHolidayDate":"2021-11-12",
   "exceptionHolidayName":"",
   "exceptionHolidayReson":"",
   "version":"1.0",
   "requesttime":"$TIMESTAMP$"
}'
      output: '{
  "errors": [
    {
      "errorCode": "KER-MSD-281",
      "message": "$IGNORE$"
    }
  ]
}'





© 2015 - 2025 Weber Informatics LLC | Privacy Policy