def bulk_State( startId ):
    api_bulk_state = '/dataservice/data/device/state/' + data_type_parameter[data_type_ID-1]+ '?startId='+ str(startId) +'&count=' + str(count) 
    url_bulk_state = url(vmanage_host,vmanage_port,api_bulk_state)


    bulk_state = Operation.get_method(url_bulk_state,header)

    if data_type_ID == 1:
        for state in bulk_state['data']:
            print (f'''system-ip : {state['system-ip']} site-id : {state['site-id']}
                                                    color : {state['local-color']} src-ip : {state['src-ip']} dst-ip : {state['dst-ip']}
                                                    src-port : {state['src-port']} dst-port : {state['dst-port']} state : {state['state']}
                                                ''')

    print(bulk_state['pageInfo'])
    if bulk_state['pageInfo']['moreEntries'] == True:
        bulk_State(bulk_state['pageInfo']['endId'])