Sales
Create sale
Creates a sale record for the current subscriber.
Validation & Requirements
Required Parameters
- saleForm (body, object)
Required JSON Body Fields
- officeGuid (format=guid, minLength=1)
- agentGuid (format=guid, minLength=1)
- checklistTypeId (format=int32)
Validations
- Invalid GUID values in *Guid/*Guids fields return 422 Unprocessable Entity.
- Invalid date values in *date* fields return 422 Unprocessable Entity.
- Missing required request body returns 422 Unprocessable Entity with Missing request body..
- Additional business-rule validation may return 422 with details in the errors array.
Integration Requirement
- Retrieve the corresponding ...Form endpoint immediately before write operations to get current dynamic required fields and allowed values.
post/api/files/sales
Request body
Response
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
added the new optional request property
dealTypenew-optional-request-property
- ○