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": "5d9b7559-e675-43c6-8175-05d66410721b", "aiVendor": 1, "lastCallTime": "2025-07-26T14:30:21.7490014-05:00", "policyId": "48b62268-5906-42c7-bf38-414a9775e53b", "agencyId": "0b7d3fdd-a023-4719-b92c-b29a9adc46e9", "callId": "sample string 5", "userId": "36044698-eafe-48f2-99a7-448484e8be32", "createDate": "2025-07-26T14:30:21.7646552-05:00", "changeDate": "2025-07-26T14:30:21.7646552-05:00", "taskId": "8acfbd9e-8c01-4b2b-b86f-b251a2d63744", "callType": 1, "id": "adeb9610-96c5-48d8-be38-7b83a3c1afe6", "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>0b7d3fdd-a023-4719-b92c-b29a9adc46e9</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2025-07-26T14:30:21.7646552-05:00</ChangeDate> <CreateDate>2025-07-26T14:30:21.7646552-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>adeb9610-96c5-48d8-be38-7b83a3c1afe6</Id> <LastCallTime>2025-07-26T14:30:21.7490014-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>48b62268-5906-42c7-bf38-414a9775e53b</PolicyId> <Status>Failed</Status> <TaskId>8acfbd9e-8c01-4b2b-b86f-b251a2d63744</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>5d9b7559-e675-43c6-8175-05d66410721b</TruckingCompanyId> <UserId>36044698-eafe-48f2-99a7-448484e8be32</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>