Incoming Call Log Item
Create Incoming Call Log Item
Endpoint to create a new Incoming Call Log Item
post/incoming-call-log-item
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScripthttps://skmtc.dev/oneuptime/apis/oneuptime-openapi-specification/docs/incoming-call-log-item/post.tsA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incomingCallLogId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incomingCallPolicyId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"status": "Example Text"
}
}Response
Created successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incomingCallLog": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"incomingCallLogId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incomingCallPolicy": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"incomingCallPolicyId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"incomingCallPolicyEscalationRule": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"incomingCallPolicyEscalationRuleId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"user": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"userId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"userPhoneNumber": "+1-555-0123",
"status": "Example Text",
"statusMessage": "This is an example of longer text content that provides detailed information.",
"dialDurationInSeconds": 42,
"callCostInUSDCents": 42,
"startedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"endedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"isAnswered": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.