Lead Transaction
Get Transaction
Fetches a single transaction that belongs to the given lead.
Prerequisites:
- leadId must be manageable by the caller; otherwise 404 LEAD_NOT_EXIST.
- transactionId must exist, not be deleted, AND belong to leadId; otherwise 404 TRANSACTION_NOT_EXIST. For security, cross-lead transactionIds are treated as 'not exist' rather than 'forbidden'.
get/v1.0/leads/{leadId}/transaction/{transactionId}
Request
- Base URLhttps://api.lofty.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
leadIdinteger required
Lead ID. Must be manageable by the caller.
transactionIdinteger required
Transaction ID. Must exist and be bound to leadId.
Headers
Authorizationstring required
Bearer [access_token]
Response
The requested transaction.
Example response
{
"created": 1518078026000,
"updated": 1518078026000,
"transactionId": 10001,
"transactionName": "123 Main St",
"leadName": "Bob",
"assignedAgent": 100001,
"transactionType": "Purchase",
"homePrice": 1000000,
"transactionStatus": "Pre-contract",
"expectedCloseDate": 1508580010000,
"closeDate": 1508580010000,
"commissionRate": 3,
"gci": 5000,
"teamRevenue": 1000,
"agentRevenue": 4000,
"appointmentDate": 1508580010000,
"agreementSignedDate": 1508580010000,
"offerDate": 1508580010000,
"contractDate": 1508580010000,
"appraisalDate": 1508580010000,
"homeInspectionDate": 1508580010000,
"escrowDate": 1508580010000,
"expiration": 1508580010000
}Changes
No recorded changes to this operation across all 1 revision of this API.