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": "daa6c138-1f94-4453-b1ea-7ff3e871e1c4",
"aiVendor": 1,
"lastCallTime": "2025-12-24T19:21:39.3858115-06:00",
"policyId": "3db826ce-47a3-4767-8fb1-4889d662eb4a",
"agencyId": "01251654-a4d1-414f-878b-ced0dafc596f",
"callId": "sample string 5",
"userId": "25863562-d63e-4dfb-8b0f-969be59f76ef",
"createDate": "2025-12-24T19:21:39.3858115-06:00",
"changeDate": "2025-12-24T19:21:39.3858115-06:00",
"taskId": "904c4d39-0be5-4f36-bd0a-d9d3fb9eb9d5",
"callType": 1,
"id": "cb02cdbb-a76f-4122-8c21-a593abdb283a",
"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>01251654-a4d1-414f-878b-ced0dafc596f</AgencyId> <CallId>sample string 5</CallId> <CallType>Incomming</CallType> <ChangeDate>2025-12-24T19:21:39.3858115-06:00</ChangeDate> <CreateDate>2025-12-24T19:21:39.3858115-06:00</CreateDate> <Feedback>sample string 1</Feedback> <Id>cb02cdbb-a76f-4122-8c21-a593abdb283a</Id> <LastCallTime>2025-12-24T19:21:39.3858115-06:00</LastCallTime> <PhoneNumber>sample string 9</PhoneNumber> <PolicyId>3db826ce-47a3-4767-8fb1-4889d662eb4a</PolicyId> <Status>Failed</Status> <TaskId>904c4d39-0be5-4f36-bd0a-d9d3fb9eb9d5</TaskId> <TransactionId>sample string 3</TransactionId> <Transcript>sample string 2</Transcript> <TruckingCompanyId>daa6c138-1f94-4453-b1ea-7ff3e871e1c4</TruckingCompanyId> <UserId>25863562-d63e-4dfb-8b0f-969be59f76ef</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>