RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

CompacSizerOutletTypeController

Controller Class for Compac Sizer Outlet Types

Constructor

new CompacSizerOutletTypeController()

Source

Methods

static

create(siteId, createData) → {Promise.<CompacSizerOutletTypeModel>}

Create a Compac Sizer Outlet Type [POST /packhouse/sites/{siteId}/compac-sizer-outlet-types]

Parameters

  • siteId number

    The Site ID

  • createData CompacSizerOutletTypeController.CreateData

    The Compac Sizer Outlet Type Create Data

Returns

  • Promise.<CompacSizerOutletTypeModel>

Source

static

getAll(siteId, queryParametersopt) → {Promise.<Array.<CompacSizerOutletTypeModel>>}

List all Compac Sizer Outlet Types [GET /packhouse/sites/{siteId}/compac-sizer-outlet-types]

Parameters

  • siteId number

    The Site ID

  • queryParameters CompacSizerOutletTypeController.GetAllQueryParameters <optional>

    The Optional Query Parameters

Returns

  • Promise.<Array.<CompacSizerOutletTypeModel>>

Source

static

getOne(siteId, id) → {Promise.<CompacSizerOutletTypeModel>}

Retrieve a Compac Sizer Outlet Type [GET /packhouse/sites/{siteId}/compac-sizer-outlet-types/{id}]

Parameters

  • siteId number

    The Site ID

  • id string

    The Compac Sizer Outlet Type ID

Returns

  • Promise.<CompacSizerOutletTypeModel>

Source

static

update(siteId, id, updateData) → {Promise.<CompacSizerOutletTypeModel>}

Update a Compac Sizer Outlet Type [PATCH /packhouse/sites/{siteId}/compac-sizer-outlet-types/{id}]

Parameters

  • siteId number

    The Site ID

  • id string

    The Compac Sizer Outlet Type ID

  • updateData CompacSizerOutletTypeController.UpdateData

    The Compac Sizer Outlet Type Update Data

Returns

  • Promise.<CompacSizerOutletTypeModel>

Source

Type Definitions