POST AdminApi/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": "48fb049d-536f-4280-a618-45ece5f0c0f9",
      "RuleId": "b27e3426-43d9-48e2-8ccf-56364356e713",
      "Id": "6fe84a4b-28a0-4e96-af8c-b1d5d64c4e9a",
      "ClientId": "a27ed47e-e68a-4dc5-8edc-559770537d25",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-08-17 02:04:38",
      "UpdateDate": "2026-08-17 02:04:38",
      "CreateBy": "1f2d472f-a07f-4441-86b0-d05bf38310dc",
      "UpdateBy": "111bf53f-9749-4654-b3fa-bc6997ffa0d5"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "48fb049d-536f-4280-a618-45ece5f0c0f9",
      "RuleId": "b27e3426-43d9-48e2-8ccf-56364356e713",
      "Id": "6fe84a4b-28a0-4e96-af8c-b1d5d64c4e9a",
      "ClientId": "a27ed47e-e68a-4dc5-8edc-559770537d25",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-08-17 02:04:38",
      "UpdateDate": "2026-08-17 02:04:38",
      "CreateBy": "1f2d472f-a07f-4441-86b0-d05bf38310dc",
      "UpdateBy": "111bf53f-9749-4654-b3fa-bc6997ffa0d5"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "30ca4064-31cf-48d7-8e83-55173389f53d",
    "MerchantId": "e30c0be7-2532-458f-abe5-cd5e4a07bdb9",
    "Id": "3d15e462-58c7-49a6-bec6-7bda3cfaf4f8",
    "ClientId": "7ed37900-0135-41a9-b072-e2000638fefd",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-08-17 02:04:38",
    "UpdateDate": "2026-08-17 02:04:38",
    "CreateBy": "49575713-1d9c-4827-933b-2550bea4d4d1",
    "UpdateBy": "a8b88a7e-a6dd-4a86-b7c2-1fa8a405e103"
  },
  "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": {}
}