Integration ServiceOptimizer Common API Concepts Schedule Cost Breakdown
Schedule Cost Breakdown
When requesting an appointment offer, some APIs allow for a "cost breakdown" of the appointment offers to be optionally returned, offering an insight into the various factors that have been taken into account when ServiceScheduling has calculated possible available appointment slots.
The format of this "cost breakdown" structure which will be embedded in API responses is:
Web Service | Type | Description | Req? | Val? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<costNetValue>?</costNetValue> | double | The sum of all of the (componentCost x componentWeight ) values for the appointment offer. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<costBreakDownDetail> | There are multiple costBreakDownDetail structures returned in the response - one for each componentId value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<componentId>?</componentId> | spCostId | The component cost for which the associated Valid
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<componentCost>?</componentCost> | double | The component cost value for the appointment offer. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<componentWeight>?</componentWeight> | double | The component weight value for the appointment offer. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</costBreakDownDetail> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|