Quotes Schedules API
Endpoint Index
| Action | Endpoint |
|---|---|
| Fetch Schedules for a quote | GET /policy/{tenantLocator}/quotes/{locator}/schedules |
| Fetch a Schedule and items | GET /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator} |
| Add items to schedule | PUT /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator} |
| Upload a CSV of schedule items | POST /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator} |
| Delete an item from schedule | DELETE /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator} |
| Update a schedule item | PATCH /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator} |
Fetch
GET /policy/{tenantLocator}/quotes/{locator}/schedulesRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Response:map<string,ElementScheduleResponse>
Security Group:quotes  Permissions:read,schedule-read
ElementScheduleResponse
¶requiredstaticElementLocator stringcomplexData booleanelementType stringmaxValidationErrors intscheduleItemType string
GET /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| staticElementLocator | path | string | required |
| lastSeenLocator | query | string? | optional |
Response:ScheduleItemsResponse
Security Group:quotes  Permissions:read,schedule-read
ScheduleItemsResponse
¶requiredlastSeenLocator stringitems ScheduleItem[]
Updating
PUT /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| staticElementLocator | path | string | required |
Request:AddScheduleItemRequest[]
Response:ValidationResult
Security Group:quotes  Permissions:write,schedule-add
AddScheduleItemRequest
¶requireddata map<string,object>
ScheduleItem
¶requiredlocator stringstaticElementLocator stringdata map<string,object>createdAt datetimecreatedBy uuid
API requests to add items to a schedule are limited to 500 items
POST /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| staticElementLocator | path | string | required |
Request:file
Response:ValidationResult
Security Group:quotes  Permissions:write,schedule-add
CSV for bulk upload of schedule items only support flat item data structures i.e. no nested objects in the schedule definition.
DELETE /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| staticElementLocator | path | string | required |
Request:string[]
Response:void
Security Group:quotes  Permissions:write,schedule-delete
Delete individual items from a schedule by specifying their locator within the string array of the request.
PATCH /policy/{tenantLocator}/quotes/{locator}/schedules/{staticElementLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| staticElementLocator | path | string | required |
Request:PatchScheduleItemRequest[]
Response:ValidationResult
Security Group:quotes  Permissions:write,schedule-update
PatchScheduleItemRequest
¶requiredlocator stringremoveData map<string,object>setData map<string,object>