POST v1/location/{locationID}/rule/save

Add or update information about a Location Rule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

integer

Required

Body Parameters

LocationRuleModel
NameDescriptionTypeAdditional information
LocationRuleID

Unique identifier of a Location Rule

integer

None.

ShipMethod

Ship method used at the location

ShipMethodModel

None.

IsLocked

Indicates location activity is locked

boolean

None.

CanSelfOrder

Indicates location can self-order on rentals

boolean

None.

AdditionalBillingDays

Number of additional billing days included before late fees apply

integer

None.

AllowUDFAddress

Denotes whether location has a single physical address, or is able to change address when selecting.

boolean

None.

PalletLabelQuantity

Number of pallet labels to print

integer

None.

ReturnFlagType

FlagTypeModel

None.

ReturnFlagBarcodePrefix

string

None.

Request Formats

application/json, text/json

Sample:
{
  "locationRuleID": 1,
  "shipMethod": {
    "shipMethodID": 1,
    "shipMethod": "sample string 2"
  },
  "isLocked": true,
  "canSelfOrder": true,
  "additionalBillingDays": 4,
  "allowUDFAddress": true,
  "palletLabelQuantity": 6,
  "returnFlagType": {
    "flagTypeID": 1,
    "flagType": "sample string 2",
    "isActive": true,
    "isSystem": true,
    "isCleared": true,
    "isDefault": true,
    "isRepair": true,
    "isAdmin": true,
    "isRepairComponent": true
  },
  "returnFlagBarcodePrefix": "sample string 7"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.