public function batchAllocateLocal($params)
    {
        $this->validateSearchQuery($params);
        $args = Ensure::Input($params);
        $url = URIResource::Make($this->availablePath, array("local"));
        $data = $this->client->post($url, $args->get(), true, false, true /* mixed uses GET parameters */);
        return new PhoneNumbersCollection(new DataPacketCollection($data));
    }
public function batchAllocateLocal($params)
    {
        $this->validateSearchQuery($params);
        $args = Ensure::Input($params);
        $url = URIResource::Make($this->availablePath, array("local"));
        $data = $this->client->post($url, $args->get(), true, false, true /* mixed uses GET parameters */);
        return new PhoneNumbersCollection(new DataPacketCollection($data));
    }
public function batchAllocateLocal ( $ params ) { $ this -> validateSearchQuery ( $ params ) ; $ args = Ensure :: Input ( $ params ) ; $ url = URIResource :: Make ( $ this -> availablePath , array ( "local" ) ) ; $ data = $ this -> client -> post ( $ url , $ args -> get ( ) , true , false , true /* mixed uses GET parameters */ ) ; return new PhoneNumbersCollection ( new DataPacketCollection ( $ data ) ) ; }
Allocate numbers in batch
where numbers must be local

notes:
1. state, zip and area_code are mutually exclusive,
you may use only one of them per calling list_local.
2. local_number and in_local_calling_area only applies
for searching numbers in specific area_code.
@param params
Allocate numbers in batch where numbers must be local