POST api/MasterConfig/DeliveryFare/SaveDeliveryZoneAreaPointDtls

Request Information

URI Parameters

None.

Body Parameters

AreaPoint
NameDescriptionTypeAdditional information
AreaPointID

integer

Required

DeliveryZoneID

integer

Required

Clat

string

Required

Clng

string

Required

AreaPointName

string

Required

RadiusInKm

decimal number

Required

DeliveryEnabled

boolean

Required

PickupEnabled

boolean

Required

CurrentAreaType

string

None.

AreaTypeWithTimeSlot

Collection of DefaultAreaTypeWithTimeSlotsModel

None.

RefrencePoints

Collection of RefrencePoint

None.

AreaAssociateIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaPointID": 1,
  "DeliveryZoneID": 2,
  "Clat": "sample string 3",
  "Clng": "sample string 4",
  "AreaPointName": "sample string 5",
  "RadiusInKm": 6.0,
  "DeliveryEnabled": true,
  "PickupEnabled": true,
  "CurrentAreaType": "sample string 9",
  "AreaTypeWithTimeSlot": [
    {
      "AreaPointID": 1,
      "AreaType": "sample string 2",
      "OpeningTime": "sample string 3",
      "ClosingTime": "sample string 4"
    },
    {
      "AreaPointID": 1,
      "AreaType": "sample string 2",
      "OpeningTime": "sample string 3",
      "ClosingTime": "sample string 4"
    }
  ],
  "RefrencePoints": [
    {
      "RefrencePointID": 1,
      "DeliveryZoneID": 2,
      "AreaPointID": 3,
      "Lat": "sample string 4",
      "Lng": "sample string 5",
      "RefrencePointName": "sample string 6"
    },
    {
      "RefrencePointID": 1,
      "DeliveryZoneID": 2,
      "AreaPointID": 3,
      "Lat": "sample string 4",
      "Lng": "sample string 5",
      "RefrencePointName": "sample string 6"
    }
  ],
  "AreaAssociateIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<AreaPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operations.CustomModels">
  <AreaAssociateIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </AreaAssociateIDs>
  <AreaPointID>1</AreaPointID>
  <AreaPointName>sample string 5</AreaPointName>
  <AreaTypeWithTimeSlot>
    <DefaultAreaTypeWithTimeSlotsModel>
      <AreaPointID>1</AreaPointID>
      <AreaType>sample string 2</AreaType>
      <ClosingTime>sample string 4</ClosingTime>
      <OpeningTime>sample string 3</OpeningTime>
    </DefaultAreaTypeWithTimeSlotsModel>
    <DefaultAreaTypeWithTimeSlotsModel>
      <AreaPointID>1</AreaPointID>
      <AreaType>sample string 2</AreaType>
      <ClosingTime>sample string 4</ClosingTime>
      <OpeningTime>sample string 3</OpeningTime>
    </DefaultAreaTypeWithTimeSlotsModel>
  </AreaTypeWithTimeSlot>
  <Clat>sample string 3</Clat>
  <Clng>sample string 4</Clng>
  <CurrentAreaType>sample string 9</CurrentAreaType>
  <DeliveryEnabled>true</DeliveryEnabled>
  <DeliveryZoneID>2</DeliveryZoneID>
  <PickupEnabled>true</PickupEnabled>
  <RadiusInKm>6</RadiusInKm>
  <RefrencePoints>
    <RefrencePoint>
      <AreaPointID>3</AreaPointID>
      <DeliveryZoneID>2</DeliveryZoneID>
      <Lat>sample string 4</Lat>
      <Lng>sample string 5</Lng>
      <RefrencePointID>1</RefrencePointID>
      <RefrencePointName>sample string 6</RefrencePointName>
    </RefrencePoint>
    <RefrencePoint>
      <AreaPointID>3</AreaPointID>
      <DeliveryZoneID>2</DeliveryZoneID>
      <Lat>sample string 4</Lat>
      <Lng>sample string 5</Lng>
      <RefrencePointID>1</RefrencePointID>
      <RefrencePointName>sample string 6</RefrencePointName>
    </RefrencePoint>
  </RefrencePoints>
</AreaPoint>

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>