GET api/bv1/Province?province={province}

Documentation for 'GetProvinceByName'.

Request Information

Parameters

NameDescriptionAdditional information
province
Documentation for 'province'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "StateProvID": 1,
    "StateProvAbrev": "sample string 2",
    "StateProvFull": "sample string 3",
    "IsActive": true,
    "CountryID": 1
  },
  {
    "StateProvID": 1,
    "StateProvAbrev": "sample string 2",
    "StateProvFull": "sample string 3",
    "IsActive": true,
    "CountryID": 1
  },
  {
    "StateProvID": 1,
    "StateProvAbrev": "sample string 2",
    "StateProvFull": "sample string 3",
    "IsActive": true,
    "CountryID": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProvinceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GolfWorld.DTOModel">
  <ProvinceDTO>
    <CountryID>1</CountryID>
    <IsActive>true</IsActive>
    <StateProvAbrev>sample string 2</StateProvAbrev>
    <StateProvFull>sample string 3</StateProvFull>
    <StateProvID>1</StateProvID>
  </ProvinceDTO>
  <ProvinceDTO>
    <CountryID>1</CountryID>
    <IsActive>true</IsActive>
    <StateProvAbrev>sample string 2</StateProvAbrev>
    <StateProvFull>sample string 3</StateProvFull>
    <StateProvID>1</StateProvID>
  </ProvinceDTO>
  <ProvinceDTO>
    <CountryID>1</CountryID>
    <IsActive>true</IsActive>
    <StateProvAbrev>sample string 2</StateProvAbrev>
    <StateProvFull>sample string 3</StateProvFull>
    <StateProvID>1</StateProvID>
  </ProvinceDTO>
</ArrayOfProvinceDTO>