Machine report
Documentation for Machine report
Read time 1 minuteLast updated 4 hours ago
Get a list of machines under the provided account service ID (ASID).
https://api.multiplay.co.uk/cfp/v4/machines/views/report
METHOD |
GET |
Request parameters
VARIABLE | DESCRIPTION | OPTIONAL |
accountServiceId | The
| No |
limit | The
| Yes |
Response fields
This endpoint returns an array of the following objects.Field | Type | Description | Optional |
---|---|---|---|
ip | string | IP address of the machine | No |
locationname | string | Name of the location of this machine | No |
machinecontractlength | int | Initial contract length in months | No |
machineenddate | string | Estimated original contract end date | No |
machineid | integer | ID of the machine | No |
machinestartdate | string | Estimated original contract start date | No |
Example request
curl --location --request GET "https://api.multiplay.co.uk/cfp/v4/machines/views/report?accountServiceId=<accountserviceid>&limit=<limit>" \ --header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'
Example response
[ { "ip": <ip>, "locationName": <locationname>, "machineContractLength": <machinecontractlength>, "machineEndDate": <machineenddate>, "machineId": <machineid>, "machineStartDate": <machinestartdate> }, ... ]