POST Api/Delivery/SaveTransRulePrice

Request Information

URI Parameters

None.

Body Parameters

TransRulePrice
NameDescriptionTypeAdditional information
charges

Collection of ExpressPrice

None.

rule

ExpressRule

None.

ExpressName

string

None.

MerchantName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "charges": [
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "93a658e7-7703-4f87-82f4-964378364f81",
      "RuleId": "ac217871-d5e3-47aa-8631-f010b90219b8",
      "Id": "a0d15d00-5224-4827-8c52-04b509ff1afc",
      "ClientId": "379627ab-ef4f-41f5-8166-cf3060f06428",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-08-17 02:05:12",
      "UpdateDate": "2026-08-17 02:05:12",
      "CreateBy": "d386f73a-aeeb-4960-93d0-4013142d6419",
      "UpdateBy": "dbb2a553-dd07-4a95-8e81-7366d449791d"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "93a658e7-7703-4f87-82f4-964378364f81",
      "RuleId": "ac217871-d5e3-47aa-8631-f010b90219b8",
      "Id": "a0d15d00-5224-4827-8c52-04b509ff1afc",
      "ClientId": "379627ab-ef4f-41f5-8166-cf3060f06428",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-08-17 02:05:12",
      "UpdateDate": "2026-08-17 02:05:12",
      "CreateBy": "d386f73a-aeeb-4960-93d0-4013142d6419",
      "UpdateBy": "dbb2a553-dd07-4a95-8e81-7366d449791d"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "8889ee6e-86b4-4ffd-b5dc-caf5e651025a",
    "MerchantId": "1b193754-51a1-48df-a49a-977a4fc83bfb",
    "Id": "3c17c3be-c632-468f-ae72-88323854bf10",
    "ClientId": "d883ccbc-0365-45d9-af61-812a94f93560",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-08-17 02:05:12",
    "UpdateDate": "2026-08-17 02:05:12",
    "CreateBy": "ff91594f-e2ff-4d34-8e2a-45adfd736062",
    "UpdateBy": "5279bf0d-8232-4f6d-93bc-c3f5f869eeb3"
  },
  "ExpressName": "sample string 1",
  "MerchantName": "sample string 2"
}

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 'TransRulePrice'.

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