Skip to content

Commit 63de7d7

Browse files
authored
Update logistics-events.md for api:hasTotalItem
Clarify the behavior of api:hasTotalItem in the documentation.
1 parent 3a71b77 commit 63de7d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation_website/docs/API-Security/logistics-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ classDiagram
347347
The ONE Record API employs the [Collection](https://onerecord.iata.org/ns/api#Collection) class to return an array of objects. This class encompasses two properties:
348348

349349
- [api:hasItem](https://onerecord.iata.org/ns/api#hasItem) returns the array of objects.
350-
- [api:hasTotalItem](https://onerecord.iata.org/ns/api#hasTotalItem) returns the count of elements within the returned array.
350+
- [api:hasTotalItem](https://onerecord.iata.org/ns/api#hasTotalItem) returns the count of elements for the defined filter without taking into account pagination (i.e. skip or limit parameter).
351351

352352
In this particular case, @id property in the response body MUST be equal to the Endpoint defined in the [Endpoint section](#endpoint_2) (i.e.: https://1r.example.com/logistics-objects/2a7d1338-9033-13xc-b665-81a411418978/logistics-events).
353353

0 commit comments

Comments
 (0)