{ "opencollection": "1.0.0", "info": { "name": "Certify API Layer Locations API", "version": "1.0.0" }, "items": [ { "info": { "name": "Locations", "type": "folder" }, "items": [ { "info": { "name": "Find Location by filter criteria with pagination", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/locations", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for offset based pagination (0-based index). Defaults to 0 if not specified." }, { "name": "size", "value": "", "type": "query", "description": "Number of items per page in offset based pagination. Defaults to 2 if not specified." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a paginated list of all Location. Supports offset based (page, size) pagination." }, { "info": { "name": "Create a location", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9000/locations", "headers": [ { "name": "tenant-id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new tenant location record." }, { "info": { "name": "Update multiple related resources from flattened payload", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/locations/update", "headers": [ { "name": "tenant-id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates CoreLocation, CoreEntityAddress, TenantGroupLocation and TenantGroupLocationNetwork using the provided IDs and fields." }, { "info": { "name": "Get a location value by their ID", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/locations/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "1234567890", "type": "path", "description": "Location ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single location by their ID" }, { "info": { "name": "Update a location", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/locations/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "1234567890", "type": "path", "description": "Location ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates an existing location based on the ID." } ] } ], "bundled": true }