{ "info": { "_postman_id": "b5d16ab4-5b6f-4aaf-b614-56a27d4469eb", "name": "EntityTemplate", "description": "# Template\n\n---\n\nthis is contains all BaseEntityController actions from XDashboard project of SaherElm IT Center ...", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "2366868" }, "item": [ { "name": "Retrieve", "item": [ { "name": "Get", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/:{{xId}}?{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}&{{xContainsDetail}}={{xContainsDetailValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", ":{{xId}}" ], "query": [ { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" }, { "key": "{{xContainsDetail}}", "value": "{{xContainsDetailValue}}" } ], "variable": [ { "key": "{{xId}}", "value": null } ] } }, "response": [] }, { "name": "Query", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xQueryUri}}?{{xQueryContainsDetail}}={{xContainsDetailValue}}&{{xQueryFilter}}=&{{xQuerySortBy}}=&{{xQueryIsAscending}}={{xQueryIsAscendingValue}}&{{xQueryPage}}=1&{{xQueryPageSize}}={{xQueryPageSizeValue}}&{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xQueryUri}}" ], "query": [ { "key": "{{xQueryContainsDetail}}", "value": "{{xContainsDetailValue}}" }, { "key": "{{xQueryFilter}}", "value": "" }, { "key": "{{xQuerySortBy}}", "value": "" }, { "key": "{{xQueryIsAscending}}", "value": "{{xQueryIsAscendingValue}}" }, { "key": "{{xQueryPage}}", "value": "1" }, { "key": "{{xQueryPageSize}}", "value": "{{xQueryPageSizeValue}}" }, { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" } ] } }, "response": [] }, { "name": "RequestPage", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xRequestPageUri}}?{{xPageRequestFirst}}=&{{xPageRequestLast}}=&{{xPageRequestAfter}}=&{{xPageRequestBefore}}=&{{xPageRequestSortBy}}=&{{xPageRequestDescendingSort}}={{xPageRequestDescendingSortValue}}&{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}&{{xContainsDetail}}={{xContainsDetailValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xRequestPageUri}}" ], "query": [ { "key": "{{xPageRequestFirst}}", "value": "" }, { "key": "{{xPageRequestLast}}", "value": "" }, { "key": "{{xPageRequestAfter}}", "value": "" }, { "key": "{{xPageRequestBefore}}", "value": "" }, { "key": "{{xPageRequestSortBy}}", "value": "" }, { "key": "{{xPageRequestDescendingSort}}", "value": "{{xPageRequestDescendingSortValue}}" }, { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" }, { "key": "{{xContainsDetail}}", "value": "{{xContainsDetailValue}}" } ] } }, "response": [] }, { "name": "FindOne", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xFindOneUri}}/:{{xQuery}}?{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}&{{xContainsDetail}}={{xContainsDetailValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xFindOneUri}}", ":{{xQuery}}" ], "query": [ { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" }, { "key": "{{xContainsDetail}}", "value": "{{xContainsDetailValue}}" } ], "variable": [ { "key": "{{xQuery}}", "value": null } ] } }, "response": [] }, { "name": "FindMany", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xFindManyUri}}/:{{xQuery}}?{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}&{{xContainsDetail}}={{xContainsDetailValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xFindManyUri}}", ":{{xQuery}}" ], "query": [ { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" }, { "key": "{{xContainsDetail}}", "value": "{{xContainsDetailValue}}" } ], "variable": [ { "key": "{{xQuery}}", "value": null } ] } }, "response": [] }, { "name": "GetAll", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}?{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}&{{xContainsDetail}}={{xContainsDetailValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}" ], "query": [ { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" }, { "key": "{{xContainsDetail}}", "value": "{{xContainsDetailValue}}" } ] } }, "response": [] } ] }, { "name": "Add", "item": [ { "name": "Add", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}" ] } }, "response": [] }, { "name": "AddOrUpdate", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xAddOrUpdateUri}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xAddOrUpdateUri}}" ] } }, "response": [] }, { "name": "AddMany", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xAddManyUri}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xAddManyUri}}" ] } }, "response": [] } ] }, { "name": "Update", "item": [ { "name": "Update", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "PUT", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/:{{xId}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", ":{{xId}}" ], "variable": [ { "key": "{{xId}}", "value": null } ] } }, "response": [] }, { "name": "UpdateMany", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xUpdateManyUri}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xUpdateManyUri}}" ] } }, "response": [] } ] }, { "name": "Exists", "item": [ { "name": "IsExists", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/:{{xId}}/{{xIsExistsUri}}?{{xIgnoreSoftDeleteds}}={{xIgnoreSoftDeletedsValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", ":{{xId}}", "{{xIsExistsUri}}" ], "query": [ { "key": "{{xIgnoreSoftDeleteds}}", "value": "{{xIgnoreSoftDeletedsValue}}" } ], "variable": [ { "key": "{{xId}}", "value": null } ] } }, "response": [] } ] }, { "name": "Remove", "item": [ { "name": "Remove", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "DELETE", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/:{{xId}}?{{xSoftDelete}}={{xSoftDeleteValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", ":{{xId}}" ], "query": [ { "key": "{{xSoftDelete}}", "value": "{{xSoftDeleteValue}}" } ], "variable": [ { "key": "{{xId}}", "value": null } ] } }, "response": [] }, { "name": "RemoveMany", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xRemoveManyUri}}?{{xSoftDelete}}={{xSoftDeleteValue}}", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xRemoveManyUri}}" ], "query": [ { "key": "{{xSoftDelete}}", "value": "{{xSoftDeleteValue}}" } ] } }, "response": [] } ] }, { "name": "Custom", "item": [] }, { "name": "Test", "item": [ { "name": "Hi", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xTestUri}}/Hi", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xTestUri}}", "Hi" ] } }, "response": [] }, { "name": "PassRequireXPowered", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "{{xPoweredByTitle}}", "value": "{{xPoweredByValue}}", "type": "text" } ], "url": { "raw": "{{xClientUri}}/{{xApiUri}}/v{{xApiVersion}}/{{}}/{{xTestUri}}/PassRequireXPowered", "host": [ "{{xClientUri}}" ], "path": [ "{{xApiUri}}", "v{{xApiVersion}}", "{{}}", "{{xTestUri}}", "PassRequireXPowered" ] } }, "response": [] } ] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{xAccessToken}}", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }