POST AdminApi/Delivery/SaveZone

Request Information

URI Parameters

None.

Body Parameters

ZoneInfo
NameDescriptionTypeAdditional information
zone

ExpressZone

None.

exCounProvince

Collection of exCounProvince

None.

exCountry

Collection of integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Country' with type 'BDMall.Model.DeliveryMNG.Country'. Path 'zone.Countrys[0].Procince[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Country' with type 'BDMall.Model.DeliveryMNG.Country'. Path 'zone.Countrys[0].Procince[0]'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ZoneInfo'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}