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": "6b7ad1d8-83b7-44e4-b60c-4e392f4ee646",
"aiVendor": 1,
"lastCallTime": "2026-01-15T13:51:03.96204-06:00",
"policyId": "155adfdc-226a-44e2-9db7-e94d90d6a0a0",
"agencyId": "6ef7eb52-d3e0-4515-97af-aec9cfbc47fd",
"callId": "sample string 5",
"userId": "6f6c785f-3d12-41b7-afbf-4e3b27bc6ec0",
"createDate": "2026-01-15T13:51:03.96204-06:00",
"changeDate": "2026-01-15T13:51:03.96204-06:00",
"taskId": "b8014130-4ded-4bc6-815a-faba2d56e4ea",
"callType": 1,
"id": "473d1b29-4280-4200-8274-525ebd267d8b",
"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>6ef7eb52-d3e0-4515-97af-aec9cfbc47fd</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2026-01-15T13:51:03.96204-06:00</ChangeDate> <CreateDate>2026-01-15T13:51:03.96204-06:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>473d1b29-4280-4200-8274-525ebd267d8b</Id> <LastCallTime>2026-01-15T13:51:03.96204-06:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>155adfdc-226a-44e2-9db7-e94d90d6a0a0</PolicyId> <Status>Failed</Status> <TaskId>b8014130-4ded-4bc6-815a-faba2d56e4ea</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>6b7ad1d8-83b7-44e4-b60c-4e392f4ee646</TruckingCompanyId> <UserId>6f6c785f-3d12-41b7-afbf-4e3b27bc6ec0</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>