Returns a list of Agreements and Promotions (formerly Contracts).
Example response
object  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "endRow": 300,
 - "oldValues": null,
 - "operationType": "fetch",
 - "startRow": 0,
 - "textMatchStyle": "exact",
 - "data": {
- "_constructor": "AdvancedCriteria",
 - "operator": "and",
 - "criteria": [
- {
- "fieldName": "userGroupViewDetails",
 - "operator": "notEqual",
 - "value": "trash"
 
}, - {
- "fieldName": "workflowStatus",
 - "operator": "equals",
 - "value": "APPROVED"
 
} 
] 
}, - "sortBy": [
- "-createDate"
 
] 
}{- "response": {
- "status": 0,
 - "startRow": 0,
 - "node": "<node>",
 - "csrfToken": "<token>",
 - "data": [
- {
- "version": 3,
 - "typedId": "170.CT",
 - "uniqueName": "C-170",
 - "label": "New Agreement & Promotion",
 - "targetDate": "2021-11-18",
 - "workflowStatus": "DRAFT",
 - "lastUpdateByName": "admin",
 - "createdByName": "admin",
 - "calculationStatus": 0,
 - "dirty": false,
 - "refreshInputs": false,
 - "numberOfAttachments": 0,
 - "contractStatus": "DRAFT",
 - "startDate": "2021-11-18",
 - "endDate": "2021-11-18",
 - "status": "DRAFT",
 - "hasWorkflowHistory": false,
 - "createDate": "2021-11-18T15:48:25",
 - "createdBy": 2147490696,
 - "lastUpdateDate": "2021-11-18T15:48:25",
 - "lastUpdateBy": 2147490696,
 - "rootUniqueName": "C-170"
 
} 
], - "endRow": 1
 
} 
}