post
https://{environment}.origamirisk.com/OrigamiApi/api/Quotes/Proposals//LinkedSchedules//Add
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Creates cross-references between items on different schedules within the same proposal. The items must already exist on their respective schedules before they can be cross-referenced. This endpoint does not modify either item; it simply records the association between them.
Real World Use Cases
- Record which vehicles are garaged at a given location.
- Assign drivers to specific vehicles they are authorized to operate.
- Associate equipment or machinery with the locations where they are housed.
- Link buildings to the locations they occupy.
You specify:
subjectDomain+subjectID- a single schedule item to cross-reference against (e.g.,ProposalLocation100){domain}+ids- one or more items in a different schedule to add as a cross-reference (e.g.,ProposalVehicle200,201)
Examples
Scenario 1: Cross-reference two vehicles with a location:
POST /api/Quotes/Proposals/12345/LinkedSchedules/ProposalVehicle/Add?subjectDomain=ProposalLocation&subjectID=100&ids=200,201200 OK (no response body)Scenario 2: Subject record does not belong to the proposal:
POST /api/Quotes/Proposals/99999/LinkedSchedules/ProposalVehicle/Add?subjectDomain=ProposalLocation&subjectID=100&ids=200500 Internal Server Error
"Record not found in Proposal." 200