Difference between revisions of "Get Job Updates Between"

From MyMobileWorkers API
Jump to: navigation, search
(→‎Example curl request)
(→‎Summary)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|-
 
|-
 
! URL
 
! URL
−
| colspan="2" |  https://:base_url/:api_path/:version/jobs/updated_between?api_key=YOUR_KEY&start_date=DATETIME&end_date=DATETIME&status=JOB_STATUS
+
| colspan="2" |  https://:base_url/:api_path/:version/jobs/updated_between?api_key=YOUR_KEY&start_date=DATETIME&end_date=DATETIME&status=JOB_STATUS&branch=BRANCH_NAME
 
|-
 
|-
 
! Type
 
! Type
Line 20: Line 20:
 
| end_date || required
 
| end_date || required
 
|-
 
|-
−
!  
+
!
−
| status ||  
+
| branch || optional
 +
|-
 +
!
 +
| status || required
 
|-
 
|-
 
! Response
 
! Response
Line 28: Line 31:
  
  
−
The jobs/updated method returns all jobs that have been updated between the specified start date and end date, optionally you can filter by status to only download complete or failed jobs etc.
+
The jobs/updated method returns all jobs that have been updated between the specified start date and end date, optionally you can filter by status to only download complete or failed jobs etc or which branch the jobs come from.
−
 
+
  
 
== Example response ==
 
== Example response ==
Line 35: Line 37:
 
<source lang="java">
 
<source lang="java">
 
