Quotes on job or phase
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 | Job-And-Phase=1/00008303.001 |
Example request:
http://<SERVER>/jsonapi/quotes.json?user=user&password=user&version=3.8&company=1&Job-Number=1/00008303
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
}
etc..
]
}
Note: Feature from API 2.2