All operations
LEADS
Creates a new lead against company.
POST
/api/v2/leads/against-companyAuthentication
Choose one supported method for this request.
Request body
The lead data to create.
ownerIdinteger · int32descriptionstringcommentsstringstatusIdinteger · int32sourceIdinteger · int32sourcestringnullablesourceLocationIdinteger · int32assignedReasonIdsinteger[]companyNamestringaddress1stringaddress2stringcitystringzipstringstatestringcountrystringcountystringfaxstringwebstringcompanyPhonestringcompanyIdinteger · int32contactIdinteger · int32titlestringpositionstringfirstNamestringlastNamestringdepartmentstringphonestringcellstringemailstringsourceUrlstringsourcePagestringbranchIdinteger · int32makestringmodelstringequipmentTypestringenterTypestring
Responses
Lead created successfully.
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