{
 
{
−
  "type":"repair",
+
"secondary_users": [],
−
  "status":"NEW",
+
"type": "repair",
−
  "duration":0,
+
"signatures": [],
−
  "product":null,
+
"date": "2017-03-28",
−
  "weight":100.15,
+
"time": null,
−
  "route":{
+
"status": "NEW",
−
      "external_id":null,
+
"task": null,
−
      "route_name":"Liverpool-AM",
+
"duration": 0,
−
      "route_code":"LIV-001",
+
"product": null,
−
      "route_limit":180.0
+
"weight": 100.15,
−
  }
+
"branch": {
−
  "customer":null,
+
"name": "BranchA",
−
  "created_at":"2013-08-05T00:00:00+01:00",
+
"number": null,
−
  "job_number":"123",
+
"external_id": null,
−
  "gas_safe_inspection":[
+
"contact_name": "Joe Bloggs",
−
 
+
"address_1": "",
−
  ],
+
"address_2": "",
−
  "mobile_user":{
+
"address_3": "",
−
      "username":"Darren_test32",
+
"address_4": "",
−
      "email":"darren.atherton19@yahoo.com",
+
"postcode": "",
−
      "color":"AE3B94",
+
"created_at": 1473425398000,
−
      "engineer_registration_number":null
+
"contact_number": "06575346575",
−
  },
+
"contact_email": "branch@example.com"
−
  "priorityDetails":{
+
},
−
      "colour":"00731D",
+
"route": {
−
      "name":"Very Low"
+
"external_id": null,
−
  },
+
"route_name": "Liverpool-AM",
−
  "timeslot":null,
+
"route_code": "LIV-001",
−
  "asset_histories":[
+
"route_limit": 180
−
      {
+
},
−
        "location":"aPlace2",
+
"customer": null,
−
        "status":{
+
"customer_sites": {
−
            "external_id":null,
+
"external_id": null,
−
            "name":"test"
+
"contact_name": "Joe",
−
        },
+
"address_1": "29 bath road",
−
        "description":"describingwords",
+
"address_2": "",
−
        "item":{
+
"address_3": "",
−
            "external_id":null,
+
"address_4": "",
−
            "category":"test2",
+
"postcode": "la1 3cd",
−
            "name":"Woo"
+
"created_at": 1465210944000,
−
        },
+
"updated_at": 1465210944000,
−
        "serial_number":"serialNo456",
+
"contact_number": "06709253543",
−
        "external_id":"sss32",
+
"contact_email": "joe@example.com",
−
        "last_scanned_by":null,
+
"sic_code": null,
−
        "last_updated_by":null,
+
"customer_site_emails": [
−
        "created_at":"2013-10-08 14:19:17",
+
{
−
        "job":{
+
"customer_email": "joe@example.com"
−
            "job_ number":"123"
+
}
−
        },
+
]
−
        "asset":{
+
},
−
            "external_id":"sss32",
+
"created_at": "2017-03-28T10:54:41+01:00",
−
            "serial_number":"serialNo456"
+
"updated_at": "2017-03-28T10:54:41+01:00",
−
        },
+
"actualStart": null,
−
        "custom_fields":{
+
"job_number": "123",
−
            "testFieldName3":"testFieldValue3",
+
"gas_safe_inspection": [],
−
            "testFieldName2":"testFieldValue2",
+
"mobile_user": {
−
            "testFieldName1":"testFieldValue1"
+
"username": "Darren_test32",
−
        },
+
"email": "darren.atherton19@yahoo.com",
−
        "customer":{
+
"color": "AE3B94",
−
            "name":"john"
+
"engineer_registration_number": null
−
        },
+
},
−
        "branch":{
+
"priorityDetails": {
−
            "name":"DarrenDevTest"
+
"colour": "00731D",
−
        },
+
"name": "Very Low"
−
        "photos":[
+
},
−
 
+
"timeslot": null,
−
        ]
+
"asset_histories": [
−
      },
+
{
−
      {
+
"location": "aPlace2",
−
        "location":"aPlace2",
+
"status": {
−
        "status":{
+
"external_id": null,
−
            "external_id":null,
+
"name": "test"
−
            "name":"test"
+
},
−
        },
+
"description": "describingwords",
−
        "description":"describingwords",
+
"item": {
−
        "item":{
+
"external_id": null,
−
            "external_id":null,
+
"category": "test2",
−
            "category":"test2",
+
"name": "Woo"
−
            "name":"Woo"
+
},
−
        },
+
"serial_number": "serialNo456",
−
        "serial_number":"serialNo456",
+
"external_id": "sss32",
−
        "external_id":"sss32",
+
"last_scanned_by": null,
−
        "last_scanned_by":null,
+
"last_updated_by": null,
−
        "last_updated_by":null,
+
"created_at": "2013-10-08 14:19:17",
−
        "created_at":"2013-10-08 14:19:17",
+
"job": {
−
        "job":{
+
"job_ number": "123"
−
            "job_ number":"123"
+
},
−
        },
+
"asset": {
−
        "asset":{
+
"external_id": "sss32",
−
            "external_id":"sss32",
+
"serial_number": "serialNo456"
−
            "serial_number":"serialNo456"
+
},
−
        },
+
"custom_fields": {
−
        "custom_fields":{
+
"testFieldName3": "testFieldValue3",
−
            "testFieldName3":"testFieldValue3",
+
"testFieldName2": "testFieldValue2",
−
            "testFieldName2":"testFieldValue2",
+
"testFieldName1": "testFieldValue1"
−
            "testFieldName1":"testFieldValue1"
+
},
−
        },
+
"customer": {
−
        "customer":{
+
"name": "john"
−
            "name":"john"
+
},
−
        },
+
"branch": {
−
        "branch":{
+
"name": "DarrenDevTest"
−
            "name":"DarrenDevTest"
+
},
−
        },
+
"photos": []
−
        "photos":[
+
},
−
 
+
{
−
        ]
+
"location": "aPlace2",
−
      },
+
"status": {
−
      {
+
"external_id": null,
−
        "location":"aPlace2",
+
"name": "test"
−
        "status":{
+
},
−
            "external_id":null,
+
"description": "describingwords",
−
            "name":"test"
+
"item": {
−
        },
+
"external_id": null,
−
        "description":"describingwords",
+
"category": "test2",
−
        "item":{
+
"name": "Woo"
−
            "external_id":null,
+
},
−
            "category":"test2",
+
"serial_number": "serialNo456",
−
            "name":"Woo"
+
"external_id": "sss32",
−
        },
+
"last_scanned_by": null,
−
        "serial_number":"serialNo456",
+
"last_updated_by": null,
−
        "external_id":"sss32",
+
"created_at": "2013-10-08 14:19:17",
−
        "last_scanned_by":null,
+
"job": {
−
        "last_updated_by":null,
+
"job_ number": "123"
−
        "created_at":"2013-10-08 14:19:17",
+
},
−
        "job":{
+
"asset": {
−
            "job_ number":"123"
+
"external_id": "sss32",
−
        },
+
"serial_number": "serialNo456"
−
        "asset":{
+
},
−
            "external_id":"sss32",
+
"custom_fields": {
−
            "serial_number":"serialNo456"
+
"testFieldName3": "testFieldValue3",
−
        },
+
"testFieldName2": "testFieldValue2",
−
        "custom_fields":{
+
"testFieldName1": "testFieldValue1"
−
            "testFieldName3":"testFieldValue3",
+
},
−
            "testFieldName2":"testFieldValue2",
+
"customer": {
−
            "testFieldName1":"testFieldValue1"
+
"name": "john"
−
        },
+
},
−
        "customer":{
+
"branch": {
−
            "name":"john"
+
"name": "DarrenDevTest"
−
        },
+
},
−
        "branch":{
+
"photos": []
−
            "name":"DarrenDevTest"
+
},
−
        },
+
{
−
        "photos":[
+
"location": "aPlace2",
−
 
+
"status": {
−
        ]
+
"external_id": null,
−
      },
+
"name": "test"
−
      {
+
},
−
        "location":"aPlace2",
+
"description": "describingwords",
−
        "status":{
+
"item": {
−
            "external_id":null,
+
"external_id": null,
−
            "name":"test"
+
"category": "test2",
−
        },
+
"name": "Woo"
−
        "description":"describingwords",
+
},
−
        "item":{
+
"serial_number": "serialNo456",
−
            "external_id":null,
+
"external_id": "sss32",
−
            "category":"test2",
+
"last_scanned_by": null,
−
            "name":"Woo"
+
"last_updated_by": null,
−
        },
+
"created_at": "2013-10-08 14:19:17",
−
        "serial_number":"serialNo789",
+
"job": {
−
        "external_id":"sss34",
+
"job_ number": "123"
−
        "last_scanned_by":null,
+
},
−
        "last_updated_by":null,
+
"asset": {
−
        "created_at":"2013-10-08 14:19:17",
+
"external_id": "sss32",
−
        "job":{
+
"serial_number": "serialNo456"
−
            "job_ number":"123"
+
},
−
        },
+
"custom_fields": {
−
        "asset":{
+
"testFieldName3": "testFieldValue3",
−
            "external_id":"sss34",
+
"testFieldName2": "testFieldValue2",
−
            "serial_number":"serialNo789"
+
"testFieldName1": "testFieldValue1"
−
        },
+
},
−
        "custom_fields":{
+
"customer": {
−
            "testFieldName3":"testFieldValue3",
+
"name": "john"
−
            "testFieldName2":"testFieldValue2",
+
},
−
            "testFieldName1":"testFieldValue1"
+
"branch": {
−
        },
+
"name": "DarrenDevTest"
−
        "customer":{
+
},
−
            "name":"john"
+
"photos": []
−
        },
+
},
−
        "branch":{
+
{
−
            "name":"DarrenDevTest"
+
"location": "aPlace2",
−
        },
+
"status": {
−
        "photos":[
+
"external_id": null,
−
            {
+
"name": "test"
−
              "file_name":"www.testFileName.com/test"
+
},
−
            },
+
"description": "describingwords",
−
            {
+
"item": {
−
              "file_name":"www.testFileName.com/test"
+
"external_id": null,
−
            }
+
"category": "test2",
−
        ]
+
"name": "Woo"
−
      }
+
},
−
  ],
+
"serial_number": "serialNo789",
−
  "contact_name":"qwerty",
+
"external_id": "sss34",
−
  "address_1":"qwerty",
+
"last_scanned_by": null,
−
  "address_2":null,
+
"last_updated_by": null,
−
  "postcode":"qqwerty",
+
"created_at": "2013-10-08 14:19:17",
−
  "notes":null,
+
"job": {
−
  "address_3":null,
+
"job_ number": "123"
−
  "address_4":null,
+
},
−
  "contact_number_1":"0",
+
"asset": {
−
  "contact_number_2":null,
+
"external_id": "sss34",
−
  "special_instructions":null,
+
"serial_number": "serialNo789"
−
  "fault":null,
+
},
−
  "repair_code":null,
+
"custom_fields": {
−
  "repair_description":null,
+
"testFieldName3": "testFieldValue3",
−
  "signee":null,
+
"testFieldName2": "testFieldValue2",
−
  "satisfaction":null,
+
"testFieldName1": "testFieldValue1"
−
  "failure_type":null,
+
},
−
  "attachments":[
+
"customer": {
−
 
+
"name": "john"
−
  ],
+
},
−
  "items":[
+
"branch": {
−
      {
+
"name": "DarrenDevTest"
−
        "name":"Bob",
+
},
−
        "type":"C",
+
"photos": [
−
        "status":"COMPLETED",
+
{
−
        "notes":"exampleNotes",
+
"file_name": "www.testFileName.com/test"
−
        "expected_quantity":4,
+
},
−
        "other":"test",
+
{
−
        "actual_quantity":null
+
"file_name": "www.testFileName.com/test"
−
      },
+
}
−
      {
+
]
−
        "name":"Bob",
+
}
−
        "type":"C",
+
],
−
        "status":"COMPLETED",
+
"contact_name": "qwerty",
−
        "notes":"exampleNotes",
+
"address_1": "qwerty",
−
        "expected_quantity":4,
+
"address_2": null,
−
        "other":"test",
+
"postcode": "qqwerty",
−
        "actual_quantity":null
+
"notes": null,
−
      },
+
"address_3": null,
−
      {
+
"address_4": null,
−
        "name":"darrenItem",
+
"contact_number_1": "0",
−
        "type":"C",
+
"contact_number_2": null,
−
        "status":"COMPLETED",
+
"special_instructions": null,
−
        "notes":"exampleNotes",
+
"fault": null,
−
        "expected_quantity":4,
+
"repair_code": null,
−
        "other":"test",
+
"repair_description": null,
−
        "actual_quantity":null
+
"signee": null,
−
      },
+
"satisfaction": null,
−
      {
+
"failure_type": null,
−
        "name":"darrenItem245",
+
"attachments": [],
−
        "type":"C",
+
"items": [
−
        "status":"COMPLETED",
+
{
−
        "notes":"exampleNotes",
+
"name": "Bob",
−
        "expected_quantity":4,
+
"type": "C",
−
        "other":"test",
+
"status": "COMPLETED",
−
        "actual_quantity":null
+
"notes": "exampleNotes",
−
      },
+
"expected_quantity": 4,
−
      {
+
"other": "test",
−
        "name":"darrenItem245",
+
"actual_quantity": null
−
        "type":"C",
+
},
−
        "status":"COMPLETED",
+
{
−
        "notes":"exampleNotes",
+
"name": "Bob",
−
        "expected_quantity":4,
+
"type": "C",
−
        "other":"test",
+
"status": "COMPLETED",
−
        "actual_quantity":null
+
"notes": "exampleNotes",
−
      },
+
"expected_quantity": 4,
−
      {
+
"other": "test",
−
        "name":"darrenItem245",
+
"actual_quantity": null
−
        "type":"C",
+
},
−
        "status":"COMPLETED",
+
{
−
        "notes":"exampleNotes",
+
"name": "darrenItem",
−
        "expected_quantity":4,
+
"type": "C",
−
        "other":"test",
+
"status": "COMPLETED",
−
        "actual_quantity":null
+
"notes": "exampleNotes",
−
      },
+
"expected_quantity": 4,
−
      {
+
"other": "test",
−
        "name":"darrenItem",
+
"actual_quantity": null
−
        "type":"C",
+
},
−
        "status":"COMPLETED",
+
{
−
        "notes":"exampleNotes",
+
"name": "darrenItem245",
−
        "expected_quantity":4,
+
"type": "C",
−
        "other":"test",
+
"status": "COMPLETED",
−
        "actual_quantity":null
+
"notes": "exampleNotes",
−
      }
+
"expected_quantity": 4,
−
  ],
+
"other": "test",
−
  "activities":[
+
"actual_quantity": null
−
      {
+
},
−
        "type":"JOB_VIEWED",
+
{
−
        "created_at":"2014-01-13T10:15:00+00:00"
+
"name": "darrenItem245",
−
      },
+
"type": "C",
−
      {
+
"status": "COMPLETED",
−
        "type":"JOB_VIEWED",
+
"notes": "exampleNotes",
−
        "created_at":"2014-01-13T10:15:00+00:00"
+
"expected_quantity": 4,
−
      },
+
"other": "test",
−
      {
+
"actual_quantity": null
−
        "type":"JOB_STARTED",
+
},
−
        "created_at":"2014-01-13T10:16:00+00:00"
+
{
−
      },
+
"name": "darrenItem245",
−
      {
+
"type": "C",
−
        "type":"JOB_ARRIVED",
+
"status": "COMPLETED",
−
        "created_at":"2014-01-13T10:21:00+00:00"
+
"notes": "exampleNotes",
−
      }
+
"expected_quantity": 4,
−
  ],
+
"other": "test",
−
  "post_job_checks":[
+
"actual_quantity": null
−
 
+
},
−
  ],
+
{
−
  "pre_job_checks":[
+
"name": "darrenItem",
−
 
+
"type": "C",
−
  ],
+
"status": "COMPLETED",
−
  "photos":[
+
"notes": "exampleNotes",
−
 
+
"expected_quantity": 4,
−
  ],
+
"other": "test",
−
  "invoices":[
+
"actual_quantity": null
−
 
+
}
−
  ]
+
],
 +
"activities": [
 +
{
 +
"type": "JOB_VIEWED",
 +
"created_at": "2014-01-13T10:15:00+00:00"
 +
},
 +
{
 +
"type": "JOB_VIEWED",
 +
"created_at": "2014-01-13T10:15:00+00:00"
 +
},
 +
{
 +
"type": "JOB_STARTED",
 +
"created_at": "2014-01-13T10:16:00+00:00"
 +
},
 +
{
 +
"type": "JOB_ARRIVED",
 +
"created_at": "2014-01-13T10:21:00+00:00"
 +
}
 +
],
 +
"post_job_checks": [],
 +
"pre_job_checks": [],
 +
"photos": [],
 +
"job_invoices": [],
 +
"pre_job_details": [
 +
{
 +
"invoice_number": null,
 +
"po_no": "TestPo"
 +
}
 +
]
 
}
 
}
 
