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": "86986909-c4cd-40ac-ab3d-c9d3189dbe39", "aiVendor": 1, "lastCallTime": "2025-05-09T07:28:24.7822022-05:00", "policyId": "dbec7ad1-3c72-4a6b-bdfa-426e0d8143fd", "agencyId": "6da683a8-4d22-40dc-9614-abb6181d0416", "callId": "sample string 5", "userId": "42b6db10-85f0-4bbd-adb6-92a37c63148e", "createDate": "2025-05-09T07:28:24.7822022-05:00", "changeDate": "2025-05-09T07:28:24.7822022-05:00", "taskId": "d09a4d8f-1135-410b-b0d5-9ae49c61a285", "callType": 1, "id": "09afa62f-be79-4dc5-9454-885007146fa7", "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>6da683a8-4d22-40dc-9614-abb6181d0416</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2025-05-09T07:28:24.7822022-05:00</ChangeDate> <CreateDate>2025-05-09T07:28:24.7822022-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>09afa62f-be79-4dc5-9454-885007146fa7</Id> <LastCallTime>2025-05-09T07:28:24.7822022-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>dbec7ad1-3c72-4a6b-bdfa-426e0d8143fd</PolicyId> <Status>Failed</Status> <TaskId>d09a4d8f-1135-410b-b0d5-9ae49c61a285</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>86986909-c4cd-40ac-ab3d-c9d3189dbe39</TruckingCompanyId> <UserId>42b6db10-85f0-4bbd-adb6-92a37c63148e</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>