Returns key date fields for each job
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | jobs.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Model Structure | Yes | Name of model required | modelstructure=jobdates | Using data models |
View | No | Stored filter applied | Using views | |
Filters | No | Filter by a key field | Filters | |
Company | Yes | The company number | company=1 |
Example request:
http://<SERVER>/jsonapi/jobs.json?company=1&modelstructure=jobdates&username=user&password=user&version=3.9&rows=2&page=2
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1602,
"totalpages": 801,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 2,
"success": true,
"data": [
{
"jobUuid": "D552E8D8FF404A0CBC391CC472E18351",
"jobTimeStampModified": 1564566756,
"jobRecommendedVersionNumber": 91,
"jobNumber": "1/00000457",
"jobDateCreated": "1999-07-26",
"jobDateIn": "2002-01-19",
"jobDateDue": "2002-02-18",
"jobEstimateRevisionDate": "0000-00-00",
"jobFinalInvoice": "2000-06-27",
"jobCompletedDate": "2001-11-28",
"jobLastUpdate": "2013-10-25",
"jobLeadClosedDate": "0000-00-00",
"jobLeadLostDate": "0000-00-00",
"jobLeadPromotedDate": "0000-00-00",
"jobOppCurrentStatusDate": "0000-00-00"
}
]
}