</source>
 
</source>
Line 346: Line 376:
 
curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&api_key=APIKEY"
 
curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&api_key=APIKEY"
  
−
curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&status=JOB_COMPLETED&api_key=APIKEY"
+
curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&status=JOB_COMPLETED&api_key=APIKEY&branch=BRANCH_NAME"

Latest revision as of 13:36, 9 March 2018

[edit] Summary

Jobs Update Between
URL https://:base_url/:api_path/:version/jobs/updated_between?api_key=YOUR_KEY&start_date=DATETIME&end_date=DATETIME&status=JOB_STATUS&branch=BRANCH_NAME
Type GET
Params: api_key required
start_date required
end_date required
branch optional
status required
Response JSON


The jobs/updated method returns all jobs that have been updated between the specified start date and end date, optionally you can filter by status to only download complete or failed jobs etc or which branch the jobs come from.

[edit] Example response

{
	"secondary_users": [],
	"type": "repair",
	"signatures": [],
	"date": "2017-03-28",
	"time": null,
	"status": "NEW",
	"task": null,
	"duration": 0,
	"product": null,
	"weight": 100.15,
	"branch": {
		"name": "BranchA",
		"number": null,
		"external_id": null,
		"contact_name": "Joe Bloggs",
		"address_1": "",
		"address_2": "",
		"address_3": "",
		"address_4": "",
		"postcode": "",
		"created_at": 1473425398000,
		"contact_number": "06575346575",
		"contact_email": "branch@example.com"
	},
	"route": {
		"external_id": null,
		"route_name": "Liverpool-AM",
		"route_code": "LIV-001",
		"route_limit": 180
	},
	"customer": null,
	"customer_sites": {
		"external_id": null,
		"contact_name": "Joe",
		"address_1": "29 bath road",
		"address_2": "",
		"address_3": "",
		"address_4": "",
		"postcode": "la1 3cd",
		"created_at": 1465210944000,
		"updated_at": 1465210944000,
		"contact_number": "06709253543",
		"contact_email": "joe@example.com",
		"sic_code": null,
		"customer_site_emails": [
			{
				"customer_email": "joe@example.com"
			}
		]
	},
	"created_at": "2017-03-28T10:54:41+01:00",
	"updated_at": "2017-03-28T10:54:41+01:00",
	"actualStart": null,
	"job_number": "123",
	"gas_safe_inspection": [],
	"mobile_user": {
		"username": "Darren_test32",
		"email": "darren.atherton19@yahoo.com",
		"color": "AE3B94",
		"engineer_registration_number": null
	},
	"priorityDetails": {
		"colour": "00731D",
		"name": "Very Low"
	},
	"timeslot": null,
	"asset_histories": [
		{
			"location": "aPlace2",
			"status": {
				"external_id": null,
				"name": "test"
			},
			"description": "describingwords",
			"item": {
				"external_id": null,
				"category": "test2",
				"name": "Woo"
			},
			"serial_number": "serialNo456",
			"external_id": "sss32",
			"last_scanned_by": null,
			"last_updated_by": null,
			"created_at": "2013-10-08 14:19:17",
			"job": {
				"job_ number": "123"
			},
			"asset": {
				"external_id": "sss32",
				"serial_number": "serialNo456"
			},
			"custom_fields": {
				"testFieldName3": "testFieldValue3",
				"testFieldName2": "testFieldValue2",
				"testFieldName1": "testFieldValue1"
			},
			"customer": {
				"name": "john"
			},
			"branch": {
				"name": "DarrenDevTest"
			},
			"photos": []
		},
		{
			"location": "aPlace2",
			"status": {
				"external_id": null,
				"name": "test"
			},
			"description": "describingwords",
			"item": {
				"external_id": null,
				"category": "test2",
				"name": "Woo"
			},
			"serial_number": "serialNo456",
			"external_id": "sss32",
			"last_scanned_by": null,
			"last_updated_by": null,
			"created_at": "2013-10-08 14:19:17",
			"job": {
				"job_ number": "123"
			},
			"asset": {
				"external_id": "sss32",
				"serial_number": "serialNo456"
			},
			"custom_fields": {
				"testFieldName3": "testFieldValue3",
				"testFieldName2": "testFieldValue2",
				"testFieldName1": "testFieldValue1"
			},
			"customer": {
				"name": "john"
			},
			"branch": {
				"name": "DarrenDevTest"
			},
			"photos": []
		},
		{
			"location": "aPlace2",
			"status": {
				"external_id": null,
				"name": "test"
			},
			"description": "describingwords",
			"item": {
				"external_id": null,
				"category": "test2",
				"name": "Woo"
			},
			"serial_number": "serialNo456",
			"external_id": "sss32",
			"last_scanned_by": null,
			"last_updated_by": null,
			"created_at": "2013-10-08 14:19:17",
			"job": {
				"job_ number": "123"
			},
			"asset": {
				"external_id": "sss32",
				"serial_number": "serialNo456"
			},
			"custom_fields": {
				"testFieldName3": "testFieldValue3",
				"testFieldName2": "testFieldValue2",
				"testFieldName1": "testFieldValue1"
			},
			"customer": {
				"name": "john"
			},
			"branch": {
				"name": "DarrenDevTest"
			},
			"photos": []
		},
		{
			"location": "aPlace2",
			"status": {
				"external_id": null,
				"name": "test"
			},
			"description": "describingwords",
			"item": {
				"external_id": null,
				"category": "test2",
				"name": "Woo"
			},
			"serial_number": "serialNo789",
			"external_id": "sss34",
			"last_scanned_by": null,
			"last_updated_by": null,
			"created_at": "2013-10-08 14:19:17",
			"job": {
				"job_ number": "123"
			},
			"asset": {
				"external_id": "sss34",
				"serial_number": "serialNo789"
			},
			"custom_fields": {
				"testFieldName3": "testFieldValue3",
				"testFieldName2": "testFieldValue2",
				"testFieldName1": "testFieldValue1"
			},
			"customer": {
				"name": "john"
			},
			"branch": {
				"name": "DarrenDevTest"
			},
			"photos": [
				{
					"file_name": "www.testFileName.com/test"
				},
				{
					"file_name": "www.testFileName.com/test"
				}
			]
		}
	],
	"contact_name": "qwerty",
	"address_1": "qwerty",
	"address_2": null,
	"postcode": "qqwerty",
	"notes": null,
	"address_3": null,
	"address_4": null,
	"contact_number_1": "0",
	"contact_number_2": null,
	"special_instructions": null,
	"fault": null,
	"repair_code": null,
	"repair_description": null,
	"signee": null,
	"satisfaction": null,
	"failure_type": null,
	"attachments": [],
	"items": [
		{
			"name": "Bob",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "Bob",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "darrenItem",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "darrenItem245",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "darrenItem245",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "darrenItem245",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		},
		{
			"name": "darrenItem",
			"type": "C",
			"status": "COMPLETED",
			"notes": "exampleNotes",
			"expected_quantity": 4,
			"other": "test",
			"actual_quantity": null
		}
	],
	"activities": [
		{
			"type": "JOB_VIEWED",
			"created_at": "2014-01-13T10:15:00+00:00"
		},
		{
			"type": "JOB_VIEWED",
			"created_at": "2014-01-13T10:15:00+00:00"
		},
		{
			"type": "JOB_STARTED",
			"created_at": "2014-01-13T10:16:00+00:00"
		},
		{
			"type": "JOB_ARRIVED",
			"created_at": "2014-01-13T10:21:00+00:00"
		}
	],
	"post_job_checks": [],
	"pre_job_checks": [],
	"photos": [],
	"job_invoices": [],
	"pre_job_details": [
		{
			"invoice_number": null,
			"po_no": "TestPo"
		}
	]
}

[edit] Example curl request

curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&api_key=APIKEY"

curl "https://api.mymobileworkers.com:8181/api/1/jobs/updated_between?start_date=2015-05-07%2012:50:44&end_date=2015-06-08 12:50:44&status=JOB_COMPLETED&api_key=APIKEY&branch=BRANCH_NAME"

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox