GET api/Organisation/GetPrimaryOrganisationAddress?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PrimaryWorkplaceAddressResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PrimaryContactAddress1 | string |
None. |
|
| PrimaryContactAddress2 | string |
None. |
|
| PrimaryContactSuburb | string |
None. |
|
| PrimaryContactState | string |
None. |
|
| PrimaryContactPostcode | string |
None. |
|
| PrimaryContactCountry | string |
None. |
|
| Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"PrimaryContactAddress1": "sample string 1",
"PrimaryContactAddress2": "sample string 2",
"PrimaryContactSuburb": "sample string 3",
"PrimaryContactState": "sample string 4",
"PrimaryContactPostcode": "sample string 5",
"PrimaryContactCountry": "sample string 6",
"Result": {
"Success": true,
"Message": "sample string 2",
"Errors": [
{
"Message": "sample string 1"
},
{
"Message": "sample string 1"
}
]
}
}
application/xml, text/xml
Sample:
<PrimaryWorkplaceAddressResponseModel 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>
<PrimaryContactAddress1>sample string 1</PrimaryContactAddress1>
<PrimaryContactAddress2>sample string 2</PrimaryContactAddress2>
<PrimaryContactCountry>sample string 6</PrimaryContactCountry>
<PrimaryContactPostcode>sample string 5</PrimaryContactPostcode>
<PrimaryContactState>sample string 4</PrimaryContactState>
<PrimaryContactSuburb>sample string 3</PrimaryContactSuburb>
</PrimaryWorkplaceAddressResponseModel>