Quotes on job or phase
Quote Lines List
| Parameter | Mandatory | Description | Examples | More Info |
|---|---|---|---|---|
| API | Yes | The API area | quotes.json | |
| General | Yes | Parameters described in overview | see overview | Structure of an API call |
| View | No | Stored filter applied | Using views | |
| Sort | No | Change the view's default sort order | sort=CLIENT | Sorting |
| Filters | No | Filter by a key field | Filters | |
| Company | Yes | The company number | company=1 | |
| type | Yes | Job or Phase | jobphase=1/00008303.001 |
Example request (OAuth 2.0):
Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/quotes.json?&version=6&company=1&job=1/00008303
Example request (legacy username/password):
http://<SERVER>/jsonapi/quotes.json?&version=6&company=1&job=1/00008303&user=<username>&password=<password>
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"quoteUuid": "13FEE4B57B744843BEC935841CECCEEE",
"quoteTimestampModified": 1520348332,
"quoteRecordVersionNumber": 6,
"quoteBreakCode": "000001",
"quoteBreakLine": true,
"quoteDiscChargeRate": 0,
"quoteLineBold": false,
"quoteLineDescription": "Artwork",
"quoteLineDetail": "Includes work on icons",
"quoteLineItalic": false,
"quoteLineNumber": 1,
"quoteLineQty": 1,
"quoteLineUnderline": false,
"quoteLineValue": 110
}
]
}Note: Feature from API 2.2
