Skip to content

Commit 795d87f

Browse files
radekzawadathilonel
authored andcommitted
[core-2853] mark rental_id search parameter required for los endpoint (#317)
* mark rental_id search parameter required for los endpoint * improve description
1 parent 5021c08 commit 795d87f

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

content/reference/endpoints/los_records.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ created_at | [Time](/reference/enums#formats) | Read | LOS recor
3232
</div>
3333
</div>
3434

35-
## List LOS records
36-
37-
List all LOS records for (a) given account(s).
38-
39-
~~~
40-
GET /los_records
41-
~~~
42-
43-
<%= render 'json_response', endpoint: "los_records", scopes: %w(public) %>
44-
4535
## Search LOS records
4636

4737
Search parameters allow to filter LOS records by specified fields.
@@ -52,12 +42,14 @@ Example:
5242
GET /los_records?rental_id=1&kinds=rental_price_before_special_offers,rental_price&exchange_currency_to=EUR
5343
~~~
5444

45+
<%= render 'json_response', endpoint: "los_records", scopes: %w(public) %>
46+
5547
### Search Parameters
5648

5749
Name | Type | Default | Description
5850
---------------------|---------|---------|-------------
5951
exchange_to_currency | String | | Code of the currency in which the rates are to be returned.<br>The accepted codes can be found in the [enums section](/reference/enums#currencies).
6052
kinds | String | | List of comma separated kinds. Returns only LOS records for this kind(s).<br>For possible values visit the [enums section](/reference/enums#los-kinds).
61-
rental_id | String | | List of comma separated IDs. Returns only LOS records for this rental(s)
53+
rental_id | String | | **Required** list of comma separated IDs. Returns only LOS records for this rental(s)
6254
updated_since | [Time](/reference/enums#formats) | | Only LOS records updated after given time.
6355
{: class="table table-bordered"}

0 commit comments

Comments
 (0)