POST Api/Delivery/SaveTransRulePrice

Request Information

URI Parameters

None.

Body Parameters

TransRulePrice
NameDescriptionTypeAdditional information
charges

Collection of ExpressPrice

None.

rule

ExpressRule

None.

Request Formats

application/json, text/json

Sample:
{
  "charges": [
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "8ec54b1b-f0b2-490d-b50d-d1fa95c1dcc6",
      "RuleId": "e95ae5d0-b534-41ec-bb2c-0e1b400a237b",
      "Id": "d8fbca5d-bdd6-4807-9024-5c39b9d76250",
      "ClientId": "06ad02c1-bef4-432e-9479-ed083f2114bd",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2021-05-15 00:11:04",
      "UpdateDate": "2021-05-15 00:11:04",
      "CreateBy": "01a83982-dc16-4419-befb-a0b85b9572d6",
      "UpdateBy": "5a92b557-e9ca-462a-8edd-c1ef830db16e"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "8ec54b1b-f0b2-490d-b50d-d1fa95c1dcc6",
      "RuleId": "e95ae5d0-b534-41ec-bb2c-0e1b400a237b",
      "Id": "d8fbca5d-bdd6-4807-9024-5c39b9d76250",
      "ClientId": "06ad02c1-bef4-432e-9479-ed083f2114bd",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2021-05-15 00:11:04",
      "UpdateDate": "2021-05-15 00:11:04",
      "CreateBy": "01a83982-dc16-4419-befb-a0b85b9572d6",
      "UpdateBy": "5a92b557-e9ca-462a-8edd-c1ef830db16e"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "c8dc95da-c619-4084-933d-b9336d8c8abf",
    "Id": "af9dcb78-6d04-445b-a26f-89691f8e0854",
    "ClientId": "6b719d5c-7e41-4a25-96a4-7878db21cac8",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-15 00:11:04",
    "UpdateDate": "2021-05-15 00:11:04",
    "CreateBy": "c1c953df-3a1e-4342-8e0e-0fb849ff8987",
    "UpdateBy": "5096607d-c475-4ad6-8bc3-706870a3dc08"
  }
}

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