Returns key date fields for each phase
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | phases.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Model Structure | Yes | Name of model required | modelstructure=phasedates | 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/phases.json?company=1&modelstructure=phasedates&username=user&password=user&version=3.9&rows=2&page=2
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 4064,
"totalpages": 2032,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 2,
"success": true,
"data": [
{
"phaseuuid": "5BA789D1A164364BA332C3230420AF49",
"phaseTimeStampModified": 1599220941,
"phaseRecordVersionNumber": 14,
"phaseJobAndPhase": "1/0000000A.001",
"phaseDateCreated": "2020-08-06",
"phaseDatein": "2020-08-06",
"phaseDateDue": "2020-08-06",
"phaseEstimateRevisionDate": "0000-00-00",
"phaseFinalInvoice": "0000-00-00",
"phaseCompletedDate": "0000-00-00",
"phaseLeadPromotedDate": "2020-08-06",
"phaseQuoteDate": "0000-00-00"
},
{
"phaseuuid": "479D8323EEBC154AA303449CA27687FE",
"phaseTimeStampModified": 1599824516,
"phaseRecordVersionNumber": 3,
"phaseJobAndPhase": "1/0000000B.001",
"phaseDateCreated": "2020-09-11",
"phaseDatein": "2020-09-11",
"phaseDateDue": "2020-09-11",
"phaseEstimateRevisionDate": "0000-00-00",
"phaseFinalInvoice": "0000-00-00",
"phaseCompletedDate": "0000-00-00",
"phaseLeadPromotedDate": "2020-09-11",
"phaseQuoteDate": "0000-00-00"
}
]
}