Toggle menu

GetEventType

Request Parameters

GetEventType Request Schema
 

Example Request:

{
    "ref": {
        "type": "EventType",
        "value": [123],
        "key": "Id"
    }
}

Response Parameters

GetEventType Response Schema part 1
 

GetEventType Response Schema part 2
 

Example Response:

{
    "jsonrpc": "2.0",
    "id": 24,
    "result": {
        "response": {
            "guid": "14288ad1-0822-4188-b444-d556dbda19c1",
            "id": 123,
            "datatypes": [{
                "guid": "d5d4c97b-22b8-40e4-b2bc-419ad6518700",
                "id": 1159,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Title",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "10afeb14-e8df-4673-8e5f-36a58c276bae",
                "id": 1160,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Forename",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "e56a91c5-6617-407c-9155-5a28f201aaac",
                "id": 1161,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Surname",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "e423ac53-e814-45bd-b4d1-4e13471e6aef",
                "id": 1162,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Phone",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "a6d18bb5-07ea-4a11-b280-944092ee75f1",
                "id": 1163,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Mobile Phone",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "08d89b8c-8c28-42c3-b4e6-965adba0a195",
                "id": 1164,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Email",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "b6d73fc0-09aa-44a8-858e-65fe7b3f54b1",
                "id": 1165,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Alternative Address",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "c668a2b8-1f00-42d6-ac69-1dcc11c12745",
                "id": 1166,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Call Type",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "7622b041-d427-4e12-8ea0-8e0955a73d6f",
                "id": 1167,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Contact Type",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "e80f6c69-3a30-450a-9ec3-13615f261956",
                "id": 1168,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Incoming Notes",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "24aaf83e-ef14-49c3-96a9-8e11ee2a4ce0",
                "id": 1987,
                "childDatatypes": [],
                "coreDatatype": "Boolean",
                "isArray": false,
                "name": "Penalty",
                "valueDomain": "",
                "valueDomainType": null
            }, {
                "guid": "82b1a089-facf-4c88-af65-387b6dbba5d5",
                "id": 3265,
                "childDatatypes": [],
                "coreDatatype": "Text",
                "isArray": false,
                "name": "Original Address",
                "valueDomain": "",
                "valueDomainType": null
            }],
            "name": "Pre Collection Enquiry - old",
            "endDate": "2015-06-06T00:00:00Z",
            "prefix": "SWK",
            "startDate": "2000-01-01T00:00:00Z",
            "workflow": {
                "guid": "00000000-0000-0000-0000-000000000000",
                "id": null,
                "hasActions": true,
                "states": [{
                    "guid": "987a2f41-db5e-45c6-a29b-cdaf2fe0f4c4",
                    "id": 546,
                    "actions": [{
                        "guid": "0c7991e6-d3ea-41af-b9dc-7858bdf17ad6",
                        "id": 7,
                        "name": "In Progress",
                        "postActionStateId": 547
                    }, {
                        "guid": "8e7d15ee-41c4-4213-af09-9076a17d2785",
                        "id": 12,
                        "datatypes": [{
                            "guid": "8d343b3a-d59f-43f9-b7c8-1d562e01bbff",
                            "id": 8,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Reject",
                        "postActionStateId": 548
                    }, {
                        "guid": "4a6f75f8-fe5b-4c8b-885f-70f3996cf550",
                        "id": 3,
                        "datatypes": [{
                            "guid": "31b5883d-847a-4ffe-9d0b-d4616be790fd",
                            "id": 1,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Add Note",
                        "postActionStateId": 546
                    }],
                    "coreState": "New",
                    "name": "New",
                    "nextStateIds": [547, 548],
                    "resolutionCodes": []
                }, {
                    "guid": "61d2288e-2dd4-409c-a138-aee2f359f5d0",
                    "id": 547,
                    "actions": [{
                        "guid": "81630b14-5892-4f5f-a0cf-bf83fafb6329",
                        "id": 11,
                        "datatypes": [{
                            "guid": "2c0d34b8-92de-4fe7-855c-2b3e6623f8ac",
                            "id": 6,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Close",
                        "postActionStateId": 549
                    }, {
                        "guid": "388df277-d491-45ea-8bea-5685eec94a54",
                        "id": 19,
                        "datatypes": [{
                            "guid": "df4bb20a-68d7-45ef-9066-6ef1dc22fadd",
                            "id": 10,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Not Actioned",
                        "postActionStateId": 550
                    }, {
                        "guid": "4a6f75f8-fe5b-4c8b-885f-70f3996cf550",
                        "id": 3,
                        "datatypes": [{
                            "guid": "31b5883d-847a-4ffe-9d0b-d4616be790fd",
                            "id": 1,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Add Note",
                        "postActionStateId": 547
                    }],
                    "coreState": "Pending",
                    "name": "In Progress",
                    "nextStateIds": [549, 550],
                    "resolutionCodes": []
                }, {
                    "guid": "705c3f70-50a7-4150-9add-a9003bdb7d0f",
                    "id": 548,
                    "actions": [{
                        "guid": "4a6f75f8-fe5b-4c8b-885f-70f3996cf550",
                        "id": 3,
                        "datatypes": [{
                            "guid": "31b5883d-847a-4ffe-9d0b-d4616be790fd",
                            "id": 1,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Add Note",
                        "postActionStateId": 548
                    }],
                    "coreState": "Closed",
                    "name": "Closed - Rejected",
                    "nextStateIds": [],
                    "resolutionCodes": [{
                        "guid": "86064f0d-561e-4f68-9fa2-03821efed0d8",
                        "id": 737,
                        "name": "Address Incorrect",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 50
                    }, {
                        "guid": "13ce8347-939f-4547-8eef-89948270dd91",
                        "id": 738,
                        "name": "Duplicate",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 48
                    }, {
                        "guid": "7a85bcbc-939a-433b-83a3-52e98ddeb4ac",
                        "id": 740,
                        "name": "Incorrectly Raised",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 54
                    }, {
                        "guid": "60bd4827-e011-428a-8c06-7508d130c565",
                        "id": 741,
                        "name": "Insufficient Information",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 55
                    }, {
                        "guid": "42546dc8-649a-431a-9751-8cfa173ec2fd",
                        "id": 744,
                        "name": "Not on Service",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 65
                    }, {
                        "guid": "2f411360-a5e8-4e62-bf31-242f6892335e",
                        "id": 1362,
                        "name": "Incorrect Collection Day",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 53
                    }, {
                        "guid": "48bf9f8d-b939-445b-bd89-0c3de25ab98d",
                        "id": 3719,
                        "name": "Inclement weather conditions",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 14
                    }, {
                        "guid": "2b5deb48-01a6-4ba6-b78b-a7c040ae0a44",
                        "id": 16315,
                        "name": "Builders Rubble Found",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 51
                    }]
                }, {
                    "guid": "8d98ee67-bf9b-439e-86ec-90a035215f06",
                    "id": 549,
                    "actions": [{
                        "guid": "4a6f75f8-fe5b-4c8b-885f-70f3996cf550",
                        "id": 3,
                        "datatypes": [{
                            "guid": "31b5883d-847a-4ffe-9d0b-d4616be790fd",
                            "id": 1,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Add Note",
                        "postActionStateId": 549
                    }],
                    "coreState": "Closed",
                    "name": "Closed - Complete",
                    "nextStateIds": [],
                    "resolutionCodes": []
                }, {
                    "guid": "a449300d-b3e9-4d22-aa62-c72a5650e5b4",
                    "id": 550,
                    "actions": [{
                        "guid": "4a6f75f8-fe5b-4c8b-885f-70f3996cf550",
                        "id": 3,
                        "datatypes": [{
                            "guid": "31b5883d-847a-4ffe-9d0b-d4616be790fd",
                            "id": 1,
                            "childDatatypes": [],
                            "coreDatatype": "Text",
                            "isArray": false,
                            "name": "Notes",
                            "valueDomain": "",
                            "valueDomainType": null
                        }],
                        "name": "Add Note",
                        "postActionStateId": 550
                    }],
                    "coreState": "Closed",
                    "name": "Closed - Not Actioned",
                    "nextStateIds": [],
                    "resolutionCodes": [{
                        "guid": "acfecc09-5fa8-4a14-8d0c-141082ce613c",
                        "id": 465,
                        "name": "Address Incorrect",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 50
                    }, {
                        "guid": "8f28e399-237c-480e-8dee-0327a68bd310",
                        "id": 466,
                        "name": "Duplicate",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 48
                    }, {
                        "guid": "60ca5065-171e-4b6e-972a-cb6008943b76",
                        "id": 467,
                        "name": "Incorrect Collection Day",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 53
                    }, {
                        "guid": "029b2a4d-0b0b-4350-a02e-eb768123b3f8",
                        "id": 468,
                        "name": "Incorrectly Raised",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 54
                    }, {
                        "guid": "84636317-2af8-4749-bc8f-9525e504a482",
                        "id": 469,
                        "name": "Insufficient Information",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 55
                    }, {
                        "guid": "e5900986-e990-4e4b-afcb-fa60559bd264",
                        "id": 3720,
                        "name": "Inclement weather conditions",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 14
                    }, {
                        "guid": "3252a377-1e79-4e0c-b0a3-29fccdeb3425",
                        "id": 16317,
                        "name": "Builders Rubble Found",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 51
                    }, {
                        "guid": "94d5ec96-f674-447c-9289-100fe47b793b",
                        "id": 16319,
                        "name": "Not on Service",
                        "impactCode": 0,
                        "isDefault": false,
                        "resolutionCodeId": 65
                    }]
                }],
                "useNextStates": true
            }
        },
        "errors": [],
        "success": true
    }
}

Last modified on February 04, 2021

Share this page

Facebook icon Twitter icon email icon

Print

print icon