GET api/organisations/getroot
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
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": "78882593-4f28-41f5-94c9-754037f82d58",
"parentName": "sample string 2",
"parentId": "c0eb82b1-12f0-4718-81ef-b328e0cda1f7",
"depth": 4,
"immediateDescendantCount": 5,
"id": "06b7f48b-3423-442d-b435-f12724345ba5",
"address": {
"id": "c53dc537-49de-49c3-a736-578930d2da3b",
"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":"78882593-4f28-41f5-94c9-754037f82d58","parentName":"sample string 2","parentId":"c0eb82b1-12f0-4718-81ef-b328e0cda1f7","depth":4,"immediateDescendantCount":5,"id":"06b7f48b-3423-442d-b435-f12724345ba5","address":{"id":"c53dc537-49de-49c3-a736-578930d2da3b","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"}