GET api/WebApiOdata/GetAllShippingZones?providerId={providerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ShippingGrid
NameDescriptionTypeAdditional information
ShippingZoneID

integer

None.

Name

string

None.

ZoneTypeID

byte

None.

Status

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "ShippingZoneID": 1,
    "Name": "sample string 2",
    "ZoneTypeID": 64,
    "Status": true
  },
  {
    "ShippingZoneID": 1,
    "Name": "sample string 2",
    "ZoneTypeID": 64,
    "Status": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfShippingGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Settings">
  <ShippingGrid>
    <Name>sample string 2</Name>
    <ShippingZoneID>1</ShippingZoneID>
    <Status>true</Status>
    <ZoneTypeID>64</ZoneTypeID>
  </ShippingGrid>
  <ShippingGrid>
    <Name>sample string 2</Name>
    <ShippingZoneID>1</ShippingZoneID>
    <Status>true</Status>
    <ZoneTypeID>64</ZoneTypeID>
  </ShippingGrid>
</ArrayOfShippingGrid>