Recommend this page to a friend! |
Classes of Francesco Danti | Scloby Client API | docs/Api/PrintersApi.md | Download |
|
![]() Swagger\Client\PrintersApiAll URIs are relative to https://api.scloby.com/v2 Method | HTTP request | Description ------------- | ------------- | ------------- printersGet | GET /printers | Get All Printers printersIdDelete | DELETE /printers/{id} | Delete existing Printer printersIdGet | GET /printers/{id} | Get existing Printer printersIdPut | PUT /printers/{id} | Edit existing Printer printersPost | POST /printers | Add new Printer printersGet> \Swagger\Client\Model\Printers printersGet($pagination, $per_page, $page) Get All Printers Returns a Json with data about all Printers of selected shop. Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- pagination | bool| Pagination parameter | [optional] per_page | int| Results_per_page | [optional] page | int| PAGE_NUMBER(starting from 0 to TOTAL_PAGE-1) | [optional] Return type\Swagger\Client\Model\Printers AuthorizationHTTP request headers- Content-Type: Not defined - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) printersIdDelete> printersIdDelete($id) Delete existing Printer In this case you must specify the id in the URL, but it is no necessary in the request body Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- id | string| id of the Printer that need to be deleted | Return typevoid (empty response body) AuthorizationHTTP request headers- Content-Type: Not defined - Accept: Not defined [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) printersIdGet> \Swagger\Client\Model\Printers printersIdGet($id) Get existing Printer In this case you must specify the id in the URL Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- id | string| id of the Printer | Return type\Swagger\Client\Model\Printers AuthorizationHTTP request headers- Content-Type: Not defined - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) printersIdPut> \Swagger\Client\Model\Printers printersIdPut($body, $id) Edit existing Printer In this case you must specify the id in the URL and change the data you wanna update Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- body | \Swagger\Client\Model\Printers| Object data that need to be updated | id | string| id of the Printer that need to be updated | Return type\Swagger\Client\Model\Printers AuthorizationHTTP request headers- Content-Type: application/json - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) printersPost> \Swagger\Client\Model\Printers printersPost($body) Add new Printer Returns a Json with the data of the new Printer Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- body | \Swagger\Client\Model\Printers| Printer object that needs to be added. | Return type\Swagger\Client\Model\Printers AuthorizationHTTP request headers- Content-Type: application/json - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) |