Search for a Item by specific property value
To retrieve one or more specific Item, use:
GET https://api.eposnowhq.com/api/V2/{ItemName}?{PropertyName}={Value}
Url params
{ItemName} |
|
Item Name:
e.g. Customer ,Product
|
{PropertyName} |
|
Property Name:
e.g. Name ,Description
|
{Value} |
|
Property Value:
e.g. Smith ,Tea
|
Response
... |
|
List of Items matching request parameters |
Search for the Items by property value or range
The API V2 allows you to search for a specific value or range of properties
Allowed Queries
like, contains |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|like|value)
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|contains|value)
|
> |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|>|value)
|
>= |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|>=|value)
|
< |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|<|value)
|
<= |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|<=|value)
|
EndsWith |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|EndsWith|value)
|
StartsWith |
|
GET https://api.eposnowhq.com/api/V2/{ItemName}?search=(propertyName|StartsWith|value)
|
|
|
|
Url params
{ItemName} |
|
The name of the item:
e.g. Customer ,Product
|
propertyName |
|
The item property name:
e.g. Name ,Description ,Price
|
value |
|
The property value
|
Order results by property value
To order your results ascendingly by a specific property, use:
https://api.eposnowhq.com/api/V2/{ItemName}?OrderBy={Property_Name}
Url params
{Property_Name} |
|
Property name:
e.g. Name ,Price
|
Response
... |
|
List of Items ordered ascendingly by the request parameter |
To order your results descendingly by a specific property, use:
https://api.eposnowhq.com/api/V2/{ItemName}?OrderByDesc={Property_Name}
Url params
{Property_Name} |
|
Property name:
e.g. Name ,Price
|
Response
... |
|
List of Items ordered descendingly by the request parameter |