POST AdminApi/Delivery/SaveDiscount

Request Information

URI Parameters

None.

Body Parameters

ExpressDiscount
NameDescriptionTypeAdditional information
ExpressId

globally unique identifier

None.

DiscountMoney

decimal number

None.

DiscountPercent

decimal number

None.

IsPercent

boolean

None.

Id

globally unique identifier

None.

ClientId

globally unique identifier

None.

IsActive

boolean

Required

IsDeleted

boolean

Required

CreateDate

date

Required

UpdateDate

date

None.

CreateBy

globally unique identifier

Required

UpdateBy

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ExpressId": "10669a13-a276-4d8a-b9d2-8a35cfabb32a",
  "DiscountMoney": 2.0,
  "DiscountPercent": 3.0,
  "IsPercent": true,
  "Id": "11f3b5a3-b11e-4cf1-b3bf-4046dd8da06b",
  "ClientId": "9fb99451-4d27-4526-aeb4-2746990f1edc",
  "IsActive": true,
  "IsDeleted": true,
  "CreateDate": "2021-05-15 22:35:29",
  "UpdateDate": "2021-05-15 22:35:29",
  "CreateBy": "5dd27334-5bf7-4360-a3d5-8f6a17920880",
  "UpdateBy": "0b543772-4b1b-4b7c-8395-a6da7c48aaef"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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": {}
}