curl --request PUT \
--url https://{host}/cleemy-procurement/api/natures/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"costFamilyId": 123,
"state": "Enabled",
"accountingPlans": [
{
"id": 123,
"chargeAccount": "<string>"
}
]
}
'{
"id": 123,
"name": "<string>",
"costFamily": {
"id": 123,
"name": "<string>"
},
"state": "Enabled",
"accountingPlans": [
{
"id": 123,
"chargeAccount": "<string>"
}
]
}Update a nature.
curl --request PUT \
--url https://{host}/cleemy-procurement/api/natures/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"costFamilyId": 123,
"state": "Enabled",
"accountingPlans": [
{
"id": 123,
"chargeAccount": "<string>"
}
]
}
'{
"id": 123,
"name": "<string>",
"costFamily": {
"id": 123,
"name": "<string>"
},
"state": "Enabled",
"accountingPlans": [
{
"id": 123,
"chargeAccount": "<string>"
}
]
}API key. Value must be formatted like so: lucca application={api_key}.
ID of the nature.
Nature to update.
Was this page helpful?