curl --request POST \
--url https://api.example.com/api/Configuration/KPI \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"id": 123,
"customerId": 123,
"name": "<string>",
"description": "<string>",
"reoccuranceTypeId": 123,
"reoccuranceType": "<string>",
"effectiveDate": "2023-11-07T05:31:56Z",
"userConfigurations": [
{
"id": 123,
"kpiId": 123,
"userId": 123,
"user": "<string>",
"value": 123,
"createdBy": 123
}
],
"metric": {
"type": 123,
"subTypes": [
123
],
"options": 123,
"status": [
123
],
"dateBasedOn": 123
}
}
'curl --request POST \
--url https://api.example.com/api/Configuration/KPI \
--header 'Content-Type: application/json-patch+json' \
--data '
{
"id": 123,
"customerId": 123,
"name": "<string>",
"description": "<string>",
"reoccuranceTypeId": 123,
"reoccuranceType": "<string>",
"effectiveDate": "2023-11-07T05:31:56Z",
"userConfigurations": [
{
"id": 123,
"kpiId": 123,
"userId": 123,
"user": "<string>",
"value": 123,
"createdBy": 123
}
],
"metric": {
"type": 123,
"subTypes": [
123
],
"options": 123,
"status": [
123
],
"dateBasedOn": 123
}
}
'OK
Was this page helpful?