GET api/Organisation/GetOrganisationsOwnedByUser?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OrganisationResponseModelName | Description | Type | Additional information |
---|---|---|---|
Id | 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. |
|
CountryText | string |
None. |
|
Mobile | string |
None. |
|
Phone | string |
None. |
|
CCode | string |
None. |
|
CCodeText | string |
None. |
|
Fax | string |
None. |
|
Website | string |
None. |
|
string |
None. |
||
WorkType | WorkTypeEnum |
None. |
|
WorkTypeText | string |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "sample string 1", "Name": "sample string 2", "TradingName": "sample string 3", "ABN": "sample string 4", "ACN": "sample string 5", "OrgNum": "sample string 6", "Address1": "sample string 7", "Address2": "sample string 8", "Suburb": "sample string 9", "State": "sample string 10", "Postcode": "sample string 11", "Country": "sample string 12", "CountryText": "sample string 13", "Mobile": "sample string 14", "Phone": "sample string 15", "CCode": "sample string 16", "CCodeText": "sample string 17", "Fax": "sample string 18", "Website": "sample string 19", "Email": "sample string 20", "WorkType": 0, "WorkTypeText": "sample string 21", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }, { "Id": "sample string 1", "Name": "sample string 2", "TradingName": "sample string 3", "ABN": "sample string 4", "ACN": "sample string 5", "OrgNum": "sample string 6", "Address1": "sample string 7", "Address2": "sample string 8", "Suburb": "sample string 9", "State": "sample string 10", "Postcode": "sample string 11", "Country": "sample string 12", "CountryText": "sample string 13", "Mobile": "sample string 14", "Phone": "sample string 15", "CCode": "sample string 16", "CCodeText": "sample string 17", "Fax": "sample string 18", "Website": "sample string 19", "Email": "sample string 20", "WorkType": 0, "WorkTypeText": "sample string 21", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } } ]
application/xml, text/xml
Sample:
<ArrayOfOrganisationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <OrganisationResponseModel> <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 4</ABN> <ACN>sample string 5</ACN> <Address1>sample string 7</Address1> <Address2>sample string 8</Address2> <CCode>sample string 16</CCode> <CCodeText>sample string 17</CCodeText> <Country>sample string 12</Country> <CountryText>sample string 13</CountryText> <Email>sample string 20</Email> <Fax>sample string 18</Fax> <Id>sample string 1</Id> <Mobile>sample string 14</Mobile> <Name>sample string 2</Name> <OrgNum>sample string 6</OrgNum> <Phone>sample string 15</Phone> <Postcode>sample string 11</Postcode> <State>sample string 10</State> <Suburb>sample string 9</Suburb> <TradingName>sample string 3</TradingName> <Website>sample string 19</Website> <WorkType>Academia</WorkType> <WorkTypeText>sample string 21</WorkTypeText> </OrganisationResponseModel> <OrganisationResponseModel> <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 4</ABN> <ACN>sample string 5</ACN> <Address1>sample string 7</Address1> <Address2>sample string 8</Address2> <CCode>sample string 16</CCode> <CCodeText>sample string 17</CCodeText> <Country>sample string 12</Country> <CountryText>sample string 13</CountryText> <Email>sample string 20</Email> <Fax>sample string 18</Fax> <Id>sample string 1</Id> <Mobile>sample string 14</Mobile> <Name>sample string 2</Name> <OrgNum>sample string 6</OrgNum> <Phone>sample string 15</Phone> <Postcode>sample string 11</Postcode> <State>sample string 10</State> <Suburb>sample string 9</Suburb> <TradingName>sample string 3</TradingName> <Website>sample string 19</Website> <WorkType>Academia</WorkType> <WorkTypeText>sample string 21</WorkTypeText> </OrganisationResponseModel> </ArrayOfOrganisationResponseModel>