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": "cd1e5a37-a338-4d4d-a8f6-ca02adcc8935",
"parentName": "sample string 2",
"parentId": "09ca203f-61e2-41f3-a693-19275dd489d5",
"depth": 4,
"immediateDescendantCount": 5,
"id": "5451711e-7032-4f16-ac12-759ca48b67da",
"address": {
"id": "7c04074d-f2e9-44d3-87d3-9cab42d9be1f",
"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": "cd1e5a37-a338-4d4d-a8f6-ca02adcc8935",
"parentName": "sample string 2",
"parentId": "09ca203f-61e2-41f3-a693-19275dd489d5",
"depth": 4,
"immediateDescendantCount": 5,
"id": "5451711e-7032-4f16-ac12-759ca48b67da",
"address": {
"id": "7c04074d-f2e9-44d3-87d3-9cab42d9be1f",
"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":"cd1e5a37-a338-4d4d-a8f6-ca02adcc8935","parentName":"sample string 2","parentId":"09ca203f-61e2-41f3-a693-19275dd489d5","depth":4,"immediateDescendantCount":5,"id":"5451711e-7032-4f16-ac12-759ca48b67da","address":{"id":"7c04074d-f2e9-44d3-87d3-9cab42d9be1f","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":"cd1e5a37-a338-4d4d-a8f6-ca02adcc8935","parentName":"sample string 2","parentId":"09ca203f-61e2-41f3-a693-19275dd489d5","depth":4,"immediateDescendantCount":5,"id":"5451711e-7032-4f16-ac12-759ca48b67da","address":{"id":"7c04074d-f2e9-44d3-87d3-9cab42d9be1f","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"}]