Toggle menu

GetServicesForContract

Request Parameters

GetServicesForContract Request Schema
 

Example Request:

{
    "contractRef": {
        "type": "Contract",
        "value": [1],
        "key": "Id"
    }
}

Response Parameters

GetServicesForContract Response Schema
 

Example Response:

{
    "jsonrpc": "2.0",
    "id": 15,
    "result": {
        "response": [{
            "guid": "b0384875-2fb6-4812-b0a1-6808f5aaa082",
            "id": 1,
            "name": "Refuse",
            "services": [{
                "guid": "b112ba5b-6d4e-4edf-b2cc-1de41beef5a4",
                "id": 1,
                "name": "Domestic Bin Collection"
            }, {
                "guid": "9e6cc69b-9652-4568-858e-5c54618991e8",
                "id": 5,
                "name": "Domestic Sack Collection 'Retired'"
            }, {
                "guid": "21b1e4c1-d562-42eb-a2ae-24dbc6390960",
                "id": 19,
                "name": "Domestic Rural Collection"
            }, {
                "guid": "f27615e8-3932-4dbc-9d19-8016ed399ca0",
                "id": 20,
                "name": "Domestic Access Collection"
            }]
        }, {
            "guid": "2b48f71e-265a-43cf-bc3f-4e0842f4b955",
            "id": 2,
            "name": "Ancillary",
            "services": [{
                "guid": "af6ced3a-8faa-430a-8bd1-0f04b34c8ff3",
                "id": 4,
                "name": "Bulky Household Collection"
            }, {
                "guid": "d83dd1f4-ad87-433c-8d75-61a6e1b1c440",
                "id": 6,
                "name": "Clinical"
            }, {
                "guid": "bc726d32-9aa6-4ece-b89f-9dfa4ed196d0",
                "id": 7,
                "name": "Dry Stores"
            }, {
                "guid": "6d31504c-6d26-4bd1-84c3-b005ee96c181",
                "id": 298,
                "name": "Abandoned Vehicles"
            }, {
                "guid": "15fdaac2-9294-42b1-b360-26778a00e048",
                "id": 300,
                "name": "Bring Out Your Rubbish"
            }, {
                "guid": "6bf33875-5f31-4d3e-a65b-eb8e94916642",
                "id": 301,
                "name": "Data Management"
            }]
        }, {
            "guid": "160fa335-44b8-4d3f-af95-d5d8b1512a4e",
            "id": 3,
            "name": "Recycling",
            "services": [{
                "guid": "2b76cabc-560d-4623-83e9-897a6e771758",
                "id": 8,
                "name": "Paper Card Collection 'Retired'"
            }, {
                "guid": "a361d373-6d1d-4361-8ac1-c9649e2fe058",
                "id": 9,
                "name": "Green Collection"
            }, {
                "guid": "5aeabbd5-e949-42eb-9914-b59ca431cbbc",
                "id": 10,
                "name": "Garden Sack Collection"
            }, {
                "guid": "e21ada1a-d83f-44f5-af77-67a15644fa44",
                "id": 11,
                "name": "Municipal Paper Card Collection"
            }, {
                "guid": "4d0b52fa-94cf-4418-ae3c-70f2d5c06c10",
                "id": 42,
                "name": "Mixed Dry Recycling Collection"
            }, {
                "guid": "38b444c0-b467-4a5f-9358-97a4ca92d01a",
                "id": 495,
                "name": "MDR Bin Collection"
            }, {
                "guid": "8e91239a-0176-419d-b55a-159722d987b0",
                "id": 496,
                "name": "Paper Bin Collection"
            }]
        }, {
            "guid": "9563acb8-5a45-487d-98e7-5f6139ab5ad5",
            "id": 4,
            "name": "Container Maintenance",
            "services": [{
                "guid": "ec428870-3f66-4fbb-8d6a-59d73fe553ac",
                "id": 12,
                "name": "Container Management"
            }]
        }, {
            "guid": "a01df0fc-a80b-479f-b883-6908f2ec2521",
            "id": 5,
            "name": "Other Services",
            "services": [{
                "guid": "6ac8c190-c9ab-4d70-9227-8f2b7143ca18",
                "id": 13,
                "name": "Erf Facility"
            }, {
                "guid": "c8a99c92-de69-453d-b3e8-4253d911a134",
                "id": 14,
                "name": "HWRC"
            }, {
                "guid": "04e3a936-cb2d-406e-9482-53d6d05f26fd",
                "id": 15,
                "name": "Bring Banks"
            }, {
                "guid": "bad6ea85-592d-43c1-846e-e7a5bca89c28",
                "id": 16,
                "name": "Permit Application"
            }, {
                "guid": "60053970-7dd9-4638-8a82-b7dc4e9e6a62",
                "id": 17,
                "name": "MRF"
            }]
        }, {
            "guid": "0462ecd8-a6e1-435a-a8d4-b1a966af9129",
            "id": 6,
            "name": "Correspondence",
            "services": [{
                "guid": "827845ad-459e-4a6e-93a2-58ba0a28054c",
                "id": 18,
                "name": "Correspondence"
            }]
        }],
        "errors": [],
        "success": true
    }
}

Last modified on February 04, 2021

Share this page

Facebook icon Twitter icon email icon

Print

print icon