GET api/Reference/GetProvience

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProvincesViewModel
NameDescriptionTypeAdditional information
ProvincesId

string

None.

Title

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProvincesId": "sample string 1",
    "Title": "sample string 2"
  },
  {
    "ProvincesId": "sample string 1",
    "Title": "sample string 2"
  }
]

text/html

Sample:
[{"ProvincesId":"sample string 1","Title":"sample string 2"},{"ProvincesId":"sample string 1","Title":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfProvincesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <ProvincesViewModel>
    <ProvincesId>sample string 1</ProvincesId>
    <Title>sample string 2</Title>
  </ProvincesViewModel>
  <ProvincesViewModel>
    <ProvincesId>sample string 1</ProvincesId>
    <Title>sample string 2</Title>
  </ProvincesViewModel>
</ArrayOfProvincesViewModel>