cURL
curl --request POST \ --url https://api.smokeball.com/activitycodes \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data '{ "updatedByUserId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8", "type": 0, "description": "Review contract", "code": "RC", "isBillable": false, "rateType": 0, "rate": 23.21, "quantity": 0.6, "taxInclusive": false, "taxExempt": false }'
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Creates an activity code.
When request is accepted. Returns a hypermedia 'Link' object of the activity code to be created.
The response is of type object.
object