GET api/MasterData/Location/Get/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LocationMaster
NameDescriptionTypeAdditional information
LocationId

integer

None.

Name

string

None.

OfficeName

string

None.

Floor

string

None.

Room

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LocationId": 1,
    "Name": "sample string 2",
    "OfficeName": "sample string 3",
    "Floor": "sample string 4",
    "Room": "sample string 5"
  },
  {
    "LocationId": 1,
    "Name": "sample string 2",
    "OfficeName": "sample string 3",
    "Floor": "sample string 4",
    "Room": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <LocationMaster>
    <Floor>sample string 4</Floor>
    <LocationId>1</LocationId>
    <Name>sample string 2</Name>
    <OfficeName>sample string 3</OfficeName>
    <Room>sample string 5</Room>
  </LocationMaster>
  <LocationMaster>
    <Floor>sample string 4</Floor>
    <LocationId>1</LocationId>
    <Name>sample string 2</Name>
    <OfficeName>sample string 3</OfficeName>
    <Room>sample string 5</Room>
  </LocationMaster>
</ArrayOfLocationMaster>