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

masterdata.GetMachineHistory.GetMachineHistory.yml Maven / Gradle / Ivy

The newest version!
GetMachineHistory:
   Admin_GetMachineHistory_allValid_smoke:
      endPoint: /v1/masterdata/machineshistories/{id}/{langcode}/{effdatetimes}
      uniqueIdentifier: TC_Masterdata_GetMachineHistory_01
      description: Retrieve machine history details using valid ID, language code and effective date
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/GetMachineHistory/getMachineHistory
      outputTemplate: masterdata/GetMachineHistory/getMachineHistoryResult
      input: '{
      "id":"10001",
      "langcode":"eng",
      "effdatetimes":"$TIMESTAMP$"
}'
      output: '{
"machineHistoryDetails": [{
       "id": "10001",
        "name": "$IGNORE$",
        "langCode": "$IGNORE$",
        "isActive": true,
        "serialNum": "$IGNORE$",
        "ipAddress": "$IGNORE$",
        "macAddress": "$IGNORE$",
        "machineSpecId": "$IGNORE$",
        "effectDateTime": "$IGNORE$",
        "validityDateTime": "$IGNORE$"
    }]
}'

   Admin_GetMachineHistory_Invalid_Invalid_lD:
      endPoint: /v1/masterdata/machineshistories/{id}/{langcode}/{effdatetimes}
      uniqueIdentifier: TC_Masterdata_GetMachineHistory_02
      description: Retrieve machine history details using an invalid ID, valid language code, and valid effective date
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetMachineHistory/getMachineHistory
      outputTemplate: masterdata/error
      input: '{
      "id":"abc",
      "langcode":"eng",
      "effdatetimes":"2021-10-19T06:04:22.475Z"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-032",
      "message": "Machine History not found"
    }
  ]
}'

   Admin_GetMachineHistory_Invalid_Invalid_effdatetimes:
      endPoint: /v1/masterdata/machineshistories/{id}/{langcode}/{effdatetimes}
      uniqueIdentifier: TC_Masterdata_GetMachineHistory_03
      description: Retrieve machine history details using an valid ID, valid language code, and invalid effective date
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetMachineHistory/getMachineHistory
      outputTemplate: masterdata/error
      input: '{
      "id":"10001",
      "langcode":"eng",
      "effdatetimes":"abc"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-033",
      "message": "$IGNORE$"
    }
  ]
}'

   Admin_GetMachineHistory_Invalid_Invalid_langCode:
      endPoint: /v1/masterdata/machineshistories/{id}/{langcode}/{effdatetimes}
      uniqueIdentifier: TC_Masterdata_GetMachineHistory_04
      description: Retrieve machine history details using an valid ID, invalid language code, and valid effective date
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetMachineHistory/getMachineHistory
      outputTemplate: masterdata/error
      input: '{
      "id":"10001",
      "langcode":"abc",
      "effdatetimes":"2021-10-19T06:04:22.475Z"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-032",
      "message": "$IGNORE$"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy