Skip to content

Create location rule set

Request

Create a new location rule set

Security
clientCredentials
Bodyapplication/jsonrequired
namestring, [ 1 .. 250 ] charactersrequired

The name of the location rule set

Example:"DC stop time rules"
location_rulesArray of objects, [ 0 .. 100 ] items(LocationRule)required

Each location rule has one or more conditions. A location rule has it's effects applied when at least one of its conditions is satisfied.

Payload
{ "name": "DC stop time rules", "location_rules": [ { … } ] }

Responses

location rule set created successfully

Headers
ETagstring

A weak Etag (ex W/"<etag_value>") which contains the current version of the entity

Example:"W/\"25\""
Locationstring

Location of the created resource

Response
No content