1 package Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort;
4 use Class::Std::Fast::Storable;
5 use Scalar::Util qw(blessed);
6 use base qw(SOAP::WSDL::Client::Base);
8 # only load if it hasn't been loaded before
9 require Net::DashCS::Typemaps::EmergencyProvisioningService
10 if not Net::DashCS::Typemaps::EmergencyProvisioningService->can('get_class');
13 $_[0]->set_proxy('https://service.dashcs.com/dash-api/soap/emergencyprovisioning/v1') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Net::DashCS::Typemaps::EmergencyProvisioningService')
15 if not $_[2]->{class_resolver};
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
21 my ($self, $body, $header) = @_;
22 die "addLocation must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'addLocation',
31 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
33 parts => [qw( Net::DashCS::Elements::addLocation )],
45 sub getAuthenticationCheck {
46 my ($self, $body, $header) = @_;
47 die "getAuthenticationCheck must be called as object method (\$self is <$self>)" if not blessed($self);
48 return $self->SUPER::call({
49 operation => 'getAuthenticationCheck',
56 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
58 parts => [qw( Net::DashCS::Elements::getAuthenticationCheck )],
70 sub getProvisionedLocationByURI {
71 my ($self, $body, $header) = @_;
72 die "getProvisionedLocationByURI must be called as object method (\$self is <$self>)" if not blessed($self);
73 return $self->SUPER::call({
74 operation => 'getProvisionedLocationByURI',
81 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
83 parts => [qw( Net::DashCS::Elements::getProvisionedLocationByURI )],
95 sub validateLocation {
96 my ($self, $body, $header) = @_;
97 die "validateLocation must be called as object method (\$self is <$self>)" if not blessed($self);
98 return $self->SUPER::call({
99 operation => 'validateLocation',
106 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
108 parts => [qw( Net::DashCS::Elements::validateLocation )],
120 sub provisionLocation {
121 my ($self, $body, $header) = @_;
122 die "provisionLocation must be called as object method (\$self is <$self>)" if not blessed($self);
123 return $self->SUPER::call({
124 operation => 'provisionLocation',
131 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
133 parts => [qw( Net::DashCS::Elements::provisionLocation )],
146 my ($self, $body, $header) = @_;
147 die "removeURI must be called as object method (\$self is <$self>)" if not blessed($self);
148 return $self->SUPER::call({
149 operation => 'removeURI',
156 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
158 parts => [qw( Net::DashCS::Elements::removeURI )],
170 sub getProvisionedLocationHistoryByURI {
171 my ($self, $body, $header) = @_;
172 die "getProvisionedLocationHistoryByURI must be called as object method (\$self is <$self>)" if not blessed($self);
173 return $self->SUPER::call({
174 operation => 'getProvisionedLocationHistoryByURI',
181 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
183 parts => [qw( Net::DashCS::Elements::getProvisionedLocationHistoryByURI )],
196 my ($self, $body, $header) = @_;
197 die "removeLocation must be called as object method (\$self is <$self>)" if not blessed($self);
198 return $self->SUPER::call({
199 operation => 'removeLocation',
206 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
208 parts => [qw( Net::DashCS::Elements::removeLocation )],
221 my ($self, $body, $header) = @_;
222 die "getURIs must be called as object method (\$self is <$self>)" if not blessed($self);
223 return $self->SUPER::call({
224 operation => 'getURIs',
231 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
233 parts => [qw( Net::DashCS::Elements::getURIs )],
246 my ($self, $body, $header) = @_;
247 die "addPinCode must be called as object method (\$self is <$self>)" if not blessed($self);
248 return $self->SUPER::call({
249 operation => 'addPinCode',
256 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
258 parts => [qw( Net::DashCS::Elements::addPinCode )],
270 sub getLocationsByURI {
271 my ($self, $body, $header) = @_;
272 die "getLocationsByURI must be called as object method (\$self is <$self>)" if not blessed($self);
273 return $self->SUPER::call({
274 operation => 'getLocationsByURI',
281 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
283 parts => [qw( Net::DashCS::Elements::getLocationsByURI )],
307 Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort - SOAP Interface for the EmergencyProvisioningService Web Service
311 use Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort;
312 my $interface = Net::DashCS::Interfaces::EmergencyProvisioningService::EmergencyProvisioningPort->new();
315 $response = $interface->addLocation();
316 $response = $interface->getAuthenticationCheck();
317 $response = $interface->getProvisionedLocationByURI();
318 $response = $interface->validateLocation();
319 $response = $interface->provisionLocation();
320 $response = $interface->removeURI();
321 $response = $interface->getProvisionedLocationHistoryByURI();
322 $response = $interface->removeLocation();
323 $response = $interface->getURIs();
324 $response = $interface->addPinCode();
325 $response = $interface->getLocationsByURI();
331 SOAP Interface for the EmergencyProvisioningService web service
332 located at https://staging-service.dashcs.com/dash-api/soap/emergencyprovisioning/v1.
334 =head1 SERVICE EmergencyProvisioningService
338 =head2 Port EmergencyProvisioningPort
344 =head2 General methods
350 All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>.
352 =head2 SOAP Service methods
354 Method synopsis is displayed with hash refs as parameters.
356 The commented class names in the method's parameters denote that objects
357 of the corresponding class can be passed instead of the marked hash ref.
359 You may pass any combination of objects, hash and list refs to these
360 methods, as long as you meet the structure.
362 List items (i.e. multiple occurences) are not displayed in the synopsis.
363 You may generally pass a list ref of hash refs (or objects) instead of a hash
364 ref - this may result in invalid XML if used improperly, though. Note that
365 SOAP::WSDL always expects list references at maximum depth position.
367 XML attributes are not displayed in this synopsis and cannot be set using
368 hash refs. See the respective class' documentation for additional information.
376 Returns a L<Net::DashCS::Elements::addLocationResponse|Net::DashCS::Elements::addLocationResponse> object.
378 $response = $interface->addLocation( { # Net::DashCS::Types::addLocation
379 uri => { # Net::DashCS::Types::uri
380 callername => $some_value, # string
381 uri => $some_value, # string
383 location => { # Net::DashCS::Types::location
384 activatedtime => $some_value, # dateTime
385 address1 => $some_value, # string
386 address2 => $some_value, # string
387 callername => $some_value, # string
388 comments => $some_value, # string
389 community => $some_value, # string
390 customerorderid => $some_value, # string
391 latitude => $some_value, # double
392 legacydata => { # Net::DashCS::Types::legacyLocationData
393 housenumber => $some_value, # string
394 predirectional => $some_value, # string
395 streetname => $some_value, # string
396 suite => $some_value, # string
398 locationid => $some_value, # string
399 longitude => $some_value, # double
400 plusfour => $some_value, # string
401 postalcode => $some_value, # string
402 state => $some_value, # string
403 status => { # Net::DashCS::Types::locationStatus
404 code => $some_value, # locationStatusCode
405 description => $some_value, # string
407 type => $some_value, # locationType
408 updatetime => $some_value, # dateTime
413 =head3 getAuthenticationCheck
417 Returns a L<Net::DashCS::Elements::getAuthenticationCheckResponse|Net::DashCS::Elements::getAuthenticationCheckResponse> object.
419 $response = $interface->getAuthenticationCheck( { # Net::DashCS::Types::getAuthenticationCheck
423 =head3 getProvisionedLocationByURI
427 Returns a L<Net::DashCS::Elements::getProvisionedLocationByURIResponse|Net::DashCS::Elements::getProvisionedLocationByURIResponse> object.
429 $response = $interface->getProvisionedLocationByURI( { # Net::DashCS::Types::getProvisionedLocationByURI
430 uri => $some_value, # string
434 =head3 validateLocation
438 Returns a L<Net::DashCS::Elements::validateLocationResponse|Net::DashCS::Elements::validateLocationResponse> object.
440 $response = $interface->validateLocation( { # Net::DashCS::Types::validateLocation
441 location => { # Net::DashCS::Types::location
442 activatedtime => $some_value, # dateTime
443 address1 => $some_value, # string
444 address2 => $some_value, # string
445 callername => $some_value, # string
446 comments => $some_value, # string
447 community => $some_value, # string
448 customerorderid => $some_value, # string
449 latitude => $some_value, # double
450 legacydata => { # Net::DashCS::Types::legacyLocationData
451 housenumber => $some_value, # string
452 predirectional => $some_value, # string
453 streetname => $some_value, # string
454 suite => $some_value, # string
456 locationid => $some_value, # string
457 longitude => $some_value, # double
458 plusfour => $some_value, # string
459 postalcode => $some_value, # string
460 state => $some_value, # string
461 status => { # Net::DashCS::Types::locationStatus
462 code => $some_value, # locationStatusCode
463 description => $some_value, # string
465 type => $some_value, # locationType
466 updatetime => $some_value, # dateTime
471 =head3 provisionLocation
475 Returns a L<Net::DashCS::Elements::provisionLocationResponse|Net::DashCS::Elements::provisionLocationResponse> object.
477 $response = $interface->provisionLocation( { # Net::DashCS::Types::provisionLocation
478 locationid => $some_value, # string
486 Returns a L<Net::DashCS::Elements::removeURIResponse|Net::DashCS::Elements::removeURIResponse> object.
488 $response = $interface->removeURI( { # Net::DashCS::Types::removeURI
489 uri => $some_value, # string
493 =head3 getProvisionedLocationHistoryByURI
497 Returns a L<Net::DashCS::Elements::getProvisionedLocationHistoryByURIResponse|Net::DashCS::Elements::getProvisionedLocationHistoryByURIResponse> object.
499 $response = $interface->getProvisionedLocationHistoryByURI( { # Net::DashCS::Types::getProvisionedLocationHistoryByURI
500 uri => $some_value, # string
504 =head3 removeLocation
508 Returns a L<Net::DashCS::Elements::removeLocationResponse|Net::DashCS::Elements::removeLocationResponse> object.
510 $response = $interface->removeLocation( { # Net::DashCS::Types::removeLocation
511 locationid => $some_value, # string
519 Returns a L<Net::DashCS::Elements::getURIsResponse|Net::DashCS::Elements::getURIsResponse> object.
521 $response = $interface->getURIs( { # Net::DashCS::Types::getURIs
529 Returns a L<Net::DashCS::Elements::addPinCodeResponse|Net::DashCS::Elements::addPinCodeResponse> object.
531 $response = $interface->addPinCode( { # Net::DashCS::Types::addPinCode
532 uri => $some_value, # string
533 pincode => $some_value, # string
537 =head3 getLocationsByURI
541 Returns a L<Net::DashCS::Elements::getLocationsByURIResponse|Net::DashCS::Elements::getLocationsByURIResponse> object.
543 $response = $interface->getLocationsByURI( { # Net::DashCS::Types::getLocationsByURI
544 uri => $some_value, # string
552 Generated by SOAP::WSDL on Wed Mar 31 10:23:39 2010