Skip to main content
POST
/
api
/
module48
/
pnl
Create Pnl Endpoint
curl --request POST \
  --url https://api.example.com/api/module48/pnl \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "<string>",
  "month": "<string>",
  "amount": 0
}
'
{
  "amount": 123,
  "category": "<string>",
  "created_at": "<string>",
  "id": 123,
  "month": "<string>",
  "updated_at": "<string>"
}

Body

application/json
category
string
required
month
string
required
amount
number
default:0

Response

Successful Response

amount
number
required
category
string
required
created_at
string
required
id
integer
required
month
string
required
updated_at
string
required