'set_quota_close_time' Response

The 'set_quota_close_time' response includes one or several 'result' elements containing the result of operation of setting close time for a single quota cell.

'set_quota_close_time' response parameters

Name

Type

Description

bucket_id

string

external ID of the capacity bucket

day_offset

unsignedByte

offset of the day for which quota should be closed

values range: 0 – 255

time_slot

string

label of the time slot for which quota should be closed

If not returned, the rule defines the time when quota should be closed on the day level. In this case the record contains no 'category' and 'work_zone' fields either.

category

string

label of the capacity category for which quota should be closed

If not returned, the rule defines the time when quota should be closed on the time slot level. In this case the record contains no 'work_zone' field either.

work_zone

string

label of the work zone for which quota should be closed

If not returned, the rule defines the time when quota should be closed on the time slot level.

result_code

int

result of the performed operation

'result_code' is returned in every 'result' element

For a successful transaction 'result_code' = 0 is returned.

If transaction fails, the 'result_code' > 0.

error_msg

string

text description of the error

'error_msg' is returned only if 'result_code' is other than 0