User Tools

Site Tools


computers

/itg/computers

Retrieve a list of all available computer accounts. It is best to create a dedicated computer account for any external service you connect through this API to keep transactions separated.

parameters:

auth the authorisation code you received from Intogolf BV (mandatory)

If a wrong authorisation code is provided, the backend will return 401,“Unauthorized”

example: https://backend.intogolf.com/itg/computers?auth=<your authorisation code>

result:

{

    "computers": [
        {
            "hosnr": 3,
            "name": "pc barthy"
        },
        {
            "hosnr": 4,
            "name": "pc beheer"
        },
        {
            "hosnr": 7,
            "name": "pc saskia"
        },
        {
            "hosnr": 37,
            "name": "laptop barthy"
        },
        {
            "hosnr": 601,
            "name": "ipod kassa"
        },
        {
            "hosnr": 772,
            "name": "computer ferry"
        }
    ]

}
hosnr internal id of the computer/host
namename of the computer
computers.txt · Last modified: 2013/05/24 13:01 (external edit)