GET api/Industry

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of IndustryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

PhoneNo

string

Required

Description

string

None.

Address

string

None.

WardId

integer

None.

LocalLevelId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "PhoneNo": "sample string 3",
    "Description": "sample string 4",
    "Address": "sample string 5",
    "WardId": 1,
    "LocalLevelId": 6,
    "Latitude": 1.0,
    "Longitude": 1.0
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "PhoneNo": "sample string 3",
    "Description": "sample string 4",
    "Address": "sample string 5",
    "WardId": 1,
    "LocalLevelId": 6,
    "Latitude": 1.0,
    "Longitude": 1.0
  }
]

text/xml

Sample:
<ArrayOfIndustryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models">
  <IndustryViewModel>
    <Address>sample string 5</Address>
    <Description>sample string 4</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocalLevelId>6</LocalLevelId>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <PhoneNo>sample string 3</PhoneNo>
    <WardId>1</WardId>
  </IndustryViewModel>
  <IndustryViewModel>
    <Address>sample string 5</Address>
    <Description>sample string 4</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocalLevelId>6</LocalLevelId>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <PhoneNo>sample string 3</PhoneNo>
    <WardId>1</WardId>
  </IndustryViewModel>
</ArrayOfIndustryViewModel>