You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/includes/_booking.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,8 @@ Name | Description
86
86
"resource_id": 1,
87
87
"project_id" : 9,
88
88
"start_time" : "2017-06-01T09:00",
89
-
"end_time": "2017-06-11T17:00",
89
+
"end_time": "2017-06-11T17:00",
90
+
"udf_progress": 70,
90
91
"effort": 100,
91
92
"unit": 1
92
93
}'
@@ -104,7 +105,7 @@ Name | Description
104
105
**start_time** <br> <spanclass="required">`required`</span> | Represents start date and time for booking object. This field accepts value in ISO 8601 format for date-time i.e. yyyy-mm-ddThh:mm:ss. The value must be snapped in 15 minutes interval, which effectively means that minutes values should be one of(00/15/30/45) and seconds value should always be 0. (if given).
105
106
**end_time** <br> <spanclass="required">`required`</span> | Represents end date and time for booking object. This field accepts value in ISO 8601 format for date-time i.e. yyyy-mm-ddThh:mm:ss. The value must be snapped in 15 minutes interval, which effectively means that minutes values should be one of(00/15/30/45) and seconds value should always be 0. (if given). `end_time` must always be ahead of `start_time` by at least 15 minutes as a booking of less than 15 minutes is not allowed.
106
107
**role_id**<br><spanclass="mandatoryFlag">⚑</span> <spanclass="removableFlag mln-2">⚑</span> | ID of role object which needs to be performed for this booking. This could be ID of a role which targeted resource performs (i.e "Performing Role") or any other role (i.e. "Non-Performing-Role").
107
-
**task_id**<br><spanclass="removableFlag mln-2">⚑</span> | ID of task object which needs to be done in this booking. This could only be ID of a task which is listed in targeted project.
108
+
**task_id**<br><spanclass="mandatoryFlag">⚑</span> <spanclass="removableFlag mln-2">⚑</span> | ID of task object which needs to be done in this booking. This could only be ID of a task which is listed in targeted project.
108
109
**effort** <br>`optional` | This defines how much effort is needed to complete the task. Effort value is a floating point number which could not be less than 0 and greater than 99999999.99. If effort value is not provided system will take default value 0.
109
110
**unit**<br>`optional` | Integer number (1-5) representing unit in which effort is being defined. Unit value could be one of the following :<br><br><li>**1** for `Capacity %` : This is default unit for booking. This represents `effort` in percentage of capacity of intended resource for defined time range. </li> <li> **2** for `Total Booking Hours` : This defines `effort` value in fixed hours which doesn't change upon changes in booking.</li> <li> ~~**3** for `Hours Per day` : This could be used where a certain no of hours per day need to be spend for a booking. For example 4 hours per day (working day).~~</li> <li> **4** for `Full Time Equivalent` : Full time equivalent is calculated using FTE calendar defined in <a href="https://app.eresourcescheduler.cloud/#!/admin/calendars/settings" target="_blank" class="api-ref">Administrator calendar settings</a>. Capacity from FTE calendar for defined time in booking, is considered as 1 FTE.</li> <li> ~~**5** for `Time Per Day` : It is useful where `effort` needs to put in on a particular time of every working day i.e. 4:15 PM to 5:30 PM daily. Time portion of `start_time` argument is considered as per day start time, and Time portion of `end_time` argument is considered per day end time for this booking.~~ </li> <br>_**Note**: <span class="warning">Booking units **Hours per day** and **Time per day** are no longer supported. </span>_
110
111
**progress** <br>`optional` | This defines percentage completion of the booking. Progress is a integer number which could not be less than 0 and greater than 100. If progress is not provided, system will take default value 0.
@@ -114,7 +115,7 @@ Name | Description
114
115
**tags**<br><spanclass="removableFlag mln-2">⚑</span> | An optional array of strings which could be attached to this booking object as labels. This can be useful for the purpose of identification or other information.
115
116
**timezone**<br>`optional` | One timezone can be defined for a booking.<br><br>_**Note**: <spanclass="warning">This field is only available when scheduling plus module is on</span>._
116
117
**disable_parallel**<br><spanclass="mandatoryFlag">⚑</span> <spanclass="removableFlag mln-2">⚑</span> | Defines if the resource or project or both can or cannot have multiple bookings at a time. Disable Parallel could be one of the following:<br><br><li>**1** for `On selected resource` : This represents there will be no bookings parallel to this booking with the same resource. </li> <li> **2** for `On selected project` : This represents there will be no bookings parallel to this booking with the same project.</li> <li> **3** for `On selected resource or project` : This represents there will be no bookings parallel to this booking with the same resource or project.</li>
117
-
**udf_\***<br><spanclass="mandatoryFlag">⚑</span> <spanclass="removableFlag mln-2">⚑</span> | A user with Administrator rights can add custom fields. These fields can be used to capture additional information in Bookings. Different types of bookings may have a different set of user-defined fields. The value for user defined field can be passed as shown in example request. In given example `udf_progress`</span> is a user defined field. <ahref="#user-defined-fields"class="api-ref">Learn more</a><br><br>_**Note**: User with Administrator rights can make fields marked with <spanclass="mandatoryFlag iconInline">⚑</span> mandatory and remove fields marked with <spanclass="removableFlag iconInline">⚑</span>, from <ahref ="#booking-profile"class="api-ref">booking profile</a> using eRS Cloud Application. If mandatory fields are not passed with a valid value or removed fields are passed while creating booking, the operation will fail with response code **400**_.
118
+
**udf_\***<br><spanclass="mandatoryFlag">⚑</span> <spanclass="removableFlag mln-2">⚑</span> | A user with Administrator rights can add custom fields. These fields can be used to capture additional information in Bookings. The value for user defined field can be passed as shown in example request. In given example `udf_progress`</span> is a user defined field. <ahref="#user-defined-fields"class="api-ref">Learn more</a><br><br>_**Note**: User with Administrator rights can make fields marked with <spanclass="mandatoryFlag iconInline">⚑</span> mandatory and remove fields marked with <spanclass="removableFlag iconInline">⚑</span>, from <ahref ="#booking-profile"class="api-ref">booking profile</a> using eRS Cloud Application. If mandatory fields are not passed with a valid value or removed fields are passed while creating booking, the operation will fail with response code **400**_.
118
119
119
120
### Returns
120
121
@@ -376,6 +377,7 @@ Below is a list of available fields, which allow filtering bookings:
|**billing_status**| N/A |`"billing_status": 2`<br>`"billing_status": 4`<br><br>_**Note**: Integer number (2/4) representing billing status of the booking. Billing status value could be one of the following :<br><br><li>**2** for `Billable` : This defines billing status as `billable` for this booking. </li> <li> **4** for `Non Billable` : This defines billing status as `non billable` for this booking.</li>_
379
381
380
382
_Additionally, bookings can also be filtered using <ahref="#search-resources"class="api-ref">resource fields</a>, <ahref="#search-projects"class="api-ref">project fields</a> and <ahref="#filters-for-user-defined-fields"class="api-ref">custom fields</a> of bookings. An example request for fetching only booking having `resource_id` as 2, `project_id` as 9 and `role_id` as 1 is shown._
0 commit comments