curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/contracts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": "<string>",
"currency": "USD",
"entity_currency": "USD",
"contract_end_date": "2023-12-25",
"billing_frequency": "monthly",
"deal_name": "<string>",
"deal_id": "<string>",
"consultant": "<string>",
"closed_date": "2023-12-25",
"total_contract_value": 0,
"contract_start_date": "2023-12-25",
"exchange_rate": 0,
"exchange_rate_book": 0,
"crm_link": "<string>",
"contract_link": "<string>",
"status": "ACTIVE",
"source": "SALESFORCE",
"deleted_at": "2023-11-07T05:31:56Z",
"auto_renew": true,
"auto_renew_duration": -1,
"auto_renew_invoice": true,
"entity": 123,
"client": 123,
"department": 123,
"journal_entries": [
123
]
}'
{
"id": 123,
"entity_name": "<string>",
"client_name": "<string>",
"department_name": "<string>",
"parent_department_name": "<string>",
"parent_department": 123,
"tags": "<string>",
"total_revenue": 0,
"total_mrr": 0,
"total_billed": 0,
"total_unbilled": 0,
"total_paid": 0,
"total_outstanding": 0,
"total_deferred_revenue": 0,
"currency": "USD",
"entity_currency": "USD",
"attachments": [
{
"id": 123,
"customer": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": 123,
"created_by_name": "<string>",
"created_by_email": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"url": "<string>",
"s3_content_type": "<string>",
"s3_content_length": 1073741823,
"s3_path": "<string>",
"object_id": 1073741823,
"app": "<string>",
"model": "<string>"
}
],
"contract_end_date": "2023-12-25",
"search_vector": "<string>",
"search_text": "<string>",
"billing_frequency": "monthly",
"deal_name": "<string>",
"deal_id": "<string>",
"consultant": "<string>",
"closed_date": "2023-12-25",
"total_contract_value": 0,
"contract_start_date": "2023-12-25",
"exchange_rate": 0,
"exchange_rate_book": 0,
"crm_link": "<string>",
"contract_link": "<string>",
"status": "ACTIVE",
"source": "SALESFORCE",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"auto_renew": true,
"auto_renew_duration": -1,
"auto_renew_invoice": true,
"customer": 123,
"entity": 123,
"client": 123,
"department": 123,
"journal_entries": [
123
]
}
curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/contracts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": "<string>",
"currency": "USD",
"entity_currency": "USD",
"contract_end_date": "2023-12-25",
"billing_frequency": "monthly",
"deal_name": "<string>",
"deal_id": "<string>",
"consultant": "<string>",
"closed_date": "2023-12-25",
"total_contract_value": 0,
"contract_start_date": "2023-12-25",
"exchange_rate": 0,
"exchange_rate_book": 0,
"crm_link": "<string>",
"contract_link": "<string>",
"status": "ACTIVE",
"source": "SALESFORCE",
"deleted_at": "2023-11-07T05:31:56Z",
"auto_renew": true,
"auto_renew_duration": -1,
"auto_renew_invoice": true,
"entity": 123,
"client": 123,
"department": 123,
"journal_entries": [
123
]
}'
{
"id": 123,
"entity_name": "<string>",
"client_name": "<string>",
"department_name": "<string>",
"parent_department_name": "<string>",
"parent_department": 123,
"tags": "<string>",
"total_revenue": 0,
"total_mrr": 0,
"total_billed": 0,
"total_unbilled": 0,
"total_paid": 0,
"total_outstanding": 0,
"total_deferred_revenue": 0,
"currency": "USD",
"entity_currency": "USD",
"attachments": [
{
"id": 123,
"customer": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": 123,
"created_by_name": "<string>",
"created_by_email": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"url": "<string>",
"s3_content_type": "<string>",
"s3_content_length": 1073741823,
"s3_path": "<string>",
"object_id": 1073741823,
"app": "<string>",
"model": "<string>"
}
],
"contract_end_date": "2023-12-25",
"search_vector": "<string>",
"search_text": "<string>",
"billing_frequency": "monthly",
"deal_name": "<string>",
"deal_id": "<string>",
"consultant": "<string>",
"closed_date": "2023-12-25",
"total_contract_value": 0,
"contract_start_date": "2023-12-25",
"exchange_rate": 0,
"exchange_rate_book": 0,
"crm_link": "<string>",
"contract_link": "<string>",
"status": "ACTIVE",
"source": "SALESFORCE",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"auto_renew": true,
"auto_renew_duration": -1,
"auto_renew_invoice": true,
"customer": 123,
"entity": 123,
"client": 123,
"department": 123,
"journal_entries": [
123
]
}
Token-based authentication with required prefix "Token"
The response is of type object
.