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": "254132f7-6674-46cd-b8a8-518eb0903cd9",
"aiVendor": 1,
"lastCallTime": "2025-12-25T07:54:26.814803-06:00",
"policyId": "5d0716d1-e3ec-435f-8216-282a1e884c5b",
"agencyId": "c920cd93-1888-49bd-89f9-aafb48927b63",
"callId": "sample string 5",
"userId": "c9085965-28ad-4d83-83ba-f7db10ad93fd",
"createDate": "2025-12-25T07:54:26.814803-06:00",
"changeDate": "2025-12-25T07:54:26.814803-06:00",
"taskId": "f0cae2a8-f10b-43c9-9568-6000960a30ff",
"callType": 1,
"id": "f06ad326-e5f6-49c2-9935-538efeadd76b",
"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>c920cd93-1888-49bd-89f9-aafb48927b63</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2025-12-25T07:54:26.814803-06:00</ChangeDate> <CreateDate>2025-12-25T07:54:26.814803-06:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>f06ad326-e5f6-49c2-9935-538efeadd76b</Id> <LastCallTime>2025-12-25T07:54:26.814803-06:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>5d0716d1-e3ec-435f-8216-282a1e884c5b</PolicyId> <Status>Failed</Status> <TaskId>f0cae2a8-f10b-43c9-9568-6000960a30ff</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>254132f7-6674-46cd-b8a8-518eb0903cd9</TruckingCompanyId> <UserId>c9085965-28ad-4d83-83ba-f7db10ad93fd</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>