Skip to main content

createDeviceProfile

Create a new device profile

createDeviceProfile(
input: DeviceProfileInput!
): DeviceProfile!

Arguments

createDeviceProfile.input ● DeviceProfileInput! non-null input device-profiles

Type

DeviceProfile object device-profiles

Code Samples

curl -X POST https://graphql.pointonenav.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "mutation CreateDeviceProfile($input: DeviceProfileInput!) { createDeviceProfile(input: $input) { id name dataIntervalSeconds } }",
"variables": {
"input": {
"name": "My Profile",
"dataIntervalSeconds": 1
}
}
}'