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

masterdata.UpdateDocType.UpdateDocType.yml Maven / Gradle / Ivy

The newest version!
UpdateDocType:
   MasterData_UpdateDocType_All_Valid_Smoke_sid:  
      endPoint: /v1/masterdata/documenttypes?isActive=true&code=TestDocType0020
      uniqueIdentifier: TC_Masterdata_UpdateDocType_01
      description: Update document type with valid data
      role: admin
      restMethod: patch
      inputTemplate: masterdata/UpdateDocType/updateDocType
      outputTemplate: masterdata/UpdateDocType/updateDocTypeResult
      input: '{
    
}'
      output: '{
    "status": "Status updated successfully for Document Types"
}'

   MasterData_UpdateDocType_Invalid_status:  
      endPoint: /v1/masterdata/documenttypes?isActive=false&code=CIN
      uniqueIdentifier: TC_Masterdata_UpdateDocType_02
      description: Update document type with invalid status
      role: admin
      restMethod: patch
      inputTemplate: masterdata/UpdateDocType/updateDocType
      outputTemplate: masterdata/error
      input: '{
    
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-119",
      "message": "Mapping exist before deactivating remove the mapping"
    }
  ]
}'

   MasterData_UpdateDocType_Invalid_code:  
      endPoint: /v1/masterdata/documenttypes?isActive=true&code=ABC
      uniqueIdentifier: TC_Masterdata_UpdateDocType_03
      description: Update document type with invalid code
      role: admin
      restMethod: patch
      inputTemplate: masterdata/UpdateDocType/updateDocType
      outputTemplate: masterdata/error
      input: '{
    
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-118",
      "message": "Document Type not found"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy