(domain, case_id, case_properties=None, close=False,
                xmlns=None, device_id=None, owner_id=None)
return submit_case_blocks(
        ElementTree.tostring(caseblock.as_xml(), encoding='utf-8').decode('utf-8'),
        domain,
        user_id=SYSTEM_USER_ID,
        xmlns=xmlns,
        device_id=device_id,
    )
Updates or closes a case (or both) by submitting a form.
    domain - the case's domain
    case_id - the case's id
    case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                      to ignore case updates, leave this argument out
    close - True to close the case, False otherwise
    xmlns - pass in an xmlns to use it instead of the default
    device_id - see submit_case_blocks device_id docs
Updates or closes a case (or both) by submitting a form.
    domain - the case's domain
    case_id - the case's id
    case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                      to ignore case updates, leave this argument out
    close - True to close the case, False otherwise
    xmlns - pass in an xmlns to use it instead of the default
    device_id - see submit_case_blocks device_id docs
Updates or closes a case ( or both ) by submitting a form . domain - the case s domain case_id - the case s id case_properties - to update the case pass in a dictionary of { name1 : value1 ... } to ignore case updates leave this argument out close - True to close the case False otherwise xmlns - pass in an xmlns to use it instead of the default device_id - see submit_case_blocks device_id docs
def update_case(domain, case_id, case_properties=None, close=False,
                xmlns=None, device_id=None, owner_id=None):
    """
    Updates or closes a case (or both) by submitting a form.
    domain - the case's domain
    case_id - the case's id
    case_properties - to update the case, pass in a dictionary of {name1: value1, ...}
                      to ignore case updates, leave this argument out
    close - True to close the case, False otherwise
    xmlns - pass in an xmlns to use it instead of the default
    device_id - see submit_case_blocks device_id docs
    """
    caseblock = _get_update_or_close_case_block(case_id, case_properties, close, owner_id)
    return submit_case_blocks(
        ElementTree.tostring(caseblock.as_xml(), encoding='utf-8').decode('utf-8'),
        domain,
        user_id=SYSTEM_USER_ID,
        xmlns=xmlns,
        device_id=device_id,
    )
def update_case ( domain , case_id , case_properties = None , close = False , xmlns = None , device_id = None , owner_id = None ) : caseblock = _get_update_or_close_case_block ( case_id , case_properties , close , owner_id ) return submit_case_blocks ( ElementTree . tostring ( caseblock . as_xml ( ) , encoding = 'utf-8' ) . decode ( 'utf-8' ) , domain , user_id = SYSTEM_USER_ID , xmlns = xmlns , device_id = device_id , )