Module: PortfolioManager::Services::Property::VerificationInformation::Live

Included in:
All::Live
Defined in:
lib/portfolio_manager/services/property.rb

Overview

Live Environment

Instance Method Summary collapse

Instance Method Details

#add_property_verification_information(property_id, verification) ⇒ PortfolioManager::Xml::ResponseType

Add Property Verification Information

This web service adds verification information for a given property based on the information provided in the XML request.



599
600
601
# File 'lib/portfolio_manager/services/property.rb', line 599

def add_property_verification_information(property_id, verification)
  request(Net::HTTP::Post, path_for("property", property_id, "verification"), {}, {}, verification, "verification", PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#add_property_verification_professional_designation_information(property_id, designation_type_id, license_list) ⇒ PortfolioManager::Xml::ResponseType

Add Property Verification Professional Designation Information

This web service adds a specific professional designation to the verification information for a given property based on the information provided in the XML request. The property must have existing verification information.



617
618
619
# File 'lib/portfolio_manager/services/property.rb', line 617

def add_property_verification_professional_designation_information(property_id, designation_type_id, license_list)
  request(Net::HTTP::Post, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, license_list, "licenseList", PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#delete_property_verification_information(property_id) ⇒ PortfolioManager::Xml::ResponseType

Delete Property Verification Information

This web service deletes the verification information for a given property.



631
632
633
# File 'lib/portfolio_manager/services/property.rb', line 631

def delete_property_verification_information(property_id)
  request(Net::HTTP::Delete, path_for("property", property_id, "verification"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#delete_property_verification_professional_designation_information(property_id) ⇒ PortfolioManager::Xml::ResponseType

Delete Property Verification Professional Designation Information

This web service deletes all of the professional designation portion of the verification information for a specific property specified in the URL.



646
647
648
# File 'lib/portfolio_manager/services/property.rb', line 646

def delete_property_verification_professional_designation_information(property_id)
  request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation"), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#delete_specific_professional_designation_license_from_property_verification_information(property_id, designation_type_id, index) ⇒ PortfolioManager::Xml::ResponseType

Delete Specific Professional Designation License from Property’s Verification Information

This web service deletes a specific professional designation license from a given property’s verification information. Any existing licenses under the specific professional designation are re-indexed.



664
665
666
# File 'lib/portfolio_manager/services/property.rb', line 664

def delete_specific_professional_designation_license_from_property_verification_information(property_id, designation_type_id, index)
  request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id, index), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#delete_specific_professional_designation_type_from_property_verification_information(property_id, designation_type_id) ⇒ PortfolioManager::Xml::ResponseType

Delete Specific Professional Designation Type From Property’s Verification Information

This web service deletes a specific professional designation type and its licenses from a given property’s verification information.



680
681
682
# File 'lib/portfolio_manager/services/property.rb', line 680

def delete_specific_professional_designation_type_from_property_verification_information(property_id, designation_type_id)
  request(Net::HTTP::Delete, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, nil, nil, PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#get_professional_designation_types_listPortfolioManager::Xml::ProfessionalDesignationList, PortfolioManager::Xml::ResponseType

Get Professional Designation Types List



690
691
692
# File 'lib/portfolio_manager/services/property.rb', line 690

def get_professional_designation_types_list
  request(Net::HTTP::Get, path_for("property", "professionalDesignation", "list"), {}, {}, nil, nil, PortfolioManager::Xml::ProfessionalDesignationList, basic_auth: true)
end

#get_property_verification_information(property_id) ⇒ PortfolioManager::Xml::Verification, PortfolioManager::Xml::ResponseType

Get Property Verification Information

This web service retrieves verification information for a specific property specified in the URL.



704
705
706
# File 'lib/portfolio_manager/services/property.rb', line 704

def get_property_verification_information(property_id)
  request(Net::HTTP::Get, path_for("property", property_id, "verification"), {}, {}, nil, nil, PortfolioManager::Xml::Verification, basic_auth: true)
end

#get_property_verification_professional_designation_information(property_id) ⇒ PortfolioManager::Xml::ProfessionalDesignationList, PortfolioManager::Xml::ResponseType

Get Property Verification Professional Designation Information

This web service retrieves the professional designation portion of the verification information for a specific property specified in the URL.



719
720
721
# File 'lib/portfolio_manager/services/property.rb', line 719

def get_property_verification_professional_designation_information(property_id)
  request(Net::HTTP::Get, path_for("property", property_id, "verification", "professionalDesignation"), {}, {}, nil, nil, PortfolioManager::Xml::ProfessionalDesignationList, basic_auth: true)
end

#update_property_verification_information(property_id, verification) ⇒ PortfolioManager::Xml::ResponseType

Update Property Verification Information

This web service updates verification information for a given property based on the information provided in the XML request.



734
735
736
# File 'lib/portfolio_manager/services/property.rb', line 734

def update_property_verification_information(property_id, verification)
  request(Net::HTTP::Put, path_for("property", property_id, "verification"), {}, {}, verification, "verification", PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#update_property_verification_professional_designation_information(property_id, designation_type_id, license_list) ⇒ PortfolioManager::Xml::ResponseType

Update Property Verification Professional Designation Information

This web service updates a specific professional designation and its licenses for a given property’s verification information by deleting all of the licenses for the specific professional designation and replacing the licenses with the information provided in the XML request. The property must have existing verification information.



753
754
755
# File 'lib/portfolio_manager/services/property.rb', line 753

def update_property_verification_professional_designation_information(property_id, designation_type_id, license_list)
  request(Net::HTTP::Put, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id), {}, {}, license_list, "licenseList", PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#update_specific_professional_designation_license_of_property_verification_information(property_id, designation_type_id, index, license) ⇒ PortfolioManager::Xml::ResponseType

Update Specific Professional Designation License of Property’s Verification Information

This web service updates a specific professional designation license for a given property’s verification information based on the information provided in the XML request. The property must have existing verification information.



773
774
775
# File 'lib/portfolio_manager/services/property.rb', line 773

def update_specific_professional_designation_license_of_property_verification_information(property_id, designation_type_id, index, license)
  request(Net::HTTP::Put, path_for("property", property_id, "verification", "professionalDesignation", designation_type_id, index), {}, {}, license, "license", PortfolioManager::Xml::ResponseType, basic_auth: true)
end