GET api/organisations/getroot
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
API.Domain.ViewModels.Organisation.OrganisationListItemName | 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": "9971db44-17cd-42c1-ad63-d6d5c123ce96", "parentName": "sample string 2", "parentId": "7e82a528-d1d4-4983-9dd6-b505145bba66", "depth": 4, "immediateDescendantCount": 5, "id": "54a73cae-0515-41cf-a0d8-1ba790ca9844", "address": { "id": "2b51ef9a-56ee-4042-82d3-7603168a6a87", "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":"9971db44-17cd-42c1-ad63-d6d5c123ce96","parentName":"sample string 2","parentId":"7e82a528-d1d4-4983-9dd6-b505145bba66","depth":4,"immediateDescendantCount":5,"id":"54a73cae-0515-41cf-a0d8-1ba790ca9844","address":{"id":"2b51ef9a-56ee-4042-82d3-7603168a6a87","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"}