POST api/MasterConfig/DeliveryFare/AddDeliveryZone

Request Information

URI Parameters

None.

Body Parameters

DeliveryZonePost
NameDescriptionTypeAdditional information
DeliveryZone

DeliveryZones

None.

UserID

string

None.

IPAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryZone": {
    "DeliveryZoneID": 1,
    "DeliveryZoneName": "sample string 2",
    "CentreLatitude": "sample string 3",
    "CentreLongitude": "sample string 4",
    "RadiusInKm": 5.0
  },
  "UserID": "sample string 1",
  "IPAddress": "sample string 2"
}

application/xml, text/xml

Sample:
<DeliveryZonePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels">
  <DeliveryZone>
    <CentreLatitude>sample string 3</CentreLatitude>
    <CentreLongitude>sample string 4</CentreLongitude>
    <DeliveryZoneID>1</DeliveryZoneID>
    <DeliveryZoneName>sample string 2</DeliveryZoneName>
    <RadiusInKm>5</RadiusInKm>
  </DeliveryZone>
  <IPAddress>sample string 2</IPAddress>
  <UserID>sample string 1</UserID>
</DeliveryZonePost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>