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": "0e0d488b-39cc-4d34-97a5-1ff4c3b6082a",
      "RuleId": "00ab4950-f0cf-43c5-aa67-84d444ef471b",
      "Id": "a279f433-a1bd-4b11-b995-cd7c90900423",
      "ClientId": "2a80a282-484c-4da8-b705-67ad1d0cc35f",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-04-20 09:55:11",
      "UpdateDate": "2026-04-20 09:55:11",
      "CreateBy": "0941feb7-9cb7-467d-ac4d-6ae9f2d5f292",
      "UpdateBy": "dcc8f269-1d61-4b63-b20f-52debf05cf94"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "0e0d488b-39cc-4d34-97a5-1ff4c3b6082a",
      "RuleId": "00ab4950-f0cf-43c5-aa67-84d444ef471b",
      "Id": "a279f433-a1bd-4b11-b995-cd7c90900423",
      "ClientId": "2a80a282-484c-4da8-b705-67ad1d0cc35f",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-04-20 09:55:11",
      "UpdateDate": "2026-04-20 09:55:11",
      "CreateBy": "0941feb7-9cb7-467d-ac4d-6ae9f2d5f292",
      "UpdateBy": "dcc8f269-1d61-4b63-b20f-52debf05cf94"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "dcb368b3-3d20-42d6-ad84-000b08d588ec",
    "MerchantId": "392cdb17-3448-4e79-aa89-7924c4efffb8",
    "Id": "a35a0799-71ca-461f-aaa2-c285ac3a6cbf",
    "ClientId": "a5e9afdc-a13b-49ac-98eb-f6749cb05c28",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-04-20 09:55:11",
    "UpdateDate": "2026-04-20 09:55:11",
    "CreateBy": "d3753aa5-88ba-4f07-a6b8-07a128c7e96f",
    "UpdateBy": "b80cb87a-db7c-4479-9018-5c49880527ff"
  },
  "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": {}
}