Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having trouble testing the endpoint #5

Closed
pangkoi101 opened this issue Oct 29, 2019 · 1 comment
Closed

Having trouble testing the endpoint #5

pangkoi101 opened this issue Oct 29, 2019 · 1 comment

Comments

@pangkoi101
Copy link

So I have tried this:

http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx/SearchByABNv201408?searchstring=asd&includeHistoricalDetails=Y&authenticationGuid=MyGuid

and i got this error:

Search text is not a valid ABN or ACN

if i remove searchString then

i got Missing parameter: searchString.
Really confused...

@Nightsoil
Copy link
Contributor

Hey pangkoi101, try using a valid ABN as the parameter when using the SearchByABN webservice.
for eg. 51824753556

If you would prefer to search using a string, try using the SeachByName webservice. See example here:
https://abr.business.gov.au/abrxmlsearch/Forms/ABRSearchByNameAdvancedSimpleProtocol2017.aspx

for additional help with the webservice parameters check out this page:
https://abr.business.gov.au/Documentation/WebServiceMethods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants