Policy Transactions Schedules API
Endpoint Index
Action | Endpoint |
---|---|
Get Schedules for a transaction | GET /policy/{tenantLocator}/transactions/{locator}/schedules |
Get a Schedule and items | GET /policy/{tenantLocator}/transactions/{locator}/schedules/{staticElementLocator} |
Add items to schedule | PUT /policy/{tenantLocator}/transactions/{locator}/schedules/{staticElementLocator} |
Upload a CSV of schedule items | POST /policy/{tenantLocator}/transactions/{locator}/schedules/{staticElementLocator} |
Delete an item from schedule | DELETE /policy/{tenantLocator}/transactions/{locator}/schedules/{staticElementLocator} |
Update a schedule item | PATCH /policy/{tenantLocator}/transactions/{locator}/schedules/{staticElementLocator} |
Fetch
GET /policy/{tenantLocator}/transactions/{locator}/schedules
Request Parameters:
Name | Position | Type | Required |
---|---|---|---|
tenantLocator | path | uuid | required |
locator | path | string | required |
Response:map<string,ElementScheduleResponse>
Security Group:transactions  Permissions:read,schedule-read
ElementScheduleResponse
¶requiredstaticElementLocator stringcomplexData booleanelementType stringmaxValidationErrors intscheduleItemType string
GET /policy/{tenantLocator}/transactions/{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:transactions  Permissions:read,schedule-read
ScheduleItemsResponse
¶requiredlastSeenLocator stringitems ScheduleItem[]
ScheduleItem
¶requiredlocator stringstaticElementLocator stringdata map<string,object>createdAt datetimecreatedBy uuid
Updating
PUT /policy/{tenantLocator}/transactions/{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:transactions  Permissions:write,schedule-add
AddScheduleItemRequest
¶requireddata map<string,object>
API requests to add items to a schedule are limited to 500 items
POST /policy/{tenantLocator}/transactions/{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:transactions  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}/transactions/{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:transactions  Permissions:write,schedule-delete
Delete individual items from a schedule by specifying their locator within the string array of the request.
PATCH /policy/{tenantLocator}/transactions/{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:transactions  Permissions:write,schedule-update
PatchScheduleItemRequest
¶requiredlocator stringremoveData map<string,object>setData map<string,object>