GET api/Region

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RegionDTO
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Gauteng

boolean

None.

WesternCape

boolean

None.

EasternCape

boolean

None.

KwazuluNatal

boolean

None.

Mpumalanga

boolean

None.

FreeState

boolean

None.

NorthernCape

boolean

None.

NorthWest

boolean

None.

Limpopo

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Gauteng": true,
    "WesternCape": true,
    "EasternCape": true,
    "KwazuluNatal": true,
    "Mpumalanga": true,
    "FreeState": true,
    "NorthernCape": true,
    "NorthWest": true,
    "Limpopo": true
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Gauteng": true,
    "WesternCape": true,
    "EasternCape": true,
    "KwazuluNatal": true,
    "Mpumalanga": true,
    "FreeState": true,
    "NorthernCape": true,
    "NorthWest": true,
    "Limpopo": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfRegionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <RegionDTO>
    <EasternCape>true</EasternCape>
    <FreeState>true</FreeState>
    <Gauteng>true</Gauteng>
    <ID>1</ID>
    <KwazuluNatal>true</KwazuluNatal>
    <Limpopo>true</Limpopo>
    <Mpumalanga>true</Mpumalanga>
    <Name>sample string 2</Name>
    <NorthWest>true</NorthWest>
    <NorthernCape>true</NorthernCape>
    <WesternCape>true</WesternCape>
  </RegionDTO>
  <RegionDTO>
    <EasternCape>true</EasternCape>
    <FreeState>true</FreeState>
    <Gauteng>true</Gauteng>
    <ID>1</ID>
    <KwazuluNatal>true</KwazuluNatal>
    <Limpopo>true</Limpopo>
    <Mpumalanga>true</Mpumalanga>
    <Name>sample string 2</Name>
    <NorthWest>true</NorthWest>
    <NorthernCape>true</NorthernCape>
    <WesternCape>true</WesternCape>
  </RegionDTO>
</ArrayOfRegionDTO>