GET api/Organisation/GetOrganisationsOwnedByUser?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrganisationResponseModel
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

TradingName

string

None.

ABN

string

None.

ACN

string

None.

OrgNum

string

None.

Address1

string

None.

Adderss2

string

None.

Suburb

string

None.

State

string

None.

Postcode

string

None.

Country

string

None.

Mobile

string

None.

Phone

string

None.

Fax

string

None.

Website

string

None.

Email

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",
    "Adderss2": "sample string 8",
    "Suburb": "sample string 9",
    "State": "sample string 10",
    "Postcode": "sample string 11",
    "Country": "sample string 12",
    "Mobile": "sample string 13",
    "Phone": "sample string 14",
    "Fax": "sample string 15",
    "Website": "sample string 16",
    "Email": "sample string 17",
    "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",
    "Adderss2": "sample string 8",
    "Suburb": "sample string 9",
    "State": "sample string 10",
    "Postcode": "sample string 11",
    "Country": "sample string 12",
    "Mobile": "sample string 13",
    "Phone": "sample string 14",
    "Fax": "sample string 15",
    "Website": "sample string 16",
    "Email": "sample string 17",
    "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>
    <Adderss2>sample string 8</Adderss2>
    <Address1>sample string 7</Address1>
    <Country>sample string 12</Country>
    <Email>sample string 17</Email>
    <Fax>sample string 15</Fax>
    <Id>sample string 1</Id>
    <Mobile>sample string 13</Mobile>
    <Name>sample string 2</Name>
    <OrgNum>sample string 6</OrgNum>
    <Phone>sample string 14</Phone>
    <Postcode>sample string 11</Postcode>
    <State>sample string 10</State>
    <Suburb>sample string 9</Suburb>
    <TradingName>sample string 3</TradingName>
    <Website>sample string 16</Website>
  </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>
    <Adderss2>sample string 8</Adderss2>
    <Address1>sample string 7</Address1>
    <Country>sample string 12</Country>
    <Email>sample string 17</Email>
    <Fax>sample string 15</Fax>
    <Id>sample string 1</Id>
    <Mobile>sample string 13</Mobile>
    <Name>sample string 2</Name>
    <OrgNum>sample string 6</OrgNum>
    <Phone>sample string 14</Phone>
    <Postcode>sample string 11</Postcode>
    <State>sample string 10</State>
    <Suburb>sample string 9</Suburb>
    <TradingName>sample string 3</TradingName>
    <Website>sample string 16</Website>
  </OrganisationResponseModel>
</ArrayOfOrganisationResponseModel>