api.v2.inspections module

api.v2.inspections.update_inspection_dates(**payload)[source]

Given a dictionary containing information update inspection dates.

Parameters:
  • payload (dict) –
  • 'policy_number' ({) – ‘next_inspection_date’: str, ‘inspection_request_date’: str }
Returns:

  • success (bool) – True if completely successful, false if not
  • messages (list of str) – List of human-readable error messages
  • data (dict) – A dictionary containing the following:
    { ‘policy_number’: str, ‘property_id’: UUID, ‘next_inspection_date’: str, ‘inspection_request_date’: str }