GET api/Organisation/GetDetailsFromABN?ABN={ABN}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ABN | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OrganisationResponseModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
OrgName | string |
None. |
|
Name | string |
None. |
|
TradingName | string |
None. |
|
ABN | string |
None. |
|
ACN | string |
None. |
|
OrgNum | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
Suburb | string |
None. |
|
State | string |
None. |
|
Postcode | string |
None. |
|
Country | string |
None. |
|
PostalAddress1 | string |
None. |
|
PostalAddress2 | string |
None. |
|
PostalSuburb | string |
None. |
|
PostalState | string |
None. |
|
PostalPostcode | string |
None. |
|
PostalCountry | string |
None. |
|
Mobile | string |
None. |
|
Phone | string |
None. |
|
Fax | string |
None. |
|
Website | string |
None. |
|
string |
None. |
||
ProfileDesc | string |
None. |
|
ProfileImgFile | string |
None. |
|
ServicedPostcode1 | string |
None. |
|
ServicedPostcode2 | string |
None. |
|
ServicedPostcode3 | string |
None. |
|
ServicedPostcode4 | string |
None. |
|
FindAPlumber | boolean |
None. |
|
QbccLicenseNumber | string |
None. |
|
QbccLicenseExpiryDate | string |
None. |
|
Referral | string |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "OrgName": "sample string 2", "Name": "sample string 3", "TradingName": "sample string 4", "ABN": "sample string 5", "ACN": "sample string 6", "OrgNum": "sample string 7", "Address1": "sample string 8", "Address2": "sample string 9", "Suburb": "sample string 10", "State": "sample string 11", "Postcode": "sample string 12", "Country": "sample string 13", "PostalAddress1": "sample string 14", "PostalAddress2": "sample string 15", "PostalSuburb": "sample string 16", "PostalState": "sample string 17", "PostalPostcode": "sample string 18", "PostalCountry": "sample string 19", "Mobile": "sample string 20", "Phone": "sample string 21", "Fax": "sample string 22", "Website": "sample string 23", "Email": "sample string 24", "ProfileDesc": "sample string 25", "ProfileImgFile": "sample string 26", "ServicedPostcode1": "sample string 27", "ServicedPostcode2": "sample string 28", "ServicedPostcode3": "sample string 29", "ServicedPostcode4": "sample string 30", "FindAPlumber": true, "QbccLicenseNumber": "sample string 32", "QbccLicenseExpiryDate": "sample string 33", "Referral": "sample string 34", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<OrganisationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <ABN>sample string 5</ABN> <ACN>sample string 6</ACN> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <Country>sample string 13</Country> <Email>sample string 24</Email> <Fax>sample string 22</Fax> <FindAPlumber>true</FindAPlumber> <Id>sample string 1</Id> <Mobile>sample string 20</Mobile> <Name>sample string 3</Name> <OrgName>sample string 2</OrgName> <OrgNum>sample string 7</OrgNum> <Phone>sample string 21</Phone> <PostalAddress1>sample string 14</PostalAddress1> <PostalAddress2>sample string 15</PostalAddress2> <PostalCountry>sample string 19</PostalCountry> <PostalPostcode>sample string 18</PostalPostcode> <PostalState>sample string 17</PostalState> <PostalSuburb>sample string 16</PostalSuburb> <Postcode>sample string 12</Postcode> <ProfileDesc>sample string 25</ProfileDesc> <ProfileImgFile>sample string 26</ProfileImgFile> <QbccLicenseExpiryDate>sample string 33</QbccLicenseExpiryDate> <QbccLicenseNumber>sample string 32</QbccLicenseNumber> <Referral>sample string 34</Referral> <ServicedPostcode1>sample string 27</ServicedPostcode1> <ServicedPostcode2>sample string 28</ServicedPostcode2> <ServicedPostcode3>sample string 29</ServicedPostcode3> <ServicedPostcode4>sample string 30</ServicedPostcode4> <State>sample string 11</State> <Suburb>sample string 10</Suburb> <TradingName>sample string 4</TradingName> <Website>sample string 23</Website> </OrganisationResponseModel>