A proposal must have a contact assigned before you can assign a location. Attempting to assign a location to a proposal with no contact returns 409.
Request
POST /public/proposals/{ProposalId}/contact/{ContactId}
Headers
Must be
application/json.Must be
application/x-www-form-urlencoded.Your API Application Key.
Your User API Key.
Current UTC timestamp in RFC 7231 format.
HMAC-SHA256 signature, Base64-encoded.
Path Parameters
The unique ID of the proposal. Must belong to the current account.
The unique ID of the contact to assign. Must belong to the same account as the proposal.
Response
204 No Content
The contact was successfully assigned. No response body is returned.Error Codes
| Code | Meaning |
|---|---|
| 401 | Not authorized. Invalid or missing HMAC authentication headers. |
| 402 | Active subscription required. |
| 403 | You do not have permission for this action. |
| 404 | Proposal or contact not found. |