Skip to content

Commit 2d9836b

Browse files
authored
Allowed proper updating of Agency Stops by PUT
1 parent b8fc638 commit 2d9836b

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

agency/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,18 @@ See [Bulk Responses][bulk-responses]
303303
**Method:** `PUT`
304304
**Payload**: An array of of [Stop][stops] information, where the permitted changeable fields are defined as:
305305

306-
| Field | Required/Optional | Description |
307-
|---------------------|-------------------|---------------------------------------------|
308-
| stop_id | Required |See [Stops][stops] |
309-
| status | Optional |See [Stops][stops] |
310-
| num_spots_disabled | Optional |See [Stops][stops] |
306+
| Field | Required/Optional | Description |
307+
|------------------------|-------------------|-------------------|
308+
| stop_id | Required |See [Stops][stops] |
309+
| last_updated | Optional |See [Stops][stops] |
310+
| status | Optional |See [Stops][stops] |
311+
| rental_methods | Optional |See [Stops][stops] |
312+
| num_spots_disabled | Optional |See [Stops][stops] |
313+
| num_vehicles_available | Optional |See [Stops][stops] |
314+
| num_vehicles_disabled | Optional |See [Stops][stops] |
315+
| num_places_available | Optional |See [Stops][stops] |
316+
| num_places_disabled | Optional |See [Stops][stops] |
317+
| devices | Optional |See [Stops][stops] |
311318

312319
200 Success Response:
313320

@@ -319,7 +326,7 @@ See [Bulk Responses][bulk-responses]
319326
| -------------------- | ------------------------------------------------- | ------------------------------- |
320327
| `bad_param` | A validation error occurred | Array of parameters with errors |
321328
| `missing_param` | A required parameter is missing | Array of missing parameters |
322-
| `unregistered` | No stop with `stop_id` is already registered | |
329+
| `unregistered` | No stop with `stop_id` is already registered | |
323330

324331
[Top][toc]
325332

0 commit comments

Comments
 (0)