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": "b3b18138-8bbf-403e-ad89-08fb06b1a2d5",
"parentName": "sample string 2",
"parentId": "21ae7eca-7cde-4499-98b3-1a445c8951da",
"depth": 4,
"immediateDescendantCount": 5,
"id": "ca627892-912c-45ea-9e5d-46387945451a",
"address": {
"id": "87292f6b-229d-4152-a962-24fcf2a6f861",
"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":"b3b18138-8bbf-403e-ad89-08fb06b1a2d5","parentName":"sample string 2","parentId":"21ae7eca-7cde-4499-98b3-1a445c8951da","depth":4,"immediateDescendantCount":5,"id":"ca627892-912c-45ea-9e5d-46387945451a","address":{"id":"87292f6b-229d-4152-a962-24fcf2a6f861","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"}