Developers
API ReferenceReported Time Type

Creates a ReportedTimeType resource.

POST
/project/reported-time-types

Creates a ReportedTimeType resource.

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new ReportedTimeType resource

TypeScript Definitions

Use the request body type in TypeScript.

name?string
Lengthlength <= 100
isDefault?boolean
Defaultfalse
isPaid?boolean
Defaulttrue
isActive?boolean
Defaulttrue

Response Body

curl -X POST "https://example.com/project/reported-time-types" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "isDefault": true,  "isPaid": true,  "isActive": true}