GET api/Regions/Organization?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

RegionViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

Required

BuId

string

Required

IsActive

boolean

None.

Dealerships

Collection of RegionOrgViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "buId": "sample string 3",
  "isActive": true,
  "dealerships": [
    {
      "orgId": "sample string 1",
      "navisionId": "sample string 2",
      "name": "sample string 3",
      "buName": "sample string 4"
    },
    {
      "orgId": "sample string 1",
      "navisionId": "sample string 2",
      "name": "sample string 3",
      "buName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<RegionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Business.ViewModels.Regions">
  <BuId>sample string 3</BuId>
  <Dealerships>
    <RegionOrgViewModel>
      <BuName>sample string 4</BuName>
      <Name>sample string 3</Name>
      <NavisionId>sample string 2</NavisionId>
      <OrgId>sample string 1</OrgId>
    </RegionOrgViewModel>
    <RegionOrgViewModel>
      <BuName>sample string 4</BuName>
      <Name>sample string 3</Name>
      <NavisionId>sample string 2</NavisionId>
      <OrgId>sample string 1</OrgId>
    </RegionOrgViewModel>
  </Dealerships>
  <Id>sample string 1</Id>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
</RegionViewModel>