Update a Scheduled Item on a Proposal

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Partially updates a scheduled item (e.g., a location, vehicle, or equipment record) identified by {scheduleId} in the {domain}. Only the fields included in the request body are modified on that scheduled item. Unspecified fields are left unchanged.

This endpoint does not modify the proposal itself. The {proposalId} in the route is used only to verify that the proposal is modifiable and that the scheduled item belongs to it. The fields in the request body must correspond to the scheduled item's domain, not the proposal entity.

The system validates the updated record after applying changes.

Preconditions

The proposal must be modifiable. A proposal cannot be modified when:

  • Its status is Bound (B), Rejected (R), or Cancelled (0).
  • Its proposal set is bound.
  • It has a pending expiry date change endorsement.

The domain must be a valid schedule domain for the proposal.

Examples

Scenario 1: Successfully update a location's city:

PATCH /api/Quotes/Proposals/12345/Schedules/ProposalLocation/100
Content-Type: application/json

{
  "City": "Naperville",
  "ZipCode": "60540"
}
{
  "IsSuccessful": true,
  "RecordID": 100,
  "OrderNumber": null,
  "Message": "Updated schedule with id 100 successfully.",
  "Warnings": null
}

Scenario 2: Validation fails after applying changes:

PATCH /api/Quotes/Proposals/12345/Schedules/ProposalLocation/100
Content-Type: application/json

{
  "LocationName": ""
}
{
  "IsSuccessful": false,
  "RecordID": 0,
  "OrderNumber": null,
  "Message": "LocationName is required.",
  "Warnings": null
}

Path Params
integer
required

The ID of the proposal that owns the scheduled item. Used to verify the proposal is modifiable and that the record belongs to it. This endpoint does not modify the proposal itself.

string
required

The name of the Domain object whose schedule you are updating.

integer
required

The primary key ID of the schedule record to update.

Query Params
string

Accepted but currently unused. The parameter is retained for backwards compatibility and to avoid deprecation efforts on existing integrations. It has no effect on the operation.

boolean
Defaults to false

Accepted but currently unused. The parameter is retained for backwards compatibility and to avoid deprecation efforts on existing integrations. It has no effect on the operation.

Body Params
json
required
Defaults to { "Field1": "Value 1", "Field2": "Value 2", "Field 3": "Value 3" }

A JSON dictionary of field-name/value pairs to update. The keys must correspond to fields defined in the schedule domain's data dictionary (e.g., for ProposalLocation: LocationName, Address1, City, StateCode, etc.). Only the fields included are modified; unspecified fields are left unchanged.

Use GET /api/Quotes/Proposals/{proposalId}/Schedules/{domain}/{scheduleId} to see the full set of fields and their current values for an existing record.

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json