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

masterdata.GetDocumentTypeByLangCode.GetDocumentTypeByLangCode.yml Maven / Gradle / Ivy

The newest version!
GetDocumentTypeByLangCode:
   Masterdata_GetDocumentTypeByLangCode_allValid_smoke:
      endPoint: /v1/masterdata/documenttypes/{langcode}
      uniqueIdentifier: TC_Masterdata_GetDocumentTypeByLangCode_01
      description: Retrieve document type by valid language code
      role: admin
      checkErrorsOnlyInResponse: true
      restMethod: get
      inputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCode
      outputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCodeResult
      input: '{
      "langcode":"eng"
}'
      output: '{
"documenttypes": [{
       "code": "$IGNORE$",
        "name": "$IGNORE$",
        "description": "$IGNORE$",
        "isActive": "$IGNORE$"
    }]
}'

   Masterdata_GetDocumentTypeByLangCode_InValid_langcode:
      endPoint: /v1/masterdata/documenttypes/{langcode}
      uniqueIdentifier: TC_Masterdata_GetDocumentTypeByLangCode_02
      description: Retrieve document type by invalid language code
      role: admin
      restMethod: get
      inputTemplate: masterdata/GetDocumentTypeByLangCode/getDocumentTypeByLangCode
      outputTemplate: masterdata/error
      input: '{
      "langcode":"eng1"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-118",
      "message": "Document Type not found"
    }
  ]
}'

   




© 2015 - 2025 Weber Informatics LLC | Privacy Policy