All operations
LEADS
Creates a new lead.
The request is checked against the lead field rules configured for your crmSeries account (required fields, lengths, formats). The lead's assigned date is set to now. When `OwnerId` is another user, that user is notified of the new lead.
POST
/api/v2/leadsAuthentication
Choose one supported method for this request.
Request body
The lead to create. Use the IDs from the lead status, source, source location and reason lookups.
ownerIdinteger · int32descriptionstringcommentsstringstatusIdinteger · int32sourceIdinteger · int32sourcestringnullablesourceLocationIdinteger · int32assignedReasonIdsinteger[]companyNamestringaddress1stringaddress2stringcitystringzipstringstatestringcountrystringcountystringfaxstringwebstringcompanyPhonestringcompanyIdinteger · int32contactIdinteger · int32titlestringpositionstringfirstNamestringlastNamestringdepartmentstringphonestringcellstringemailstringsourceUrlstringsourcePagestringbranchIdinteger · int32makestringmodelstringequipmentTypestringenterTypestring
Responses
Lead created.
Standard response envelope
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
recordTypestringnullableleadIDinteger · int32nullableownerIDinteger · int32nullablestatusIDinteger · int32nullablesourceIDinteger · int32nullablesourcestringnullablesourceLocationIDinteger · int32nullablesourceLocationstringnullableratingstringnullabledescriptionstringnullablecompanyIDinteger · int32nullablecompanyNamestringnullableaddress1stringnullablecitystringnullablestatestringnullablezipstringnullablecountystringnullablecountrystringnullablecontactIDinteger · int32nullablecontactNamestringnullablefirstNamestringnullablelastNamestringnullableemailstringnullablephonestringnullablecellstringnullableequipmentIDinteger · int32nullablemakestringnullablemodelstringnullableserialNostringnullablestockNostringnullableyearstringnullablehoursinteger · int32nullableattachmentsstringnullabledeletedbooleannullableownerNamestringnullablestatusNamestringnullablecommentsstringnullabledateAssignedstring · date-timenullabledateAcknowledgedstring · date-timenullabledateConvertedstring · date-timenullableaddress2stringnullablefaxstringnullabletitlestringnullablepositionstringnullablecompanyPhonestringnullablewebstringnullabledepartmentstringnullablefavoritebooleannullableassignedReasonIDsinteger[]nullablestrAssignedReasonsstring[]nullableassignedReasonsDisplaystringnullablelatitudenumber · doublenullablelongitudenumber · doublenullableequipmentTypestringnullablesourceUrlstringnullablesourcePagestringnullablebranchstringnullableassociatedQuoteinteger · int32nullableidentifierstringnullablebranchIDinteger · int32nullableclosedbooleannullablecanAcknowledgeboolean