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": "4865049f-403d-4e70-9254-0247c5397538",
"parentName": "sample string 2",
"parentId": "8a27488c-1d1b-4fbf-a8e2-781135a7b835",
"depth": 4,
"immediateDescendantCount": 5,
"id": "577e37f3-9fcf-432c-9657-8cbc3eb1de48",
"address": {
"id": "82a971fc-0823-47e8-ae29-3092e008d1ae",
"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":"4865049f-403d-4e70-9254-0247c5397538","parentName":"sample string 2","parentId":"8a27488c-1d1b-4fbf-a8e2-781135a7b835","depth":4,"immediateDescendantCount":5,"id":"577e37f3-9fcf-432c-9657-8cbc3eb1de48","address":{"id":"82a971fc-0823-47e8-ae29-3092e008d1ae","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"}