Proposals
Create Proposal
Create a new Proposal record.
POST
Create Proposal
A Proposal bundles one or more contracts (
ProposalContract records) that are presented to a customer for review and acceptance. Each ProposalContract carries the same properties as a CoworkerContract and becomes one when the proposal is accepted.
When a Proposal is created, a ProposalContract is automatically created and associated with it. From that point on, the contract-related fields on the Proposal (TariffId, Desks, Variants, Price, StartDate, CancellationLimitDays, ContractTerm, CancellationDate, ExpirationDate, BillingDay, Quantity) become read-only — they are all createOnly. Subsequent edits to those values must be made via the associated ProposalContract. Additional ProposalContract records can also be added.
Proposals support three optional attachments:
- DocumentToSendId — a
DocumentTemplateentity presented to the customer instead of the standard price-schedule table before the proposal is accepted. - DocumentToSignId — a
DocumentTemplateentity used to generate a document for e-signature. - ProposalFile — a file shown as a downloadable link before the proposal is accepted.
DoNotIssueInvoice to control whether the first invoice is issued automatically when the proposal is accepted.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the Proposal-Create role.Enums
eProposalStatus — ProposalStatus values
eProposalStatus — ProposalStatus values
| Value | Name |
|---|---|
| 1 | Draft |
| 2 | Sent |
| 3 | Accepted |
| 4 | Rejected |
Request Body
Required Fields
ID of the issued by linked to this record.
ID of the responsible linked to this record.
ID of the coworker linked to this record.
Proposal reference.
Proposal status. Defaults to
eProposalStatus.Draft.ID of the tariff linked to this record.
Billing day of month for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Quantity for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Optional Fields
Optional notes or comments about this proposal.
ID of the document to send linked to this record.
ID of the document to sign linked to this record.
The document to sign html value for this proposal.
URL of a new file to upload as the document to sign binary document.
Set to true to remove the current document to sign binary document file.
The document to send html value for this proposal.
URL of a new file to upload as the document to send binary document.
Set to true to remove the current document to send binary document file.
URL of a new file to upload as the proposal file.
Set to true to remove the current proposal file file.
List of desks linked to this record.
List of variants linked to this record.
Price override for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Start date for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Cancellation limit in days for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Contract term end date for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Cancellation date for the initial contract. Becomes read-only after creation; edit via ProposalContract.
Proposal expiration date. Becomes read-only after creation; edit via ProposalContract.
ID of the discount code linked to this record.
Date/time value for start date local.
Date/time value for sent on local.
If true, the first invoice is not issued automatically when the proposal is accepted.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the proposal was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create Proposal