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": "33929961-2984-428c-868e-54b3c3b4d53a",
      "RuleId": "50147759-9c8e-4b25-a234-9b353b49e745",
      "Id": "85878ce6-1657-49bb-a433-c29b59f221f1",
      "ClientId": "df434cc8-8afe-493e-8ea3-abd6313ccf7b",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-12-06 09:25:47",
      "UpdateDate": "2026-12-06 09:25:47",
      "CreateBy": "14b9d0df-470d-4939-bf03-95285d0dcf09",
      "UpdateBy": "a4412a20-816b-432d-8659-b1e5b81986f1"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "33929961-2984-428c-868e-54b3c3b4d53a",
      "RuleId": "50147759-9c8e-4b25-a234-9b353b49e745",
      "Id": "85878ce6-1657-49bb-a433-c29b59f221f1",
      "ClientId": "df434cc8-8afe-493e-8ea3-abd6313ccf7b",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-12-06 09:25:47",
      "UpdateDate": "2026-12-06 09:25:47",
      "CreateBy": "14b9d0df-470d-4939-bf03-95285d0dcf09",
      "UpdateBy": "a4412a20-816b-432d-8659-b1e5b81986f1"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "0a882a5f-71f9-4b24-8b3a-7f3a1157fa39",
    "MerchantId": "2f98f363-f9e9-49b4-aa69-ee8aa5afc082",
    "Id": "18faec2f-0d39-4701-9348-434621689403",
    "ClientId": "f8ff345a-5ec7-42a5-8bb3-681bb0c24ca4",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-12-06 09:25:47",
    "UpdateDate": "2026-12-06 09:25:47",
    "CreateBy": "d7721257-a1d7-4869-8ca5-3639a91565ad",
    "UpdateBy": "881ae047-6a21-40f1-8456-5682865a3cb9"
  },
  "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": {}
}