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": "95d5aae0-4970-48b2-9f1f-8c07b0e7bb85",
"aiVendor": 1,
"lastCallTime": "2026-08-20T03:38:52.9944964-05:00",
"policyId": "ec7d66e4-720f-4b29-be1c-1a32ddc70bb7",
"agencyId": "0d993b73-67a5-40ad-a837-ce4be7ec4f76",
"callId": "sample string 5",
"userId": "e0c836b7-319c-4258-bb97-1bd1d4c6f658",
"createDate": "2026-08-20T03:38:52.9944964-05:00",
"changeDate": "2026-08-20T03:38:52.9944964-05:00",
"taskId": "2f757710-32e2-44cc-8941-88e2b11cc5f7",
"callType": 1,
"id": "4348efc8-71b6-40c2-ac0b-f859b8a7bd37",
"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>0d993b73-67a5-40ad-a837-ce4be7ec4f76</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2026-08-20T03:38:52.9944964-05:00</ChangeDate> <CreateDate>2026-08-20T03:38:52.9944964-05:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>4348efc8-71b6-40c2-ac0b-f859b8a7bd37</Id> <LastCallTime>2026-08-20T03:38:52.9944964-05:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>ec7d66e4-720f-4b29-be1c-1a32ddc70bb7</PolicyId> <Status>Failed</Status> <TaskId>2f757710-32e2-44cc-8941-88e2b11cc5f7</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>95d5aae0-4970-48b2-9f1f-8c07b0e7bb85</TruckingCompanyId> <UserId>e0c836b7-319c-4258-bb97-1bd1d4c6f658</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>