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": "443a0760-747b-4529-a5a8-a4572a543e24",
"aiVendor": 1,
"lastCallTime": "2026-02-04T17:56:42.9320825-06:00",
"policyId": "d8581684-d3a5-4009-bef0-965df572480c",
"agencyId": "f97a9428-f581-4005-bc7e-af4d1c95a116",
"callId": "sample string 5",
"userId": "4a61f76c-d2ea-43c5-99a4-d9240567b081",
"createDate": "2026-02-04T17:56:42.9320825-06:00",
"changeDate": "2026-02-04T17:56:42.9320825-06:00",
"taskId": "bf13e61f-0b47-4a37-9cd6-c542b6845794",
"callType": 1,
"id": "a8f9d53f-28cf-49fb-a280-bc24adf874aa",
"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>f97a9428-f581-4005-bc7e-af4d1c95a116</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2026-02-04T17:56:42.9320825-06:00</ChangeDate> <CreateDate>2026-02-04T17:56:42.9320825-06:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>a8f9d53f-28cf-49fb-a280-bc24adf874aa</Id> <LastCallTime>2026-02-04T17:56:42.9320825-06:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>d8581684-d3a5-4009-bef0-965df572480c</PolicyId> <Status>Failed</Status> <TaskId>bf13e61f-0b47-4a37-9cd6-c542b6845794</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>443a0760-747b-4529-a5a8-a4572a543e24</TruckingCompanyId> <UserId>4a61f76c-d2ea-43c5-99a4-d9240567b081</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>