GET api/company/get-polygons?cId={cId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PolygonItemDto
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

CourierCount

integer

None.

RestaurantCount

integer

None.

HasLocation

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "CourierCount": 3,
    "RestaurantCount": 4,
    "HasLocation": true
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "CourierCount": 3,
    "RestaurantCount": 4,
    "HasLocation": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolygonDTO.PolygonItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanelAPI.Models">
  <PolygonDTO.PolygonItemDto>
    <CourierCount>3</CourierCount>
    <HasLocation>true</HasLocation>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <RestaurantCount>4</RestaurantCount>
  </PolygonDTO.PolygonItemDto>
  <PolygonDTO.PolygonItemDto>
    <CourierCount>3</CourierCount>
    <HasLocation>true</HasLocation>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <RestaurantCount>4</RestaurantCount>
  </PolygonDTO.PolygonItemDto>
</ArrayOfPolygonDTO.PolygonItemDto>