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": "7b8b65bc-85af-4167-b742-3318a938481b",
"aiVendor": 1,
"lastCallTime": "2026-09-15T16:35:46.4960161-05:00",
"policyId": "edc6d5ee-85be-4808-a3ce-f5f4a645accc",
"agencyId": "5bbd72cd-bdcf-4fda-b370-59f6c76e3695",
"callId": "sample string 5",
"userId": "83c88435-6b57-411f-bc92-a8ec533eda7c",
"createDate": "2026-09-15T16:35:46.4960161-05:00",
"changeDate": "2026-09-15T16:35:46.4960161-05:00",
"taskId": "1d77b346-71fe-4375-92c4-9b8836b5a6d5",
"callType": 1,
"id": "786a33dc-9121-4ef0-8bb8-0c2f18a717e1",
"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>5bbd72cd-bdcf-4fda-b370-59f6c76e3695</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2026-09-15T16:35:46.4960161-05:00</ChangeDate> <CreateDate>2026-09-15T16:35:46.4960161-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>786a33dc-9121-4ef0-8bb8-0c2f18a717e1</Id> <LastCallTime>2026-09-15T16:35:46.4960161-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>edc6d5ee-85be-4808-a3ce-f5f4a645accc</PolicyId> <Status>Failed</Status> <TaskId>1d77b346-71fe-4375-92c4-9b8836b5a6d5</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>7b8b65bc-85af-4167-b742-3318a938481b</TruckingCompanyId> <UserId>83c88435-6b57-411f-bc92-a8ec533eda7c</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>