api.hirepos.com/Leads

Edited

In HirePOS, the Leads endpoint serves as a gateway for posting lead details from third-party applications into HirePOS.

POST https://api.hirepos.com/Leads

Headers:
AuthKey={YourAPIKey}
AuthSecret={YourAPISecret}

// Example Request...

{
    "Company": "AnyDay Hire",
    "FirstName": "John",
    "LastName": "Smith",
    "AddressLine1": "1 Any Street",
    "AddressLine2": "",
    "City": "Cairns",
    "State": "QLD",
    "Postcode": "4870",
    "Phone1": "(07) 1000 0000",
    "Phone2": "0412 323 000",
    "Phone3": "",
    "Fax": "",
    "Email": "",
    "Notes": ""
}  
  
// Example Response...

{
    "ErrorRaised": "False",
    "ErrorType": null,
    "ErrorMessage": null,
    "Leads": [
        {
            "Id": 85,
            "DateCreated": "2022-06-08T16:56:29.4337225Z",
            "Company": "AnyDay Hire",
            "FirstName": "John",
            "LastName": "Smith",
            "AddressLine1": "1 Any Street",
            "AddressLine2": "",
            "City": "Cairns",
            "State": "QLD",
            "Postcode": "4870",
            "Phone1": "(07) 1000 0000",
            "Phone2": "0412 323 000",
            "Phone3": "",
            "Fax": "",
            "Email": "",
            "Notes": null
        }
    ]
}