Hello,
I try to get my fax numbers: FaxNumberAvailableList($request_parameter)
If i send this xml:
<ns1:FaxNumberAvailableListRequest>
<ns1:F2MUserGroup>
<ns1:UserId>userID</ns1:UserId>
</ns1:F2MUserGroup>
</ns1:FaxNumberAvailableListRequest>
I receive only:
stdClass Object
(
[Status] => stdClass Object
(
[StatusCode] => 0
[StatusMessage] => OK
[SubmissionTime] => 2012-10-12T09:00:32.126Z
[CompletionTime] => 2012-10-12T09:00:39.559Z
)
)
and don't receive 'FaxNumber'
If i send xml like at this link: https://apiforums.easylink.com/emapidocs/25AM/FaxNumberAvailableList/FaxNumberAvailableListRequest.html
<ns1:FaxNumberAvailableListRequest>
<ns1:F2MUserGroup>
<ns1:UserId>userID</ns1:UserId>
<ns1:IDAlias>
<ns1:@aliastype>INTERNET</ns1:@aliastype>
</ns1:IDAlias>
<ns1:EntityId>597826</ns1:EntityId>
</ns1:F2MUserGroup>
</ns1:FaxNumberAvailableListRequest>
I receive this error:
soapenv:Client: Error in parsing
My xml is:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws.easylink.com/FaxNumberAvailableList/2011/01" xmlns:ns2="http://ws.easylink.com/RequestResponse/2011/01">
<SOAP-ENV:Header>
<Request xmlns="http://premconn.premiereconnect.com/2007/02">
<ReceiverKey>http://ws.easylink.com/Authenticate/2011/01</ReceiverKey>
<ResponseRequired>yes</ResponseRequired>
<Authentication>
<XDDSAuth>
<RequesterID>userID</RequesterID>
<Password>userPW</Password>
</XDDSAuth>
</Authentication>
</Request>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:FaxNumberAvailableListRequest>
<ns1:F2MUserGroup>
<ns1:UserId>userID</ns1:UserId>
<ns1:IDAlias>
<ns1:@aliastype>INTERNET</ns1:@aliastype>
</ns1:IDAlias>
<ns1:EntityId>groupID</ns1:EntityId>
</ns1:F2MUserGroup>
</ns1:FaxNumberAvailableListRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I use this address:
<soap:address location="https://test2messaging.easylink.com/soap/sync"/>