GET api/organizations



Request Information

URI Parameters

None.



Body Parameters

None.



Response Information

Resource Description

Collection of ReadOrganizationViewModel

NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Users

Collection of ReadUserViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Users": null
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Users": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfReadOrganizationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <ReadOrganizationViewModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Users i:nil="true" />
  </ReadOrganizationViewModel>
  <ReadOrganizationViewModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Users i:nil="true" />
  </ReadOrganizationViewModel>
</ArrayOfReadOrganizationViewModel>