POST api/PolicyAICallLog/UpdateElastic
Update policy AI log record.
Request Information
URI Parameters
None.
Body Parameters
AICallLogRecordNestName | 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": "75d3f470-ed0e-4d8e-86f1-90ae10aec228", "aiVendor": 1, "lastCallTime": "2025-06-24T06:03:30.4098586-05:00", "policyId": "5d90ad6e-93b9-42d9-b7ec-2d0d70e5bdd7", "agencyId": "8872ce19-21c3-40b0-8931-e756fa1ea0ab", "callId": "sample string 5", "userId": "739e761a-4350-4d20-a520-51d2a11c93cd", "createDate": "2025-06-24T06:03:30.4098586-05:00", "changeDate": "2025-06-24T06:03:30.4098586-05:00", "taskId": "ff300d81-0c62-41f1-87bd-5d6e7f867373", "callType": 1, "id": "8bd225db-a4ad-4cce-b977-30dbff9abe23", "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>8872ce19-21c3-40b0-8931-e756fa1ea0ab</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2025-06-24T06:03:30.4098586-05:00</ChangeDate> <CreateDate>2025-06-24T06:03:30.4098586-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>8bd225db-a4ad-4cce-b977-30dbff9abe23</Id> <LastCallTime>2025-06-24T06:03:30.4098586-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>5d90ad6e-93b9-42d9-b7ec-2d0d70e5bdd7</PolicyId> <Status>Failed</Status> <TaskId>ff300d81-0c62-41f1-87bd-5d6e7f867373</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>75d3f470-ed0e-4d8e-86f1-90ae10aec228</TruckingCompanyId> <UserId>739e761a-4350-4d20-a520-51d2a11c93cd</UserId> </AICallLogRecordNest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultName | 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>