GET jobs/configuration/unit_restrictions/list
Available from CRM.COM R14.12.0
This method returns the restrictions applied per unit for the receipt method, working hours and allowed products during which generic jobs can be requested for. Multiple results are returned by each call.
Resource URL
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
job_type_identifier (mandatory) | Job Type Identifier | The identifier of the job type for which the time restrictions will be retrieved. The allowed job type identifiers are the following:
Only generic job types are allowed to be specified | ||||||||||||
unit_identifier (mandatory) | Unit Identifier | The identifier of the unit. The allowed unit identifiers are the following:
| ||||||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Response Data
Name | Type | Description |
---|---|---|
day_and_time_restrictions | Day and Time Restrictions Object | The day and time frame that the unit is operating |
allowed_products | Products Object | The products that the unit is allowed to provide for this job type |
unavailable_products | Products Object | The products that the unit is temporarily disabling and can not provide for this job type |
Referred Objects Response Data