You can retrieve a list of quotes associated with an event by providing its triggerRequestId
.
GET: https://api.dais.com/ioi/v1/quotes/trigger/{triggerRequestId}
{ "quoted": [ { "type": "RATE", "lineId": "ca80d46b-cf28-4c97-a488-df213f8d0f83", "lineName": "Line Title", "bundleId": "ed06fc8f-6602-41b1-97e0-abf327170711", "source": { "sourceType": "EXTERNAL" }, "clientId": "48fcc4e0-a2c5-4147-9b3a-fc5e51fa1b03", "clientOrganizationId": "0845868d-38d1-4c38-9d9a-011059828b46", "quotingOrganizationId": "0845868d-38d1-4c38-9d9a-011059828b46", "agencyCode": { "string": "agency code" } }], "declined": []}
quoted
: List of successful quotesdeclined
: List of quotes that were declined or unsuccessfultype
: Quote type can beQUOTE
orRATE
lineId
: UUID for the linebundleId
: UUID for the associated bundleclientId
: UUID for the clientclientOrganizationId
: UUID for the client organizationquotingOrganizationId
: UUID for the quoting organizationagencyCode
: Agency codessource
: For internal usesourceType
: This will always beEXTERNAL
declined
: List of unsuccessful quotes