Get Insured form: https://api.nowcerts.com
|Will return collection of Insureds.|
Note: Use ‘()’ after the text url.
|Will return single Insured with specific Id.|
Note: Id is Guid
Don’t use quotes in the bracket.
|If you need to get specific properties from object model you can add select to URI.|
Where after “$select=” place all the properties or collections you need.
Note: You can check the object and properties at:
|You can filter data by properties and get specific Insureds.|
Another example: https://api.nowcerts.com/api/InsuredList()$filter=EMail eq 'firstname.lastname@example.org'
https://api.nowcerts.com/api/InsuredList()$filter=city eq 'New York'
You can filter by multiple predicates by keyword ‘and’ :
https://api.nowcerts.com/api/InsuredList()$filter=city eq 'New York' and lastName eq 'Miller'
|Order your data by specific property.|
Note: For descending order append keyword ‘desc’:
|For paging use $skip and $top.|
Where $skip= will skip first numbers of entities, and $top= will take numbers of entities you need.
*make sure to always use $skip together with $orderby.
7. You can combine any of following $select, $filter, $order, $skip, $top by placing ‘&’ between them:
|https://api.nowcerts.com/api/InsuredList()?$select=id,firstName,addressLine1,phone,city&$orderby=firstName desc&$filter=city eq 'New York'&$skip=0&$top=20|
8. Or you can use $select= for specific Insured to get only desired properties:
|This is model description in XML format.|
You can see how we build the url in our sample application: https://github.com/NowCerts/NowCertsTestWebServices
The page is "SearchInsureds.aspx".