POST api/PolicyAICallLog/UpdateElastic
Update policy AI log record.
Request Information
URI Parameters
None.
Body Parameters
AICallLogRecordNest| Name | Description | Type | Additional information |
|---|---|---|---|
| Feedback | string |
None. |
|
| Transcript | string |
None. |
|
| Status | CallStatus |
Required Range: inclusive between 1 and 2 |
|
| TransactionId | string |
Required |
|
| TruckingCompanyId | globally unique identifier |
None. |
|
| aiVendor | AICallVendors |
None. |
|
| LastCallTime | date |
None. |
|
| PolicyId | globally unique identifier |
None. |
|
| AgencyId | globally unique identifier |
None. |
|
| CallId | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| ChangeDate | date |
None. |
|
| TaskId | globally unique identifier |
None. |
|
| callType | CallType |
None. |
|
| Id | globally unique identifier |
None. |
|
| PhoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"feedback": "sample string 1",
"transcript": "sample string 2",
"status": 1,
"transactionId": "sample string 3",
"truckingCompanyId": "c58d5f62-bdf0-463f-b29e-951619574af1",
"aiVendor": 1,
"lastCallTime": "2026-08-18T07:25:17.1965051-05:00",
"policyId": "c9e21d32-6217-4c4c-8e1b-a96f349c302f",
"agencyId": "f3c8bb9b-edca-480c-b1a5-2b0aeff32e0a",
"callId": "sample string 5",
"userId": "ff38e9ac-0686-482e-ae6f-f202b84a741d",
"createDate": "2026-08-18T07:25:17.1965051-05:00",
"changeDate": "2026-08-18T07:25:17.1965051-05:00",
"taskId": "719d3707-cbe9-4555-8974-ed857273e048",
"callType": 1,
"id": "44e7a99f-592e-4dc2-b69c-d4b7d77c189c",
"phoneNumber": "sample string 9"
}
application/xml, text/xml
Sample:
<AICallLogRecordNest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <AIVendor>SONANT</AIVendor> <AgencyId>f3c8bb9b-edca-480c-b1a5-2b0aeff32e0a</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2026-08-18T07:25:17.1965051-05:00</ChangeDate> <CreateDate>2026-08-18T07:25:17.1965051-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>44e7a99f-592e-4dc2-b69c-d4b7d77c189c</Id> <LastCallTime>2026-08-18T07:25:17.1965051-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>c9e21d32-6217-4c4c-8e1b-a96f349c302f</PolicyId> <Status>Failed</Status> <TaskId>719d3707-cbe9-4555-8974-ed857273e048</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>c58d5f62-bdf0-463f-b29e-951619574af1</TruckingCompanyId> <UserId>ff38e9ac-0686-482e-ae6f-f202b84a741d</UserId> </AICallLogRecordNest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ApiStatus |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 0,
"message": "sample string 1"
}
application/xml, text/xml
Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 1</Message> <Status>Error</Status> </NowCertsApiResult>