GET api/organisations
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of API.Domain.ViewModels.Organisation.OrganisationListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganisationTypeId | globally unique identifier |
None. |
|
| ParentName | string |
None. |
|
| ParentId | globally unique identifier |
None. |
|
| Depth | integer |
None. |
|
| ImmediateDescendantCount | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Address | API.Domain.ViewModels.Common.SiteAddress |
None. |
|
| OrganisationTypeName | string |
None. |
|
| Name | string |
None. |
|
| ExternalReference | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"organisationTypeId": "ca7e7f55-c73f-4168-89e4-9095b91fd524",
"parentName": "sample string 2",
"parentId": "ddf81672-5d04-419e-8a66-ec377b21cc50",
"depth": 4,
"immediateDescendantCount": 5,
"id": "d405ed8f-88ac-4c09-8372-7f3fea27a35f",
"address": {
"id": "674b6d7b-1b2a-4e2b-be25-7cd28fa3e953",
"address1": "sample string 1",
"address2": "sample string 2",
"address3": "sample string 3",
"address4": "sample string 4",
"city": "sample string 5",
"county": "sample string 6",
"country": "sample string 7",
"zip": "sample string 8"
},
"organisationTypeName": "sample string 7",
"name": "sample string 8",
"externalReference": "sample string 9"
},
{
"organisationTypeId": "ca7e7f55-c73f-4168-89e4-9095b91fd524",
"parentName": "sample string 2",
"parentId": "ddf81672-5d04-419e-8a66-ec377b21cc50",
"depth": 4,
"immediateDescendantCount": 5,
"id": "d405ed8f-88ac-4c09-8372-7f3fea27a35f",
"address": {
"id": "674b6d7b-1b2a-4e2b-be25-7cd28fa3e953",
"address1": "sample string 1",
"address2": "sample string 2",
"address3": "sample string 3",
"address4": "sample string 4",
"city": "sample string 5",
"county": "sample string 6",
"country": "sample string 7",
"zip": "sample string 8"
},
"organisationTypeName": "sample string 7",
"name": "sample string 8",
"externalReference": "sample string 9"
}
]
text/html
Sample:
[{"organisationTypeId":"ca7e7f55-c73f-4168-89e4-9095b91fd524","parentName":"sample string 2","parentId":"ddf81672-5d04-419e-8a66-ec377b21cc50","depth":4,"immediateDescendantCount":5,"id":"d405ed8f-88ac-4c09-8372-7f3fea27a35f","address":{"id":"674b6d7b-1b2a-4e2b-be25-7cd28fa3e953","address1":"sample string 1","address2":"sample string 2","address3":"sample string 3","address4":"sample string 4","city":"sample string 5","county":"sample string 6","country":"sample string 7","zip":"sample string 8"},"organisationTypeName":"sample string 7","name":"sample string 8","externalReference":"sample string 9"},{"organisationTypeId":"ca7e7f55-c73f-4168-89e4-9095b91fd524","parentName":"sample string 2","parentId":"ddf81672-5d04-419e-8a66-ec377b21cc50","depth":4,"immediateDescendantCount":5,"id":"d405ed8f-88ac-4c09-8372-7f3fea27a35f","address":{"id":"674b6d7b-1b2a-4e2b-be25-7cd28fa3e953","address1":"sample string 1","address2":"sample string 2","address3":"sample string 3","address4":"sample string 4","city":"sample string 5","county":"sample string 6","country":"sample string 7","zip":"sample string 8"},"organisationTypeName":"sample string 7","name":"sample string 8","externalReference":"sample string 9"}]