Discussions

Ask a Question
Back to All

Job Endpoint Create/Update [Missing Data]

I don't know if I'm missing something - which is entirely possible! But when i update or create a new job using the REST API, if the customer is an existing customer and I use their uuid the job and billing contact fields are set to blank as is the job address and billing address.

These are all the possible fields according to your documentation.

{
    "uuid": "123e4567-4145-4359-b6df-1de6b1bfb89b",
    "active": 1,
    "created_by_staff_uuid": "123e4567-371d-4b06-b546-1de6ba4aa4bb",
    "date": "YYYY-MM-DD",
    "company_uuid": "123e4567-9ad3-47e9-9e56-1de6b90af1eb",
    "job_address": "string",
    "billing_address": "string",
    "status": "string",
    "job_description": "string",
    "work_done_description": "string",
    "lng": 0,
    "lat": 0,
    "generated_job_id": "string",
    "payment_date": "YYYY-MM-DD HH:MM:SS",
    "payment_actioned_by_uuid": "123e4567-392d-4544-bca2-1de6bfb6f51b",
    "payment_method": "string",
    "payment_amount": "string",
    "total_invoice_amount": "string",
    "category_uuid": "123e4567-c842-427e-8b0b-1de6bcf3ea4b",
    "payment_note": "string",
    "geo_is_valid": "string",
    "purchase_order_number": "string",
    "invoice_sent": "string",
    "invoice_sent_stamp": "YYYY-MM-DD HH:MM:SS",
    "ready_to_invoice": "string",
    "ready_to_invoice_stamp": "YYYY-MM-DD HH:MM:SS",
    "payment_processed": "string",
    "payment_processed_stamp": "YYYY-MM-DD HH:MM:SS",
    "geo_country": "string",
    "geo_postcode": "string",
    "geo_state": "string",
    "geo_city": "string",
    "geo_street": "string",
    "geo_number": "string",
    "queue_uuid": "123e4567-789b-471a-9ff5-1de6b653357b",
    "queue_expiry_date": "YYYY-MM-DD HH:MM:SS",
    "queue_assigned_staff_uuid": "123e4567-5f23-44f8-afc8-1de6b6c57edb",
    "payment_received": "string",
    "payment_received_stamp": "YYYY-MM-DD HH:MM:SS",
    "badges": "string",
    "quote_date": "YYYY-MM-DD HH:MM:SS",
    "quote_sent": "string",
    "quote_sent_stamp": "YYYY-MM-DD HH:MM:SS",
    "work_order_date": "YYYY-MM-DD HH:MM:SS",
    "completion_date": "YYYY-MM-DD HH:MM:SS",
    "completion_actioned_by_uuid": "123e4567-461e-4e11-aa2c-1de6b7059dfb",
    "unsuccessful_date": "YYYY-MM-DD HH:MM:SS",
    "job_is_scheduled_until_stamp": "YYYY-MM-DD HH:MM:SS",
    "active_network_request_uuid": "123e4567-eff2-4b6a-b80e-1de6b2fc1e3b",
    "related_knowledge_articles": [
        {
            "knowledge_article_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "relevance": 0
        }
    ]
}