Antrack

Attributes

attributesComputedGet

Fetch a list of Attributes

Without params, it returns a list of Attributes the user has access to


/attributes/computed

Usage and SDK Samples

curl -X GET "https://localhost/attributes/computed?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            import io.swagger.client.auth.*;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            import io.swagger.client.model.*;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            import io.swagger.client.api.AttributesApi;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            import java.io.File;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            import java.util.*;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public class AttributesApiExample {

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public static void main(String[] args) {

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            AttributesApi apiInstance = new AttributesApi();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object userId = ; // Object | Standard users can use this only with their own _userId_
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object refresh = ; // Object |
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            try {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            apiInstance.attributesComputedGet(all, userId, deviceId, groupId, refresh);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } catch (ApiException e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            System.err.println("Exception when calling AttributesApi#attributesComputedGet");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            e.printStackTrace();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
import io.swagger.client.api.AttributesApi;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public class AttributesApiExample {

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public static void main(String[] args) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            AttributesApi apiInstance = new AttributesApi();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object userId = ; // Object | Standard users can use this only with their own _userId_
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object refresh = ; // Object |
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            try {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            apiInstance.attributesComputedGet(all, userId, deviceId, groupId, refresh);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } catch (ApiException e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            System.err.println("Exception when calling AttributesApi#attributesComputedGet");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            e.printStackTrace();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Object *refresh = ; //  (optional)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            AttributesApi *apiInstance = [[AttributesApi alloc] init];

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Fetch a list of Attributes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [apiInstance attributesComputedGetWith:all
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            userId:userId
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            deviceId:deviceId
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groupId:groupId
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            refresh:refresh
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            completionHandler: ^(NSError* error) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (error) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NSLog(@"Error: %@", error);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
var Antrack = require('antrack');

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var api = new Antrack.AttributesApi()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var opts = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            'userId': , // {Object} Standard users can use this only with their own _userId_
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            'refresh':  // {Object}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var callback = function(error, data, response) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (error) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            console.error(error);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            console.log('API called successfully.');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            api.attributesComputedGet(opts, callback);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
using System;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            using System.Diagnostics;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            using IO.Swagger.Api;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            using IO.Swagger.Client;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            using IO.Swagger.Model;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            namespace Example
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public class attributesComputedGetExample
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public void main()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var apiInstance = new AttributesApi();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            var refresh = new Object(); // Object |  (optional)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            try
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Fetch a list of Attributes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            apiInstance.attributesComputedGet(all, userId, deviceId, groupId, refresh);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            catch (Exception e)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Debug.Print("Exception when calling AttributesApi.attributesComputedGet: " + e.Message );
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
<?php
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            require_once(__DIR__ . '/vendor/autoload.php');

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $api_instance = new Swagger\Client\Api\AttributesApi();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $all = ; // Object | Can only be used by admins or managers to fetch all entities
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $userId = ; // Object | Standard users can use this only with their own _userId_
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $refresh = ; // Object |

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            try {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            $api_instance->attributesComputedGet($all, $userId, $deviceId, $groupId, $refresh);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } catch (Exception $e) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            echo 'Exception when calling AttributesApi->attributesComputedGet: ', $e->getMessage(), PHP_EOL;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributesApi;

my $api_instance = WWW::SwaggerClient::AttributesApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->attributesComputedGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling AttributesApi->attributesComputedGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AttributesApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Attributes
    api_instance.attributes_computed_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling AttributesApi->attributesComputedGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


attributesComputedIdDelete

Delete an Attribute


/attributes/computed/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/attributes/computed/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributesApi;

import java.io.File;
import java.util.*;

public class AttributesApiExample {

                                    public static void main(String[] args) {

                                    AttributesApi apiInstance = new AttributesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.attributesComputedIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.AttributesApi;

public class AttributesApiExample {

                                    public static void main(String[] args) {
                                    AttributesApi apiInstance = new AttributesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.attributesComputedIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

AttributesApi *apiInstance = [[AttributesApi alloc] init];

// Delete an Attribute
[apiInstance attributesComputedIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.AttributesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.attributesComputedIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class attributesComputedIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new AttributesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete an Attribute
                                      apiInstance.attributesComputedIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling AttributesApi.attributesComputedIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AttributesApi();
$id = ; // Object |

try {
                                      $api_instance->attributesComputedIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling AttributesApi->attributesComputedIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributesApi;

my $api_instance = WWW::SwaggerClient::AttributesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->attributesComputedIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling AttributesApi->attributesComputedIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AttributesApi()
id =  # Object |

try:
    # Delete an Attribute
    api_instance.attributes_computed_id_delete(id)
except ApiException as e:
    print("Exception when calling AttributesApi->attributesComputedIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


attributesComputedIdPut

Update an Attribute


/attributes/computed/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/attributes/computed/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributesApi;

import java.io.File;
import java.util.*;

public class AttributesApiExample {

                                    public static void main(String[] args) {

                                    AttributesApi apiInstance = new AttributesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.attributesComputedIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.AttributesApi;

public class AttributesApiExample {

                                    public static void main(String[] args) {
                                    AttributesApi apiInstance = new AttributesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.attributesComputedIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

AttributesApi *apiInstance = [[AttributesApi alloc] init];

// Update an Attribute
[apiInstance attributesComputedIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.AttributesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.attributesComputedIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class attributesComputedIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new AttributesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update an Attribute
                                      apiInstance.attributesComputedIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling AttributesApi.attributesComputedIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AttributesApi();
$id = ; // Object |

try {
                                      $api_instance->attributesComputedIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling AttributesApi->attributesComputedIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributesApi;

my $api_instance = WWW::SwaggerClient::AttributesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->attributesComputedIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling AttributesApi->attributesComputedIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AttributesApi()
id =  # Object |

try:
    # Update an Attribute
    api_instance.attributes_computed_id_put(id)
except ApiException as e:
    print("Exception when calling AttributesApi->attributesComputedIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


attributesComputedPost

Create an Attribute


/attributes/computed

Usage and SDK Samples

curl -X POST "https://localhost/attributes/computed"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AttributesApi;

import java.io.File;
import java.util.*;

public class AttributesApiExample {

                                    public static void main(String[] args) {

                                    AttributesApi apiInstance = new AttributesApi();
                                    try {
                                    apiInstance.attributesComputedPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.AttributesApi;

public class AttributesApiExample {

                                    public static void main(String[] args) {
                                    AttributesApi apiInstance = new AttributesApi();
                                    try {
                                    apiInstance.attributesComputedPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling AttributesApi#attributesComputedPost");
                                    e.printStackTrace();
                                }
                                }
                                }

AttributesApi *apiInstance = [[AttributesApi alloc] init];

// Create an Attribute
[apiInstance attributesComputedPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.AttributesApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.attributesComputedPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class attributesComputedPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new AttributesApi();

                                      try
                                  {
                                      // Create an Attribute
                                      apiInstance.attributesComputedPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling AttributesApi.attributesComputedPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AttributesApi();

try {
                                      $api_instance->attributesComputedPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling AttributesApi->attributesComputedPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AttributesApi;

my $api_instance = WWW::SwaggerClient::AttributesApi->new();

eval {
                                      $api_instance->attributesComputedPost();
                                  };
if ($@) {
                                      warn "Exception when calling AttributesApi->attributesComputedPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AttributesApi()

try:
    # Create an Attribute
    api_instance.attributes_computed_post()
except ApiException as e:
    print("Exception when calling AttributesApi->attributesComputedPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Calendars

calendarsGet

Fetch a list of Calendars

Without params, it returns a list of Calendars the user has access to


/calendars

Usage and SDK Samples

curl -X GET "https://localhost/calendars?all=&userId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CalendarsApi;

import java.io.File;
import java.util.*;

public class CalendarsApiExample {

                                    public static void main(String[] args) {

                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    try {
                                    apiInstance.calendarsGet(all, userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CalendarsApi;

public class CalendarsApiExample {

                                    public static void main(String[] args) {
                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    try {
                                    apiInstance.calendarsGet(all, userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)

CalendarsApi *apiInstance = [[CalendarsApi alloc] init];

// Fetch a list of Calendars
[apiInstance calendarsGetWith:all
    userId:userId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CalendarsApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId':  // {Object} Standard users can use this only with their own _userId_
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.calendarsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class calendarsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CalendarsApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)

                                      try
                                  {
                                      // Fetch a list of Calendars
                                      apiInstance.calendarsGet(all, userId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CalendarsApi.calendarsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CalendarsApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_

try {
                                      $api_instance->calendarsGet($all, $userId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CalendarsApi->calendarsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CalendarsApi;

my $api_instance = WWW::SwaggerClient::CalendarsApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_

eval {
                                      $api_instance->calendarsGet(all => $all, userId => $userId);
                                  };
if ($@) {
                                      warn "Exception when calling CalendarsApi->calendarsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CalendarsApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)

try:
    # Fetch a list of Calendars
    api_instance.calendars_get(all=all, userId=userId)
except ApiException as e:
    print("Exception when calling CalendarsApi->calendarsGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_

Responses

Status: 200 - OK


calendarsIdDelete

Delete a Calendar


/calendars/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/calendars/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CalendarsApi;

import java.io.File;
import java.util.*;

public class CalendarsApiExample {

                                    public static void main(String[] args) {

                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.calendarsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CalendarsApi;

public class CalendarsApiExample {

                                    public static void main(String[] args) {
                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.calendarsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

CalendarsApi *apiInstance = [[CalendarsApi alloc] init];

// Delete a Calendar
[apiInstance calendarsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CalendarsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.calendarsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class calendarsIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CalendarsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Calendar
                                      apiInstance.calendarsIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CalendarsApi.calendarsIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CalendarsApi();
$id = ; // Object |

try {
                                      $api_instance->calendarsIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CalendarsApi->calendarsIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CalendarsApi;

my $api_instance = WWW::SwaggerClient::CalendarsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->calendarsIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling CalendarsApi->calendarsIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CalendarsApi()
id =  # Object |

try:
    # Delete a Calendar
    api_instance.calendars_id_delete(id)
except ApiException as e:
    print("Exception when calling CalendarsApi->calendarsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


calendarsIdPut

Update a Calendar


/calendars/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/calendars/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CalendarsApi;

import java.io.File;
import java.util.*;

public class CalendarsApiExample {

                                    public static void main(String[] args) {

                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.calendarsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CalendarsApi;

public class CalendarsApiExample {

                                    public static void main(String[] args) {
                                    CalendarsApi apiInstance = new CalendarsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.calendarsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

CalendarsApi *apiInstance = [[CalendarsApi alloc] init];

// Update a Calendar
[apiInstance calendarsIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CalendarsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.calendarsIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class calendarsIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CalendarsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Calendar
                                      apiInstance.calendarsIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CalendarsApi.calendarsIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CalendarsApi();
$id = ; // Object |

try {
                                      $api_instance->calendarsIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CalendarsApi->calendarsIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CalendarsApi;

my $api_instance = WWW::SwaggerClient::CalendarsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->calendarsIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling CalendarsApi->calendarsIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CalendarsApi()
id =  # Object |

try:
    # Update a Calendar
    api_instance.calendars_id_put(id)
except ApiException as e:
    print("Exception when calling CalendarsApi->calendarsIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


calendarsPost

Create a Calendar


/calendars

Usage and SDK Samples

curl -X POST "https://localhost/calendars"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CalendarsApi;

import java.io.File;
import java.util.*;

public class CalendarsApiExample {

                                    public static void main(String[] args) {

                                    CalendarsApi apiInstance = new CalendarsApi();
                                    try {
                                    apiInstance.calendarsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CalendarsApi;

public class CalendarsApiExample {

                                    public static void main(String[] args) {
                                    CalendarsApi apiInstance = new CalendarsApi();
                                    try {
                                    apiInstance.calendarsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CalendarsApi#calendarsPost");
                                    e.printStackTrace();
                                }
                                }
                                }

CalendarsApi *apiInstance = [[CalendarsApi alloc] init];

// Create a Calendar
[apiInstance calendarsPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.CalendarsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.calendarsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class calendarsPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CalendarsApi();

                                      try
                                  {
                                      // Create a Calendar
                                      apiInstance.calendarsPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CalendarsApi.calendarsPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CalendarsApi();

try {
                                      $api_instance->calendarsPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CalendarsApi->calendarsPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CalendarsApi;

my $api_instance = WWW::SwaggerClient::CalendarsApi->new();

eval {
                                      $api_instance->calendarsPost();
                                  };
if ($@) {
                                      warn "Exception when calling CalendarsApi->calendarsPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CalendarsApi()

try:
    # Create a Calendar
    api_instance.calendars_post()
except ApiException as e:
    print("Exception when calling CalendarsApi->calendarsPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Commands

commandsGet

Fetch a list of Saved Commands

Without params, it returns a list of Saved Commands the user has access to


/commands

Usage and SDK Samples

curl -X GET "https://localhost/commands?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.commandsGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.commandsGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
Object *refresh = ; //  (optional)

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Fetch a list of Saved Commands
[apiInstance commandsGetWith:all
    userId:userId
    deviceId:deviceId
    groupId:groupId
    refresh:refresh
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                      'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                      'refresh':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                      var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                      var refresh = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Saved Commands
                                      apiInstance.commandsGet(all, userId, deviceId, groupId, refresh);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
$groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
$refresh = ; // Object |

try {
                                      $api_instance->commandsGet($all, $userId, $deviceId, $groupId, $refresh);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->commandsGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Saved Commands
    api_instance.commands_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling CommandsApi->commandsGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


commandsIdDelete

Delete a Saved Command


/commands/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/commands/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.commandsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.commandsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Delete a Saved Command
[apiInstance commandsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Saved Command
                                      apiInstance.commandsIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();
$id = ; // Object |

try {
                                      $api_instance->commandsIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->commandsIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()
id =  # Object |

try:
    # Delete a Saved Command
    api_instance.commands_id_delete(id)
except ApiException as e:
    print("Exception when calling CommandsApi->commandsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


commandsIdPut

Update a Saved Command


/commands/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/commands/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.commandsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.commandsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Update a Saved Command
[apiInstance commandsIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Saved Command
                                      apiInstance.commandsIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();
$id = ; // Object |

try {
                                      $api_instance->commandsIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->commandsIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()
id =  # Object |

try:
    # Update a Saved Command
    api_instance.commands_id_put(id)
except ApiException as e:
    print("Exception when calling CommandsApi->commandsIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


commandsPost

Create a Saved Command


/commands

Usage and SDK Samples

curl -X POST "https://localhost/commands"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    try {
                                    apiInstance.commandsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    try {
                                    apiInstance.commandsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsPost");
                                    e.printStackTrace();
                                }
                                }
                                }

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Create a Saved Command
[apiInstance commandsPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();

                                      try
                                  {
                                      // Create a Saved Command
                                      apiInstance.commandsPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();

try {
                                      $api_instance->commandsPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();

eval {
                                      $api_instance->commandsPost();
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()

try:
    # Create a Saved Command
    api_instance.commands_post()
except ApiException as e:
    print("Exception when calling CommandsApi->commandsPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


commandsSendGet

Fetch a list of Saved Commands supported by Device at the moment

Return a list of saved commands linked to Device and its groups, filtered by current Device protocol support


/commands/send

Usage and SDK Samples

curl -X GET "https://localhost/commands/send?deviceId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    try {
                                    apiInstance.commandsSendGet(deviceId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsSendGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    try {
                                    apiInstance.commandsSendGet(deviceId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsSendGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Fetch a list of Saved Commands supported by Device at the moment
[apiInstance commandsSendGetWith:deviceId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var opts = {
                                      'deviceId':  // {Object} Standard users can use this only with _deviceId_s, they have access to
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsSendGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsSendGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)

                                      try
                                  {
                                      // Fetch a list of Saved Commands supported by Device at the moment
                                      apiInstance.commandsSendGet(deviceId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsSendGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to

try {
                                      $api_instance->commandsSendGet($deviceId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsSendGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to

eval {
                                      $api_instance->commandsSendGet(deviceId => $deviceId);
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsSendGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)

try:
    # Fetch a list of Saved Commands supported by Device at the moment
    api_instance.commands_send_get(deviceId=deviceId)
except ApiException as e:
    print("Exception when calling CommandsApi->commandsSendGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to

Responses

Status: 200 - OK

Status: 400 - Could happen when the user doesn't have permission for the device


commandsSendPost

Dispatch commands to device

Dispatch a new command or Saved Command if _body.id_ set


/commands/send

Usage and SDK Samples

curl -X POST "https://localhost/commands/send"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    try {
                                    apiInstance.commandsSendPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsSendPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    try {
                                    apiInstance.commandsSendPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsSendPost");
                                    e.printStackTrace();
                                }
                                }
                                }

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Dispatch commands to device
[apiInstance commandsSendPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsSendPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsSendPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();

                                      try
                                  {
                                      // Dispatch commands to device
                                      apiInstance.commandsSendPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsSendPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();

try {
                                      $api_instance->commandsSendPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsSendPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();

eval {
                                      $api_instance->commandsSendPost();
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsSendPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()

try:
    # Dispatch commands to device
    api_instance.commands_send_post()
except ApiException as e:
    print("Exception when calling CommandsApi->commandsSendPost: %s\n" % e)

Parameters

Responses

Status: 200 - Command sent

Status: 202 - Command queued

Status: 400 - Could happen when the user doesn't have permission or an incorrect command _type_ for the device


commandsTypesGet

Fetch a list of available Commands for the Device or all possible Commands if Device ommited


/commands/types

Usage and SDK Samples

curl -X GET "https://localhost/commands/types?deviceId=&protocol=&textChannel="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommandsApi;

import java.io.File;
import java.util.*;

public class CommandsApiExample {

                                    public static void main(String[] args) {

                                    CommandsApi apiInstance = new CommandsApi();
                                    Object deviceId = ; // Object | Internal device identifier. Only works if device has already reported some locations
                                    Object protocol = ; // Object | Protocol name. Can be used instead of device id
                                    Object textChannel = ; // Object | When `true` return SMS commands. If not specified or `false` return data commands
                                    try {
                                    apiInstance.commandsTypesGet(deviceId, protocol, textChannel);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsTypesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.CommandsApi;

public class CommandsApiExample {

                                    public static void main(String[] args) {
                                    CommandsApi apiInstance = new CommandsApi();
                                    Object deviceId = ; // Object | Internal device identifier. Only works if device has already reported some locations
                                    Object protocol = ; // Object | Protocol name. Can be used instead of device id
                                    Object textChannel = ; // Object | When `true` return SMS commands. If not specified or `false` return data commands
                                    try {
                                    apiInstance.commandsTypesGet(deviceId, protocol, textChannel);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling CommandsApi#commandsTypesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *deviceId = ; // Internal device identifier. Only works if device has already reported some locations (optional)
Object *protocol = ; // Protocol name. Can be used instead of device id (optional)
Object *textChannel = ; // When `true` return SMS commands. If not specified or `false` return data commands (optional)

CommandsApi *apiInstance = [[CommandsApi alloc] init];

// Fetch a list of available Commands for the Device or all possible Commands if Device ommited
[apiInstance commandsTypesGetWith:deviceId
    protocol:protocol
    textChannel:textChannel
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.CommandsApi()

var opts = {
                                      'deviceId': , // {Object} Internal device identifier. Only works if device has already reported some locations
                                      'protocol': , // {Object} Protocol name. Can be used instead of device id
                                      'textChannel':  // {Object} When `true` return SMS commands. If not specified or `false` return data commands
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.commandsTypesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class commandsTypesGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new CommandsApi();
                                      var deviceId = new Object(); // Object | Internal device identifier. Only works if device has already reported some locations (optional)
                                      var protocol = new Object(); // Object | Protocol name. Can be used instead of device id (optional)
                                      var textChannel = new Object(); // Object | When `true` return SMS commands. If not specified or `false` return data commands (optional)

                                      try
                                  {
                                      // Fetch a list of available Commands for the Device or all possible Commands if Device ommited
                                      apiInstance.commandsTypesGet(deviceId, protocol, textChannel);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling CommandsApi.commandsTypesGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommandsApi();
$deviceId = ; // Object | Internal device identifier. Only works if device has already reported some locations
$protocol = ; // Object | Protocol name. Can be used instead of device id
$textChannel = ; // Object | When `true` return SMS commands. If not specified or `false` return data commands

try {
                                      $api_instance->commandsTypesGet($deviceId, $protocol, $textChannel);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling CommandsApi->commandsTypesGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommandsApi;

my $api_instance = WWW::SwaggerClient::CommandsApi->new();
my $deviceId = ; # Object | Internal device identifier. Only works if device has already reported some locations
my $protocol = ; # Object | Protocol name. Can be used instead of device id
my $textChannel = ; # Object | When `true` return SMS commands. If not specified or `false` return data commands

eval {
                                      $api_instance->commandsTypesGet(deviceId => $deviceId, protocol => $protocol, textChannel => $textChannel);
                                  };
if ($@) {
                                      warn "Exception when calling CommandsApi->commandsTypesGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommandsApi()
deviceId =  # Object | Internal device identifier. Only works if device has already reported some locations (optional)
protocol =  # Object | Protocol name. Can be used instead of device id (optional)
textChannel =  # Object | When `true` return SMS commands. If not specified or `false` return data commands (optional)

try:
    # Fetch a list of available Commands for the Device or all possible Commands if Device ommited
    api_instance.commands_types_get(deviceId=deviceId, protocol=protocol, textChannel=textChannel)
except ApiException as e:
    print("Exception when calling CommandsApi->commandsTypesGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
Internal device identifier. Only works if device has already reported some locations
protocol
Object
Protocol name. Can be used instead of device id
textChannel
Object
When `true` return SMS commands. If not specified or `false` return data commands

Responses

Status: 200 - OK

Status: 400 - Could happen when trying to fetch from a device the user does not have permission


Devices

devicesGet

Fetch a list of Devices

Without any params, returns a list of the user's devices


/devices

Usage and SDK Samples

curl -X GET "https://localhost/devices?all=&userId=&id=&uniqueId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

import java.io.File;
import java.util.*;

public class DevicesApiExample {

                                    public static void main(String[] args) {

                                    DevicesApi apiInstance = new DevicesApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object id = ; // Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
                                    Object uniqueId = ; // Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`
                                    try {
                                    apiInstance.devicesGet(all, userId, id, uniqueId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

                                    public static void main(String[] args) {
                                    DevicesApi apiInstance = new DevicesApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object id = ; // Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
                                    Object uniqueId = ; // Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`
                                    try {
                                    apiInstance.devicesGet(all, userId, id, uniqueId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *id = ; // To fetch one or more devices. Multiple params can be passed like `id=31&id=42` (optional)
Object *uniqueId = ; // To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442` (optional)

DevicesApi *apiInstance = [[DevicesApi alloc] init];

// Fetch a list of Devices
[apiInstance devicesGetWith:all
    userId:userId
    id:id
    uniqueId:uniqueId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DevicesApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'id': , // {Object} To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
                                      'uniqueId':  // {Object} To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.devicesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class devicesGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DevicesApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var id = new Object(); // Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42` (optional)
                                      var uniqueId = new Object(); // Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442` (optional)

                                      try
                                  {
                                      // Fetch a list of Devices
                                      apiInstance.devicesGet(all, userId, id, uniqueId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DevicesApi.devicesGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevicesApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$id = ; // Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
$uniqueId = ; // Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`

try {
                                      $api_instance->devicesGet($all, $userId, $id, $uniqueId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DevicesApi->devicesGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $id = ; # Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
my $uniqueId = ; # Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`

eval {
                                      $api_instance->devicesGet(all => $all, userId => $userId, id => $id, uniqueId => $uniqueId);
                                  };
if ($@) {
                                      warn "Exception when calling DevicesApi->devicesGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevicesApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
id =  # Object | To fetch one or more devices. Multiple params can be passed like `id=31&id=42` (optional)
uniqueId =  # Object | To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442` (optional)

try:
    # Fetch a list of Devices
    api_instance.devices_get(all=all, userId=userId, id=id, uniqueId=uniqueId)
except ApiException as e:
    print("Exception when calling DevicesApi->devicesGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
id
Object
To fetch one or more devices. Multiple params can be passed like `id=31&id=42`
uniqueId
Object
To fetch one or more devices. Multiple params can be passed like `uniqueId=333331&uniqieId=44442`

Responses

Status: 200 - OK

Status: 400 - No permission


devicesIdAccumulatorsPut

Update total distance and hours of the Device


/devices/{id}/accumulators

Usage and SDK Samples

curl -X PUT "https://localhost/devices/{id}/accumulators"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

import java.io.File;
import java.util.*;

public class DevicesApiExample {

                                    public static void main(String[] args) {

                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdAccumulatorsPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdAccumulatorsPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

                                    public static void main(String[] args) {
                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdAccumulatorsPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdAccumulatorsPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

DevicesApi *apiInstance = [[DevicesApi alloc] init];

// Update total distance and hours of the Device
[apiInstance devicesIdAccumulatorsPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DevicesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.devicesIdAccumulatorsPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class devicesIdAccumulatorsPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DevicesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update total distance and hours of the Device
                                      apiInstance.devicesIdAccumulatorsPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DevicesApi.devicesIdAccumulatorsPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevicesApi();
$id = ; // Object |

try {
                                      $api_instance->devicesIdAccumulatorsPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DevicesApi->devicesIdAccumulatorsPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->devicesIdAccumulatorsPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling DevicesApi->devicesIdAccumulatorsPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevicesApi()
id =  # Object |

try:
    # Update total distance and hours of the Device
    api_instance.devices_id_accumulators_put(id)
except ApiException as e:
    print("Exception when calling DevicesApi->devicesIdAccumulatorsPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


devicesIdDelete

Delete a Device


/devices/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/devices/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

import java.io.File;
import java.util.*;

public class DevicesApiExample {

                                    public static void main(String[] args) {

                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

                                    public static void main(String[] args) {
                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

DevicesApi *apiInstance = [[DevicesApi alloc] init];

// Delete a Device
[apiInstance devicesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DevicesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.devicesIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class devicesIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DevicesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Device
                                      apiInstance.devicesIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DevicesApi.devicesIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevicesApi();
$id = ; // Object |

try {
                                      $api_instance->devicesIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DevicesApi->devicesIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->devicesIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling DevicesApi->devicesIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevicesApi()
id =  # Object |

try:
    # Delete a Device
    api_instance.devices_id_delete(id)
except ApiException as e:
    print("Exception when calling DevicesApi->devicesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


devicesIdPut

Update a Device


/devices/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/devices/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

import java.io.File;
import java.util.*;

public class DevicesApiExample {

                                    public static void main(String[] args) {

                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

                                    public static void main(String[] args) {
                                    DevicesApi apiInstance = new DevicesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.devicesIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

DevicesApi *apiInstance = [[DevicesApi alloc] init];

// Update a Device
[apiInstance devicesIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DevicesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.devicesIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class devicesIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DevicesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Device
                                      apiInstance.devicesIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DevicesApi.devicesIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevicesApi();
$id = ; // Object |

try {
                                      $api_instance->devicesIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DevicesApi->devicesIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->devicesIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling DevicesApi->devicesIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevicesApi()
id =  # Object |

try:
    # Update a Device
    api_instance.devices_id_put(id)
except ApiException as e:
    print("Exception when calling DevicesApi->devicesIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


devicesPost

Create a Device


/devices

Usage and SDK Samples

curl -X POST "https://localhost/devices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

import java.io.File;
import java.util.*;

public class DevicesApiExample {

                                    public static void main(String[] args) {

                                    DevicesApi apiInstance = new DevicesApi();
                                    try {
                                    apiInstance.devicesPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

                                    public static void main(String[] args) {
                                    DevicesApi apiInstance = new DevicesApi();
                                    try {
                                    apiInstance.devicesPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DevicesApi#devicesPost");
                                    e.printStackTrace();
                                }
                                }
                                }

DevicesApi *apiInstance = [[DevicesApi alloc] init];

// Create a Device
[apiInstance devicesPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.DevicesApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.devicesPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class devicesPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DevicesApi();

                                      try
                                  {
                                      // Create a Device
                                      apiInstance.devicesPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DevicesApi.devicesPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DevicesApi();

try {
                                      $api_instance->devicesPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DevicesApi->devicesPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();

eval {
                                      $api_instance->devicesPost();
                                  };
if ($@) {
                                      warn "Exception when calling DevicesApi->devicesPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DevicesApi()

try:
    # Create a Device
    api_instance.devices_post()
except ApiException as e:
    print("Exception when calling DevicesApi->devicesPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Drivers

driversGet

Fetch a list of Drivers

Without params, it returns a list of Drivers the user has access to


/drivers

Usage and SDK Samples

curl -X GET "https://localhost/drivers?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DriversApi;

import java.io.File;
import java.util.*;

public class DriversApiExample {

                                    public static void main(String[] args) {

                                    DriversApi apiInstance = new DriversApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.driversGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DriversApi;

public class DriversApiExample {

                                    public static void main(String[] args) {
                                    DriversApi apiInstance = new DriversApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.driversGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
Object *refresh = ; //  (optional)

DriversApi *apiInstance = [[DriversApi alloc] init];

// Fetch a list of Drivers
[apiInstance driversGetWith:all
    userId:userId
    deviceId:deviceId
    groupId:groupId
    refresh:refresh
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DriversApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                      'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                      'refresh':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.driversGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class driversGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DriversApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                      var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                      var refresh = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Drivers
                                      apiInstance.driversGet(all, userId, deviceId, groupId, refresh);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DriversApi.driversGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DriversApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
$groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
$refresh = ; // Object |

try {
                                      $api_instance->driversGet($all, $userId, $deviceId, $groupId, $refresh);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DriversApi->driversGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DriversApi;

my $api_instance = WWW::SwaggerClient::DriversApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->driversGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling DriversApi->driversGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DriversApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Drivers
    api_instance.drivers_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling DriversApi->driversGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


driversIdDelete

Delete a Driver


/drivers/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/drivers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DriversApi;

import java.io.File;
import java.util.*;

public class DriversApiExample {

                                    public static void main(String[] args) {

                                    DriversApi apiInstance = new DriversApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.driversIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DriversApi;

public class DriversApiExample {

                                    public static void main(String[] args) {
                                    DriversApi apiInstance = new DriversApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.driversIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

DriversApi *apiInstance = [[DriversApi alloc] init];

// Delete a Driver
[apiInstance driversIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DriversApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.driversIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class driversIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DriversApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Driver
                                      apiInstance.driversIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DriversApi.driversIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DriversApi();
$id = ; // Object |

try {
                                      $api_instance->driversIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DriversApi->driversIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DriversApi;

my $api_instance = WWW::SwaggerClient::DriversApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->driversIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling DriversApi->driversIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DriversApi()
id =  # Object |

try:
    # Delete a Driver
    api_instance.drivers_id_delete(id)
except ApiException as e:
    print("Exception when calling DriversApi->driversIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


driversIdPut

Update a Driver


/drivers/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/drivers/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DriversApi;

import java.io.File;
import java.util.*;

public class DriversApiExample {

                                    public static void main(String[] args) {

                                    DriversApi apiInstance = new DriversApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.driversIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DriversApi;

public class DriversApiExample {

                                    public static void main(String[] args) {
                                    DriversApi apiInstance = new DriversApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.driversIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

DriversApi *apiInstance = [[DriversApi alloc] init];

// Update a Driver
[apiInstance driversIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.DriversApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.driversIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class driversIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DriversApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Driver
                                      apiInstance.driversIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DriversApi.driversIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DriversApi();
$id = ; // Object |

try {
                                      $api_instance->driversIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DriversApi->driversIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DriversApi;

my $api_instance = WWW::SwaggerClient::DriversApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->driversIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling DriversApi->driversIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DriversApi()
id =  # Object |

try:
    # Update a Driver
    api_instance.drivers_id_put(id)
except ApiException as e:
    print("Exception when calling DriversApi->driversIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


driversPost

Create a Driver


/drivers

Usage and SDK Samples

curl -X POST "https://localhost/drivers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DriversApi;

import java.io.File;
import java.util.*;

public class DriversApiExample {

                                    public static void main(String[] args) {

                                    DriversApi apiInstance = new DriversApi();
                                    try {
                                    apiInstance.driversPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.DriversApi;

public class DriversApiExample {

                                    public static void main(String[] args) {
                                    DriversApi apiInstance = new DriversApi();
                                    try {
                                    apiInstance.driversPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling DriversApi#driversPost");
                                    e.printStackTrace();
                                }
                                }
                                }

DriversApi *apiInstance = [[DriversApi alloc] init];

// Create a Driver
[apiInstance driversPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.DriversApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.driversPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class driversPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new DriversApi();

                                      try
                                  {
                                      // Create a Driver
                                      apiInstance.driversPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling DriversApi.driversPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DriversApi();

try {
                                      $api_instance->driversPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling DriversApi->driversPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DriversApi;

my $api_instance = WWW::SwaggerClient::DriversApi->new();

eval {
                                      $api_instance->driversPost();
                                  };
if ($@) {
                                      warn "Exception when calling DriversApi->driversPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DriversApi()

try:
    # Create a Driver
    api_instance.drivers_post()
except ApiException as e:
    print("Exception when calling DriversApi->driversPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Events

eventsIdGet


/events/{id}

Usage and SDK Samples

curl -X GET "https://localhost/events/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

                                    public static void main(String[] args) {

                                    EventsApi apiInstance = new EventsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.eventsIdGet(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling EventsApi#eventsIdGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

                                    public static void main(String[] args) {
                                    EventsApi apiInstance = new EventsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.eventsIdGet(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling EventsApi#eventsIdGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

EventsApi *apiInstance = [[EventsApi alloc] init];

[apiInstance eventsIdGetWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.EventsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.eventsIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class eventsIdGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new EventsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      apiInstance.eventsIdGet(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling EventsApi.eventsIdGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$id = ; // Object |

try {
                                      $api_instance->eventsIdGet($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling EventsApi->eventsIdGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->eventsIdGet(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling EventsApi->eventsIdGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.EventsApi()
id =  # Object |

try:
    api_instance.events_id_get(id)
except ApiException as e:
    print("Exception when calling EventsApi->eventsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


Geofences

geofencesGet

Fetch a list of Geofences

Without params, it returns a list of Geofences the user has access to


/geofences

Usage and SDK Samples

curl -X GET "https://localhost/geofences?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GeofencesApi;

import java.io.File;
import java.util.*;

public class GeofencesApiExample {

                                    public static void main(String[] args) {

                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.geofencesGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GeofencesApi;

public class GeofencesApiExample {

                                    public static void main(String[] args) {
                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.geofencesGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
Object *refresh = ; //  (optional)

GeofencesApi *apiInstance = [[GeofencesApi alloc] init];

// Fetch a list of Geofences
[apiInstance geofencesGetWith:all
    userId:userId
    deviceId:deviceId
    groupId:groupId
    refresh:refresh
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GeofencesApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                      'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                      'refresh':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.geofencesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class geofencesGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GeofencesApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                      var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                      var refresh = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Geofences
                                      apiInstance.geofencesGet(all, userId, deviceId, groupId, refresh);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GeofencesApi.geofencesGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GeofencesApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
$groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
$refresh = ; // Object |

try {
                                      $api_instance->geofencesGet($all, $userId, $deviceId, $groupId, $refresh);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GeofencesApi->geofencesGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GeofencesApi;

my $api_instance = WWW::SwaggerClient::GeofencesApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->geofencesGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling GeofencesApi->geofencesGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GeofencesApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Geofences
    api_instance.geofences_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling GeofencesApi->geofencesGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


geofencesIdDelete

Delete a Geofence


/geofences/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/geofences/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GeofencesApi;

import java.io.File;
import java.util.*;

public class GeofencesApiExample {

                                    public static void main(String[] args) {

                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.geofencesIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GeofencesApi;

public class GeofencesApiExample {

                                    public static void main(String[] args) {
                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.geofencesIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

GeofencesApi *apiInstance = [[GeofencesApi alloc] init];

// Delete a Geofence
[apiInstance geofencesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GeofencesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.geofencesIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class geofencesIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GeofencesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Geofence
                                      apiInstance.geofencesIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GeofencesApi.geofencesIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GeofencesApi();
$id = ; // Object |

try {
                                      $api_instance->geofencesIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GeofencesApi->geofencesIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GeofencesApi;

my $api_instance = WWW::SwaggerClient::GeofencesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->geofencesIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling GeofencesApi->geofencesIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GeofencesApi()
id =  # Object |

try:
    # Delete a Geofence
    api_instance.geofences_id_delete(id)
except ApiException as e:
    print("Exception when calling GeofencesApi->geofencesIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


geofencesIdPut

Update a Geofence


/geofences/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/geofences/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GeofencesApi;

import java.io.File;
import java.util.*;

public class GeofencesApiExample {

                                    public static void main(String[] args) {

                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.geofencesIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GeofencesApi;

public class GeofencesApiExample {

                                    public static void main(String[] args) {
                                    GeofencesApi apiInstance = new GeofencesApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.geofencesIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

GeofencesApi *apiInstance = [[GeofencesApi alloc] init];

// Update a Geofence
[apiInstance geofencesIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GeofencesApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.geofencesIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class geofencesIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GeofencesApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Geofence
                                      apiInstance.geofencesIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GeofencesApi.geofencesIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GeofencesApi();
$id = ; // Object |

try {
                                      $api_instance->geofencesIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GeofencesApi->geofencesIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GeofencesApi;

my $api_instance = WWW::SwaggerClient::GeofencesApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->geofencesIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling GeofencesApi->geofencesIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GeofencesApi()
id =  # Object |

try:
    # Update a Geofence
    api_instance.geofences_id_put(id)
except ApiException as e:
    print("Exception when calling GeofencesApi->geofencesIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


geofencesPost

Create a Geofence


/geofences

Usage and SDK Samples

curl -X POST "https://localhost/geofences"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GeofencesApi;

import java.io.File;
import java.util.*;

public class GeofencesApiExample {

                                    public static void main(String[] args) {

                                    GeofencesApi apiInstance = new GeofencesApi();
                                    try {
                                    apiInstance.geofencesPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GeofencesApi;

public class GeofencesApiExample {

                                    public static void main(String[] args) {
                                    GeofencesApi apiInstance = new GeofencesApi();
                                    try {
                                    apiInstance.geofencesPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GeofencesApi#geofencesPost");
                                    e.printStackTrace();
                                }
                                }
                                }

GeofencesApi *apiInstance = [[GeofencesApi alloc] init];

// Create a Geofence
[apiInstance geofencesPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.GeofencesApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.geofencesPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class geofencesPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GeofencesApi();

                                      try
                                  {
                                      // Create a Geofence
                                      apiInstance.geofencesPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GeofencesApi.geofencesPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GeofencesApi();

try {
                                      $api_instance->geofencesPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GeofencesApi->geofencesPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GeofencesApi;

my $api_instance = WWW::SwaggerClient::GeofencesApi->new();

eval {
                                      $api_instance->geofencesPost();
                                  };
if ($@) {
                                      warn "Exception when calling GeofencesApi->geofencesPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GeofencesApi()

try:
    # Create a Geofence
    api_instance.geofences_post()
except ApiException as e:
    print("Exception when calling GeofencesApi->geofencesPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Groups

groupsGet

Fetch a list of Groups

Without any params, returns a list of the Groups the user belongs to


/groups

Usage and SDK Samples

curl -X GET "https://localhost/groups?all=&userId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GroupsApi;

import java.io.File;
import java.util.*;

public class GroupsApiExample {

                                    public static void main(String[] args) {

                                    GroupsApi apiInstance = new GroupsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    try {
                                    apiInstance.groupsGet(all, userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GroupsApi;

public class GroupsApiExample {

                                    public static void main(String[] args) {
                                    GroupsApi apiInstance = new GroupsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    try {
                                    apiInstance.groupsGet(all, userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)

GroupsApi *apiInstance = [[GroupsApi alloc] init];

// Fetch a list of Groups
[apiInstance groupsGetWith:all
    userId:userId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GroupsApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId':  // {Object} Standard users can use this only with their own _userId_
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.groupsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class groupsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GroupsApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)

                                      try
                                  {
                                      // Fetch a list of Groups
                                      apiInstance.groupsGet(all, userId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GroupsApi.groupsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GroupsApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_

try {
                                      $api_instance->groupsGet($all, $userId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GroupsApi->groupsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GroupsApi;

my $api_instance = WWW::SwaggerClient::GroupsApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_

eval {
                                      $api_instance->groupsGet(all => $all, userId => $userId);
                                  };
if ($@) {
                                      warn "Exception when calling GroupsApi->groupsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GroupsApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)

try:
    # Fetch a list of Groups
    api_instance.groups_get(all=all, userId=userId)
except ApiException as e:
    print("Exception when calling GroupsApi->groupsGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_

Responses

Status: 200 - OK


groupsIdDelete

Delete a Group


/groups/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GroupsApi;

import java.io.File;
import java.util.*;

public class GroupsApiExample {

                                    public static void main(String[] args) {

                                    GroupsApi apiInstance = new GroupsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.groupsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GroupsApi;

public class GroupsApiExample {

                                    public static void main(String[] args) {
                                    GroupsApi apiInstance = new GroupsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.groupsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

GroupsApi *apiInstance = [[GroupsApi alloc] init];

// Delete a Group
[apiInstance groupsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GroupsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.groupsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class groupsIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GroupsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Group
                                      apiInstance.groupsIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GroupsApi.groupsIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GroupsApi();
$id = ; // Object |

try {
                                      $api_instance->groupsIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GroupsApi->groupsIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GroupsApi;

my $api_instance = WWW::SwaggerClient::GroupsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->groupsIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling GroupsApi->groupsIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GroupsApi()
id =  # Object |

try:
    # Delete a Group
    api_instance.groups_id_delete(id)
except ApiException as e:
    print("Exception when calling GroupsApi->groupsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


groupsIdPut

Update a Group


/groups/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GroupsApi;

import java.io.File;
import java.util.*;

public class GroupsApiExample {

                                    public static void main(String[] args) {

                                    GroupsApi apiInstance = new GroupsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.groupsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GroupsApi;

public class GroupsApiExample {

                                    public static void main(String[] args) {
                                    GroupsApi apiInstance = new GroupsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.groupsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

GroupsApi *apiInstance = [[GroupsApi alloc] init];

// Update a Group
[apiInstance groupsIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.GroupsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.groupsIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class groupsIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GroupsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Group
                                      apiInstance.groupsIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GroupsApi.groupsIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GroupsApi();
$id = ; // Object |

try {
                                      $api_instance->groupsIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GroupsApi->groupsIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GroupsApi;

my $api_instance = WWW::SwaggerClient::GroupsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->groupsIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling GroupsApi->groupsIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GroupsApi()
id =  # Object |

try:
    # Update a Group
    api_instance.groups_id_put(id)
except ApiException as e:
    print("Exception when calling GroupsApi->groupsIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


groupsPost

Create a Group


/groups

Usage and SDK Samples

curl -X POST "https://localhost/groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GroupsApi;

import java.io.File;
import java.util.*;

public class GroupsApiExample {

                                    public static void main(String[] args) {

                                    GroupsApi apiInstance = new GroupsApi();
                                    try {
                                    apiInstance.groupsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.GroupsApi;

public class GroupsApiExample {

                                    public static void main(String[] args) {
                                    GroupsApi apiInstance = new GroupsApi();
                                    try {
                                    apiInstance.groupsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling GroupsApi#groupsPost");
                                    e.printStackTrace();
                                }
                                }
                                }

GroupsApi *apiInstance = [[GroupsApi alloc] init];

// Create a Group
[apiInstance groupsPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.GroupsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.groupsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class groupsPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new GroupsApi();

                                      try
                                  {
                                      // Create a Group
                                      apiInstance.groupsPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling GroupsApi.groupsPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GroupsApi();

try {
                                      $api_instance->groupsPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling GroupsApi->groupsPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GroupsApi;

my $api_instance = WWW::SwaggerClient::GroupsApi->new();

eval {
                                      $api_instance->groupsPost();
                                  };
if ($@) {
                                      warn "Exception when calling GroupsApi->groupsPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GroupsApi()

try:
    # Create a Group
    api_instance.groups_post()
except ApiException as e:
    print("Exception when calling GroupsApi->groupsPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 400 - No permission


Maintenance

maintenanceGet

Fetch a list of Maintenance

Without params, it returns a list of Maintenance the user has access to


/maintenance

Usage and SDK Samples

curl -X GET "https://localhost/maintenance?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaintenanceApi;

import java.io.File;
import java.util.*;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {

                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.maintenanceGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.MaintenanceApi;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {
                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.maintenanceGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
Object *refresh = ; //  (optional)

MaintenanceApi *apiInstance = [[MaintenanceApi alloc] init];

// Fetch a list of Maintenance
[apiInstance maintenanceGetWith:all
    userId:userId
    deviceId:deviceId
    groupId:groupId
    refresh:refresh
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.MaintenanceApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                      'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                      'refresh':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.maintenanceGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class maintenanceGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new MaintenanceApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                      var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                      var refresh = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Maintenance
                                      apiInstance.maintenanceGet(all, userId, deviceId, groupId, refresh);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling MaintenanceApi.maintenanceGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaintenanceApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
$groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
$refresh = ; // Object |

try {
                                      $api_instance->maintenanceGet($all, $userId, $deviceId, $groupId, $refresh);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling MaintenanceApi->maintenanceGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaintenanceApi;

my $api_instance = WWW::SwaggerClient::MaintenanceApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->maintenanceGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling MaintenanceApi->maintenanceGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MaintenanceApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Maintenance
    api_instance.maintenance_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling MaintenanceApi->maintenanceGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


maintenanceIdDelete

Delete a Maintenance


/maintenance/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/maintenance/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaintenanceApi;

import java.io.File;
import java.util.*;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {

                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.maintenanceIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.MaintenanceApi;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {
                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.maintenanceIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

MaintenanceApi *apiInstance = [[MaintenanceApi alloc] init];

// Delete a Maintenance
[apiInstance maintenanceIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.MaintenanceApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.maintenanceIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class maintenanceIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new MaintenanceApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Maintenance
                                      apiInstance.maintenanceIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling MaintenanceApi.maintenanceIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaintenanceApi();
$id = ; // Object |

try {
                                      $api_instance->maintenanceIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling MaintenanceApi->maintenanceIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaintenanceApi;

my $api_instance = WWW::SwaggerClient::MaintenanceApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->maintenanceIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling MaintenanceApi->maintenanceIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MaintenanceApi()
id =  # Object |

try:
    # Delete a Maintenance
    api_instance.maintenance_id_delete(id)
except ApiException as e:
    print("Exception when calling MaintenanceApi->maintenanceIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


maintenanceIdPut

Update a Maintenance


/maintenance/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/maintenance/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaintenanceApi;

import java.io.File;
import java.util.*;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {

                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.maintenanceIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.MaintenanceApi;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {
                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.maintenanceIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenanceIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

MaintenanceApi *apiInstance = [[MaintenanceApi alloc] init];

// Update a Maintenance
[apiInstance maintenanceIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.MaintenanceApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.maintenanceIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class maintenanceIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new MaintenanceApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Maintenance
                                      apiInstance.maintenanceIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling MaintenanceApi.maintenanceIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaintenanceApi();
$id = ; // Object |

try {
                                      $api_instance->maintenanceIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling MaintenanceApi->maintenanceIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaintenanceApi;

my $api_instance = WWW::SwaggerClient::MaintenanceApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->maintenanceIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling MaintenanceApi->maintenanceIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MaintenanceApi()
id =  # Object |

try:
    # Update a Maintenance
    api_instance.maintenance_id_put(id)
except ApiException as e:
    print("Exception when calling MaintenanceApi->maintenanceIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


maintenancePost

Create a Maintenance


/maintenance

Usage and SDK Samples

curl -X POST "https://localhost/maintenance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MaintenanceApi;

import java.io.File;
import java.util.*;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {

                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    try {
                                    apiInstance.maintenancePost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenancePost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.MaintenanceApi;

public class MaintenanceApiExample {

                                    public static void main(String[] args) {
                                    MaintenanceApi apiInstance = new MaintenanceApi();
                                    try {
                                    apiInstance.maintenancePost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling MaintenanceApi#maintenancePost");
                                    e.printStackTrace();
                                }
                                }
                                }

MaintenanceApi *apiInstance = [[MaintenanceApi alloc] init];

// Create a Maintenance
[apiInstance maintenancePostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.MaintenanceApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.maintenancePost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class maintenancePostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new MaintenanceApi();

                                      try
                                  {
                                      // Create a Maintenance
                                      apiInstance.maintenancePost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling MaintenanceApi.maintenancePost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MaintenanceApi();

try {
                                      $api_instance->maintenancePost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling MaintenanceApi->maintenancePost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MaintenanceApi;

my $api_instance = WWW::SwaggerClient::MaintenanceApi->new();

eval {
                                      $api_instance->maintenancePost();
                                  };
if ($@) {
                                      warn "Exception when calling MaintenanceApi->maintenancePost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MaintenanceApi()

try:
    # Create a Maintenance
    api_instance.maintenance_post()
except ApiException as e:
    print("Exception when calling MaintenanceApi->maintenancePost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Notifications

notificationsGet

Fetch a list of Notifications

Without params, it returns a list of Notifications the user has access to


/notifications

Usage and SDK Samples

curl -X GET "https://localhost/notifications?all=&userId=&deviceId=&groupId=&refresh="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.notificationsGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object all = ; // Object | Can only be used by admins or managers to fetch all entities
                                    Object userId = ; // Object | Standard users can use this only with their own _userId_
                                    Object deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
                                    Object groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
                                    Object refresh = ; // Object |
                                    try {
                                    apiInstance.notificationsGet(all, userId, deviceId, groupId, refresh);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *all = ; // Can only be used by admins or managers to fetch all entities (optional)
Object *userId = ; // Standard users can use this only with their own _userId_ (optional)
Object *deviceId = ; // Standard users can use this only with _deviceId_s, they have access to (optional)
Object *groupId = ; // Standard users can use this only with _groupId_s, they have access to (optional)
Object *refresh = ; //  (optional)

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Fetch a list of Notifications
[apiInstance notificationsGetWith:all
    userId:userId
    deviceId:deviceId
    groupId:groupId
    refresh:refresh
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var opts = {
                                      'all': , // {Object} Can only be used by admins or managers to fetch all entities
                                      'userId': , // {Object} Standard users can use this only with their own _userId_
                                      'deviceId': , // {Object} Standard users can use this only with _deviceId_s, they have access to
                                      'groupId': , // {Object} Standard users can use this only with _groupId_s, they have access to
                                      'refresh':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();
                                      var all = new Object(); // Object | Can only be used by admins or managers to fetch all entities (optional)
                                      var userId = new Object(); // Object | Standard users can use this only with their own _userId_ (optional)
                                      var deviceId = new Object(); // Object | Standard users can use this only with _deviceId_s, they have access to (optional)
                                      var groupId = new Object(); // Object | Standard users can use this only with _groupId_s, they have access to (optional)
                                      var refresh = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Notifications
                                      apiInstance.notificationsGet(all, userId, deviceId, groupId, refresh);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();
$all = ; // Object | Can only be used by admins or managers to fetch all entities
$userId = ; // Object | Standard users can use this only with their own _userId_
$deviceId = ; // Object | Standard users can use this only with _deviceId_s, they have access to
$groupId = ; // Object | Standard users can use this only with _groupId_s, they have access to
$refresh = ; // Object |

try {
                                      $api_instance->notificationsGet($all, $userId, $deviceId, $groupId, $refresh);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();
my $all = ; # Object | Can only be used by admins or managers to fetch all entities
my $userId = ; # Object | Standard users can use this only with their own _userId_
my $deviceId = ; # Object | Standard users can use this only with _deviceId_s, they have access to
my $groupId = ; # Object | Standard users can use this only with _groupId_s, they have access to
my $refresh = ; # Object |

eval {
                                      $api_instance->notificationsGet(all => $all, userId => $userId, deviceId => $deviceId, groupId => $groupId, refresh => $refresh);
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()
all =  # Object | Can only be used by admins or managers to fetch all entities (optional)
userId =  # Object | Standard users can use this only with their own _userId_ (optional)
deviceId =  # Object | Standard users can use this only with _deviceId_s, they have access to (optional)
groupId =  # Object | Standard users can use this only with _groupId_s, they have access to (optional)
refresh =  # Object |  (optional)

try:
    # Fetch a list of Notifications
    api_instance.notifications_get(all=all, userId=userId, deviceId=deviceId, groupId=groupId, refresh=refresh)
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsGet: %s\n" % e)

Parameters

Query parameters
Name Description
all
Object
Can only be used by admins or managers to fetch all entities
userId
Object
Standard users can use this only with their own _userId_
deviceId
Object
Standard users can use this only with _deviceId_s, they have access to
groupId
Object
Standard users can use this only with _groupId_s, they have access to
refresh
Object

Responses

Status: 200 - OK


notificationsIdDelete

Delete a Notification


/notifications/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/notifications/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.notificationsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.notificationsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Delete a Notification
[apiInstance notificationsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Notification
                                      apiInstance.notificationsIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();
$id = ; // Object |

try {
                                      $api_instance->notificationsIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->notificationsIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()
id =  # Object |

try:
    # Delete a Notification
    api_instance.notifications_id_delete(id)
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


notificationsIdPut

Update a Notification


/notifications/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/notifications/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.notificationsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.notificationsIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Update a Notification
[apiInstance notificationsIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a Notification
                                      apiInstance.notificationsIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();
$id = ; // Object |

try {
                                      $api_instance->notificationsIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->notificationsIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()
id =  # Object |

try:
    # Update a Notification
    api_instance.notifications_id_put(id)
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


notificationsPost

Create a Notification


/notifications

Usage and SDK Samples

curl -X POST "https://localhost/notifications"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsPost");
                                    e.printStackTrace();
                                }
                                }
                                }

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Create a Notification
[apiInstance notificationsPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();

                                      try
                                  {
                                      // Create a Notification
                                      apiInstance.notificationsPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();

try {
                                      $api_instance->notificationsPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();

eval {
                                      $api_instance->notificationsPost();
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()

try:
    # Create a Notification
    api_instance.notifications_post()
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK


notificationsTestPost

Send test notification to current user via Email and SMS


/notifications/test

Usage and SDK Samples

curl -X POST "https://localhost/notifications/test"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsTestPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsTestPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsTestPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsTestPost");
                                    e.printStackTrace();
                                }
                                }
                                }

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Send test notification to current user via Email and SMS
[apiInstance notificationsTestPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsTestPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsTestPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();

                                      try
                                  {
                                      // Send test notification to current user via Email and SMS
                                      apiInstance.notificationsTestPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsTestPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();

try {
                                      $api_instance->notificationsTestPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsTestPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();

eval {
                                      $api_instance->notificationsTestPost();
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsTestPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()

try:
    # Send test notification to current user via Email and SMS
    api_instance.notifications_test_post()
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsTestPost: %s\n" % e)

Parameters

Responses

Status: 204 - Successful sending

Status: 400 - Could happen if sending has failed


notificationsTypesGet

Fetch a list of available Notification types


/notifications/types

Usage and SDK Samples

curl -X GET "https://localhost/notifications/types"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationsApi;

import java.io.File;
import java.util.*;

public class NotificationsApiExample {

                                    public static void main(String[] args) {

                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsTypesGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsTypesGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.NotificationsApi;

public class NotificationsApiExample {

                                    public static void main(String[] args) {
                                    NotificationsApi apiInstance = new NotificationsApi();
                                    try {
                                    apiInstance.notificationsTypesGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling NotificationsApi#notificationsTypesGet");
                                    e.printStackTrace();
                                }
                                }
                                }

NotificationsApi *apiInstance = [[NotificationsApi alloc] init];

// Fetch a list of available Notification types
[apiInstance notificationsTypesGetWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.NotificationsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.notificationsTypesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class notificationsTypesGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new NotificationsApi();

                                      try
                                  {
                                      // Fetch a list of available Notification types
                                      apiInstance.notificationsTypesGet();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling NotificationsApi.notificationsTypesGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\NotificationsApi();

try {
                                      $api_instance->notificationsTypesGet();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling NotificationsApi->notificationsTypesGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::NotificationsApi;

my $api_instance = WWW::SwaggerClient::NotificationsApi->new();

eval {
                                      $api_instance->notificationsTypesGet();
                                  };
if ($@) {
                                      warn "Exception when calling NotificationsApi->notificationsTypesGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.NotificationsApi()

try:
    # Fetch a list of available Notification types
    api_instance.notifications_types_get()
except ApiException as e:
    print("Exception when calling NotificationsApi->notificationsTypesGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Permissions

permissionsDelete

Unlink an Object from another Object


/permissions

Usage and SDK Samples

curl -X DELETE "https://localhost/permissions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PermissionsApi;

import java.io.File;
import java.util.*;

public class PermissionsApiExample {

                                    public static void main(String[] args) {

                                    PermissionsApi apiInstance = new PermissionsApi();
                                    try {
                                    apiInstance.permissionsDelete();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PermissionsApi#permissionsDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.PermissionsApi;

public class PermissionsApiExample {

                                    public static void main(String[] args) {
                                    PermissionsApi apiInstance = new PermissionsApi();
                                    try {
                                    apiInstance.permissionsDelete();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PermissionsApi#permissionsDelete");
                                    e.printStackTrace();
                                }
                                }
                                }

PermissionsApi *apiInstance = [[PermissionsApi alloc] init];

// Unlink an Object from another Object
[apiInstance permissionsDeleteWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.PermissionsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.permissionsDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class permissionsDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new PermissionsApi();

                                      try
                                  {
                                      // Unlink an Object from another Object
                                      apiInstance.permissionsDelete();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling PermissionsApi.permissionsDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PermissionsApi();

try {
                                      $api_instance->permissionsDelete();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling PermissionsApi->permissionsDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PermissionsApi;

my $api_instance = WWW::SwaggerClient::PermissionsApi->new();

eval {
                                      $api_instance->permissionsDelete();
                                  };
if ($@) {
                                      warn "Exception when calling PermissionsApi->permissionsDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PermissionsApi()

try:
    # Unlink an Object from another Object
    api_instance.permissions_delete()
except ApiException as e:
    print("Exception when calling PermissionsApi->permissionsDelete: %s\n" % e)

Parameters

Responses

Status: 204 - No Content


permissionsPost

Link an Object to another Object


/permissions

Usage and SDK Samples

curl -X POST "https://localhost/permissions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PermissionsApi;

import java.io.File;
import java.util.*;

public class PermissionsApiExample {

                                    public static void main(String[] args) {

                                    PermissionsApi apiInstance = new PermissionsApi();
                                    try {
                                    apiInstance.permissionsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PermissionsApi#permissionsPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.PermissionsApi;

public class PermissionsApiExample {

                                    public static void main(String[] args) {
                                    PermissionsApi apiInstance = new PermissionsApi();
                                    try {
                                    apiInstance.permissionsPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PermissionsApi#permissionsPost");
                                    e.printStackTrace();
                                }
                                }
                                }

PermissionsApi *apiInstance = [[PermissionsApi alloc] init];

// Link an Object to another Object
[apiInstance permissionsPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.PermissionsApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.permissionsPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class permissionsPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new PermissionsApi();

                                      try
                                  {
                                      // Link an Object to another Object
                                      apiInstance.permissionsPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling PermissionsApi.permissionsPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PermissionsApi();

try {
                                      $api_instance->permissionsPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling PermissionsApi->permissionsPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PermissionsApi;

my $api_instance = WWW::SwaggerClient::PermissionsApi->new();

eval {
                                      $api_instance->permissionsPost();
                                  };
if ($@) {
                                      warn "Exception when calling PermissionsApi->permissionsPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PermissionsApi()

try:
    # Link an Object to another Object
    api_instance.permissions_post()
except ApiException as e:
    print("Exception when calling PermissionsApi->permissionsPost: %s\n" % e)

Parameters

Responses

Status: 204 - No Content

Status: 400 - No permission


Positions

positionsDelete

Deletes all the Positions of a device in the time span specified


/positions

Usage and SDK Samples

curl -X DELETE "https://localhost/positions?deviceId=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PositionsApi;

import java.io.File;
import java.util.*;

public class PositionsApiExample {

                                    public static void main(String[] args) {

                                    PositionsApi apiInstance = new PositionsApi();
                                    Object deviceId = ; // Object |
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    try {
                                    apiInstance.positionsDelete(deviceId, from, to);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.PositionsApi;

public class PositionsApiExample {

                                    public static void main(String[] args) {
                                    PositionsApi apiInstance = new PositionsApi();
                                    Object deviceId = ; // Object |
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    try {
                                    apiInstance.positionsDelete(deviceId, from, to);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *deviceId = ; //
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

PositionsApi *apiInstance = [[PositionsApi alloc] init];

// Deletes all the Positions of a device in the time span specified
[apiInstance positionsDeleteWith:deviceId
    from:from
    to:to
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.PositionsApi()

var deviceId = ; // {Object}

                                  var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`


var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.positionsDelete(deviceId, from, to, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class positionsDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new PositionsApi();
                                      var deviceId = new Object(); // Object |
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

                                      try
                                  {
                                      // Deletes all the Positions of a device in the time span specified
                                      apiInstance.positionsDelete(deviceId, from, to);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling PositionsApi.positionsDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PositionsApi();
$deviceId = ; // Object |
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

try {
                                      $api_instance->positionsDelete($deviceId, $from, $to);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling PositionsApi->positionsDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PositionsApi;

my $api_instance = WWW::SwaggerClient::PositionsApi->new();
my $deviceId = ; # Object |
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

eval {
                                      $api_instance->positionsDelete(deviceId => $deviceId, from => $from, to => $to);
                                  };
if ($@) {
                                      warn "Exception when calling PositionsApi->positionsDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PositionsApi()
deviceId =  # Object |
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

try:
    # Deletes all the Positions of a device in the time span specified
    api_instance.positions_delete(deviceId, from, to)
except ApiException as e:
    print("Exception when calling PositionsApi->positionsDelete: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId*
Object
Required
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 204 - No Content

Status: 400 - Bad Request


positionsGet

Fetches a list of Positions

We strongly recommend using [Antrack WebSocket API] instead of periodically polling positions endpoint. Without any params, it returns a list of last known positions for all the user's Devices. _from_ and _to_ fields are not required with _id_.


/positions

Usage and SDK Samples

curl -X GET "https://localhost/positions?deviceId=&from=&to=&id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PositionsApi;

import java.io.File;
import java.util.*;

public class PositionsApiExample {

                                    public static void main(String[] args) {

                                    PositionsApi apiInstance = new PositionsApi();
                                    Object deviceId = ; // Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object id = ; // Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42`
                                    try {
                                    apiInstance.positionsGet(deviceId, from, to, id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.PositionsApi;

public class PositionsApiExample {

                                    public static void main(String[] args) {
                                    PositionsApi apiInstance = new PositionsApi();
                                    Object deviceId = ; // Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object id = ; // Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42`
                                    try {
                                    apiInstance.positionsGet(deviceId, from, to, id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *deviceId = ; // _deviceId_ is optional, but requires the _from_ and _to_ parameters when used (optional)
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
Object *id = ; // To fetch one or more positions. Multiple params can be passed like `id=31&id=42` (optional)

PositionsApi *apiInstance = [[PositionsApi alloc] init];

// Fetches a list of Positions
[apiInstance positionsGetWith:deviceId
    from:from
    to:to
    id:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.PositionsApi()

var opts = {
                                      'deviceId': , // {Object} _deviceId_ is optional, but requires the _from_ and _to_ parameters when used
                                      'from': , // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      'to': , // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      'id':  // {Object} To fetch one or more positions. Multiple params can be passed like `id=31&id=42`
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.positionsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class positionsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new PositionsApi();
                                      var deviceId = new Object(); // Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used (optional)
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
                                      var id = new Object(); // Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42` (optional)

                                      try
                                  {
                                      // Fetches a list of Positions
                                      apiInstance.positionsGet(deviceId, from, to, id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling PositionsApi.positionsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PositionsApi();
$deviceId = ; // Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$id = ; // Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42`

try {
                                      $api_instance->positionsGet($deviceId, $from, $to, $id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling PositionsApi->positionsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PositionsApi;

my $api_instance = WWW::SwaggerClient::PositionsApi->new();
my $deviceId = ; # Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $id = ; # Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42`

eval {
                                      $api_instance->positionsGet(deviceId => $deviceId, from => $from, to => $to, id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling PositionsApi->positionsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PositionsApi()
deviceId =  # Object | _deviceId_ is optional, but requires the _from_ and _to_ parameters when used (optional)
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z` (optional)
id =  # Object | To fetch one or more positions. Multiple params can be passed like `id=31&id=42` (optional)

try:
    # Fetches a list of Positions
    api_instance.positions_get(deviceId=deviceId, from=from, to=to, id=id)
except ApiException as e:
    print("Exception when calling PositionsApi->positionsGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
_deviceId_ is optional, but requires the _from_ and _to_ parameters when used
from
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
id
Object
To fetch one or more positions. Multiple params can be passed like `id=31&id=42`

Responses

Status: 200 - OK


positionsIdDelete

Delete a Position


/positions/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/positions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PositionsApi;

import java.io.File;
import java.util.*;

public class PositionsApiExample {

                                    public static void main(String[] args) {

                                    PositionsApi apiInstance = new PositionsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.positionsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.PositionsApi;

public class PositionsApiExample {

                                    public static void main(String[] args) {
                                    PositionsApi apiInstance = new PositionsApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.positionsIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling PositionsApi#positionsIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

PositionsApi *apiInstance = [[PositionsApi alloc] init];

// Delete a Position
[apiInstance positionsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.PositionsApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.positionsIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class positionsIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new PositionsApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a Position
                                      apiInstance.positionsIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling PositionsApi.positionsIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PositionsApi();
$id = ; // Object |

try {
                                      $api_instance->positionsIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling PositionsApi->positionsIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PositionsApi;

my $api_instance = WWW::SwaggerClient::PositionsApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->positionsIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling PositionsApi->positionsIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PositionsApi()
id =  # Object |

try:
    # Delete a Position
    api_instance.positions_id_delete(id)
except ApiException as e:
    print("Exception when calling PositionsApi->positionsIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content

Status: 404 - Not Found


Reports

reportsEventsGet

Fetch a list of Events within the time period for the Devices or Groups

At least one _deviceId_ or one _groupId_ must be passed


/reports/events

Usage and SDK Samples

curl -X GET "https://localhost/reports/events?deviceId=&groupId=&type=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

                                    public static void main(String[] args) {

                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    Object type = ; // Object | % can be used to return events of all types
                                    try {
                                    apiInstance.reportsEventsGet(from, to, deviceId, groupId, type);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsEventsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

                                    public static void main(String[] args) {
                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    Object type = ; // Object | % can be used to return events of all types
                                    try {
                                    apiInstance.reportsEventsGet(from, to, deviceId, groupId, type);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsEventsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *deviceId = ; //  (optional)
Object *groupId = ; //  (optional)
Object *type = ; // % can be used to return events of all types (optional)

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Fetch a list of Events within the time period for the Devices or Groups
[apiInstance reportsEventsGetWith:from
    to:to
    deviceId:deviceId
    groupId:groupId
    type:type
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.ReportsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var opts = {
                                      'deviceId': , // {Object}
                                      'groupId': , // {Object}
                                      'type':  // {Object} % can be used to return events of all types
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.reportsEventsGet(from, to, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class reportsEventsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ReportsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var deviceId = new Object(); // Object |  (optional)
                                      var groupId = new Object(); // Object |  (optional)
                                      var type = new Object(); // Object | % can be used to return events of all types (optional)

                                      try
                                  {
                                      // Fetch a list of Events within the time period for the Devices or Groups
                                      apiInstance.reportsEventsGet(from, to, deviceId, groupId, type);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ReportsApi.reportsEventsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$deviceId = ; // Object |
$groupId = ; // Object |
$type = ; // Object | % can be used to return events of all types

try {
                                      $api_instance->reportsEventsGet($from, $to, $deviceId, $groupId, $type);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ReportsApi->reportsEventsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $deviceId = ; # Object |
my $groupId = ; # Object |
my $type = ; # Object | % can be used to return events of all types

eval {
                                      $api_instance->reportsEventsGet(from => $from, to => $to, deviceId => $deviceId, groupId => $groupId, type => $type);
                                  };
if ($@) {
                                      warn "Exception when calling ReportsApi->reportsEventsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
deviceId =  # Object |  (optional)
groupId =  # Object |  (optional)
type =  # Object | % can be used to return events of all types (optional)

try:
    # Fetch a list of Events within the time period for the Devices or Groups
    api_instance.reports_events_get(from, to, deviceId=deviceId, groupId=groupId, type=type)
except ApiException as e:
    print("Exception when calling ReportsApi->reportsEventsGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
groupId
Object
type
Object
% can be used to return events of all types
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


reportsRouteGet

Fetch a list of Positions within the time period for the Devices or Groups

At least one _deviceId_ or one _groupId_ must be passed


/reports/route

Usage and SDK Samples

curl -X GET "https://localhost/reports/route?deviceId=&groupId=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

                                    public static void main(String[] args) {

                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsRouteGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsRouteGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

                                    public static void main(String[] args) {
                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsRouteGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsRouteGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *deviceId = ; //  (optional)
Object *groupId = ; //  (optional)

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Fetch a list of Positions within the time period for the Devices or Groups
[apiInstance reportsRouteGetWith:from
    to:to
    deviceId:deviceId
    groupId:groupId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.ReportsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var opts = {
                                      'deviceId': , // {Object}
                                      'groupId':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.reportsRouteGet(from, to, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class reportsRouteGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ReportsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var deviceId = new Object(); // Object |  (optional)
                                      var groupId = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of Positions within the time period for the Devices or Groups
                                      apiInstance.reportsRouteGet(from, to, deviceId, groupId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ReportsApi.reportsRouteGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$deviceId = ; // Object |
$groupId = ; // Object |

try {
                                      $api_instance->reportsRouteGet($from, $to, $deviceId, $groupId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ReportsApi->reportsRouteGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $deviceId = ; # Object |
my $groupId = ; # Object |

eval {
                                      $api_instance->reportsRouteGet(from => $from, to => $to, deviceId => $deviceId, groupId => $groupId);
                                  };
if ($@) {
                                      warn "Exception when calling ReportsApi->reportsRouteGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
deviceId =  # Object |  (optional)
groupId =  # Object |  (optional)

try:
    # Fetch a list of Positions within the time period for the Devices or Groups
    api_instance.reports_route_get(from, to, deviceId=deviceId, groupId=groupId)
except ApiException as e:
    print("Exception when calling ReportsApi->reportsRouteGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
groupId
Object
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


reportsStopsGet

Fetch a list of ReportStops within the time period for the Devices or Groups

At least one _deviceId_ or one _groupId_ must be passed


/reports/stops

Usage and SDK Samples

curl -X GET "https://localhost/reports/stops?deviceId=&groupId=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

                                    public static void main(String[] args) {

                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsStopsGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsStopsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

                                    public static void main(String[] args) {
                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsStopsGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsStopsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *deviceId = ; //  (optional)
Object *groupId = ; //  (optional)

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Fetch a list of ReportStops within the time period for the Devices or Groups
[apiInstance reportsStopsGetWith:from
    to:to
    deviceId:deviceId
    groupId:groupId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.ReportsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var opts = {
                                      'deviceId': , // {Object}
                                      'groupId':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.reportsStopsGet(from, to, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class reportsStopsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ReportsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var deviceId = new Object(); // Object |  (optional)
                                      var groupId = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of ReportStops within the time period for the Devices or Groups
                                      apiInstance.reportsStopsGet(from, to, deviceId, groupId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ReportsApi.reportsStopsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$deviceId = ; // Object |
$groupId = ; // Object |

try {
                                      $api_instance->reportsStopsGet($from, $to, $deviceId, $groupId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ReportsApi->reportsStopsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $deviceId = ; # Object |
my $groupId = ; # Object |

eval {
                                      $api_instance->reportsStopsGet(from => $from, to => $to, deviceId => $deviceId, groupId => $groupId);
                                  };
if ($@) {
                                      warn "Exception when calling ReportsApi->reportsStopsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
deviceId =  # Object |  (optional)
groupId =  # Object |  (optional)

try:
    # Fetch a list of ReportStops within the time period for the Devices or Groups
    api_instance.reports_stops_get(from, to, deviceId=deviceId, groupId=groupId)
except ApiException as e:
    print("Exception when calling ReportsApi->reportsStopsGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
groupId
Object
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


reportsSummaryGet

Fetch a list of ReportSummary within the time period for the Devices or Groups

At least one _deviceId_ or one _groupId_ must be passed


/reports/summary

Usage and SDK Samples

curl -X GET "https://localhost/reports/summary?deviceId=&groupId=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

                                    public static void main(String[] args) {

                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsSummaryGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsSummaryGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

                                    public static void main(String[] args) {
                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsSummaryGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsSummaryGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *deviceId = ; //  (optional)
Object *groupId = ; //  (optional)

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Fetch a list of ReportSummary within the time period for the Devices or Groups
[apiInstance reportsSummaryGetWith:from
    to:to
    deviceId:deviceId
    groupId:groupId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.ReportsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var opts = {
                                      'deviceId': , // {Object}
                                      'groupId':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.reportsSummaryGet(from, to, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class reportsSummaryGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ReportsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var deviceId = new Object(); // Object |  (optional)
                                      var groupId = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of ReportSummary within the time period for the Devices or Groups
                                      apiInstance.reportsSummaryGet(from, to, deviceId, groupId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ReportsApi.reportsSummaryGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$deviceId = ; // Object |
$groupId = ; // Object |

try {
                                      $api_instance->reportsSummaryGet($from, $to, $deviceId, $groupId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ReportsApi->reportsSummaryGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $deviceId = ; # Object |
my $groupId = ; # Object |

eval {
                                      $api_instance->reportsSummaryGet(from => $from, to => $to, deviceId => $deviceId, groupId => $groupId);
                                  };
if ($@) {
                                      warn "Exception when calling ReportsApi->reportsSummaryGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
deviceId =  # Object |  (optional)
groupId =  # Object |  (optional)

try:
    # Fetch a list of ReportSummary within the time period for the Devices or Groups
    api_instance.reports_summary_get(from, to, deviceId=deviceId, groupId=groupId)
except ApiException as e:
    print("Exception when calling ReportsApi->reportsSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
groupId
Object
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


reportsTripsGet

Fetch a list of ReportTrips within the time period for the Devices or Groups

At least one _deviceId_ or one _groupId_ must be passed


/reports/trips

Usage and SDK Samples

curl -X GET "https://localhost/reports/trips?deviceId=&groupId=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

                                    public static void main(String[] args) {

                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsTripsGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsTripsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

                                    public static void main(String[] args) {
                                    ReportsApi apiInstance = new ReportsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object deviceId = ; // Object |
                                    Object groupId = ; // Object |
                                    try {
                                    apiInstance.reportsTripsGet(from, to, deviceId, groupId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ReportsApi#reportsTripsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *deviceId = ; //  (optional)
Object *groupId = ; //  (optional)

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// Fetch a list of ReportTrips within the time period for the Devices or Groups
[apiInstance reportsTripsGetWith:from
    to:to
    deviceId:deviceId
    groupId:groupId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.ReportsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var opts = {
                                      'deviceId': , // {Object}
                                      'groupId':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.reportsTripsGet(from, to, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class reportsTripsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ReportsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var deviceId = new Object(); // Object |  (optional)
                                      var groupId = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch a list of ReportTrips within the time period for the Devices or Groups
                                      apiInstance.reportsTripsGet(from, to, deviceId, groupId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ReportsApi.reportsTripsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ReportsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$deviceId = ; // Object |
$groupId = ; // Object |

try {
                                      $api_instance->reportsTripsGet($from, $to, $deviceId, $groupId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ReportsApi->reportsTripsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $deviceId = ; # Object |
my $groupId = ; # Object |

eval {
                                      $api_instance->reportsTripsGet(from => $from, to => $to, deviceId => $deviceId, groupId => $groupId);
                                  };
if ($@) {
                                      warn "Exception when calling ReportsApi->reportsTripsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
deviceId =  # Object |  (optional)
groupId =  # Object |  (optional)

try:
    # Fetch a list of ReportTrips within the time period for the Devices or Groups
    api_instance.reports_trips_get(from, to, deviceId=deviceId, groupId=groupId)
except ApiException as e:
    print("Exception when calling ReportsApi->reportsTripsGet: %s\n" % e)

Parameters

Query parameters
Name Description
deviceId
Object
groupId
Object
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


Server

serverGet

Fetch Server information


/server

Usage and SDK Samples

curl -X GET "https://localhost/server"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ServerApi;

import java.io.File;
import java.util.*;

public class ServerApiExample {

                                    public static void main(String[] args) {

                                    ServerApi apiInstance = new ServerApi();
                                    try {
                                    apiInstance.serverGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ServerApi#serverGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ServerApi;

public class ServerApiExample {

                                    public static void main(String[] args) {
                                    ServerApi apiInstance = new ServerApi();
                                    try {
                                    apiInstance.serverGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ServerApi#serverGet");
                                    e.printStackTrace();
                                }
                                }
                                }

ServerApi *apiInstance = [[ServerApi alloc] init];

// Fetch Server information
[apiInstance serverGetWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.ServerApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.serverGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class serverGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ServerApi();

                                      try
                                  {
                                      // Fetch Server information
                                      apiInstance.serverGet();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ServerApi.serverGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ServerApi();

try {
                                      $api_instance->serverGet();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ServerApi->serverGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ServerApi;

my $api_instance = WWW::SwaggerClient::ServerApi->new();

eval {
                                      $api_instance->serverGet();
                                  };
if ($@) {
                                      warn "Exception when calling ServerApi->serverGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ServerApi()

try:
    # Fetch Server information
    api_instance.server_get()
except ApiException as e:
    print("Exception when calling ServerApi->serverGet: %s\n" % e)

Parameters

Responses

Status: 200 - OK


serverPut

Update Server information


/server

Usage and SDK Samples

curl -X PUT "https://localhost/server"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ServerApi;

import java.io.File;
import java.util.*;

public class ServerApiExample {

                                    public static void main(String[] args) {

                                    ServerApi apiInstance = new ServerApi();
                                    try {
                                    apiInstance.serverPut();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ServerApi#serverPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.ServerApi;

public class ServerApiExample {

                                    public static void main(String[] args) {
                                    ServerApi apiInstance = new ServerApi();
                                    try {
                                    apiInstance.serverPut();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling ServerApi#serverPut");
                                    e.printStackTrace();
                                }
                                }
                                }

ServerApi *apiInstance = [[ServerApi alloc] init];

// Update Server information
[apiInstance serverPutWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.ServerApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.serverPut(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class serverPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new ServerApi();

                                      try
                                  {
                                      // Update Server information
                                      apiInstance.serverPut();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling ServerApi.serverPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ServerApi();

try {
                                      $api_instance->serverPut();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling ServerApi->serverPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ServerApi;

my $api_instance = WWW::SwaggerClient::ServerApi->new();

eval {
                                      $api_instance->serverPut();
                                  };
if ($@) {
                                      warn "Exception when calling ServerApi->serverPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ServerApi()

try:
    # Update Server information
    api_instance.server_put()
except ApiException as e:
    print("Exception when calling ServerApi->serverPut: %s\n" % e)

Parameters

Responses

Status: 200 - OK


Session

sessionDelete

Close the Session


/session

Usage and SDK Samples

curl -X DELETE "https://localhost/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

                                    public static void main(String[] args) {

                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionDelete();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

                                    public static void main(String[] args) {
                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionDelete();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionDelete");
                                    e.printStackTrace();
                                }
                                }
                                }

SessionApi *apiInstance = [[SessionApi alloc] init];

// Close the Session
[apiInstance sessionDeleteWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.SessionApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.sessionDelete(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class sessionDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new SessionApi();

                                      try
                                  {
                                      // Close the Session
                                      apiInstance.sessionDelete();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling SessionApi.sessionDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionApi();

try {
                                      $api_instance->sessionDelete();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling SessionApi->sessionDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();

eval {
                                      $api_instance->sessionDelete();
                                  };
if ($@) {
                                      warn "Exception when calling SessionApi->sessionDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionApi()

try:
    # Close the Session
    api_instance.session_delete()
except ApiException as e:
    print("Exception when calling SessionApi->sessionDelete: %s\n" % e)

Parameters

Responses

Status: 204 - No Content


sessionGet

Fetch Session information


/session

Usage and SDK Samples

curl -X GET "https://localhost/session?token="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

                                    public static void main(String[] args) {

                                    SessionApi apiInstance = new SessionApi();
                                    Object token = ; // Object |
                                    try {
                                    apiInstance.sessionGet(token);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

                                    public static void main(String[] args) {
                                    SessionApi apiInstance = new SessionApi();
                                    Object token = ; // Object |
                                    try {
                                    apiInstance.sessionGet(token);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *token = ; //  (optional)

SessionApi *apiInstance = [[SessionApi alloc] init];

// Fetch Session information
[apiInstance sessionGetWith:token
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.SessionApi()

var opts = {
                                      'token':  // {Object}
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.sessionGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class sessionGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new SessionApi();
                                      var token = new Object(); // Object |  (optional)

                                      try
                                  {
                                      // Fetch Session information
                                      apiInstance.sessionGet(token);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling SessionApi.sessionGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionApi();
$token = ; // Object |

try {
                                      $api_instance->sessionGet($token);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling SessionApi->sessionGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();
my $token = ; # Object |

eval {
                                      $api_instance->sessionGet(token => $token);
                                  };
if ($@) {
                                      warn "Exception when calling SessionApi->sessionGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionApi()
token =  # Object |  (optional)

try:
    # Fetch Session information
    api_instance.session_get(token=token)
except ApiException as e:
    print("Exception when calling SessionApi->sessionGet: %s\n" % e)

Parameters

Query parameters
Name Description
token
Object

Responses

Status: 200 - OK

Status: 404 - Not Found


sessionOpenidAuthGet

Fetch Session information


/session/openid/auth

Usage and SDK Samples

curl -X GET "https://localhost/session/openid/auth"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

                                    public static void main(String[] args) {

                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionOpenidAuthGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionOpenidAuthGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

                                    public static void main(String[] args) {
                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionOpenidAuthGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionOpenidAuthGet");
                                    e.printStackTrace();
                                }
                                }
                                }

SessionApi *apiInstance = [[SessionApi alloc] init];

// Fetch Session information
[apiInstance sessionOpenidAuthGetWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.SessionApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.sessionOpenidAuthGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class sessionOpenidAuthGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new SessionApi();

                                      try
                                  {
                                      // Fetch Session information
                                      apiInstance.sessionOpenidAuthGet();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling SessionApi.sessionOpenidAuthGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionApi();

try {
                                      $api_instance->sessionOpenidAuthGet();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling SessionApi->sessionOpenidAuthGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();

eval {
                                      $api_instance->sessionOpenidAuthGet();
                                  };
if ($@) {
                                      warn "Exception when calling SessionApi->sessionOpenidAuthGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionApi()

try:
    # Fetch Session information
    api_instance.session_openid_auth_get()
except ApiException as e:
    print("Exception when calling SessionApi->sessionOpenidAuthGet: %s\n" % e)

Parameters

Responses

Status: 303 - Redirect to OpenID Connect identity provider


sessionOpenidCallbackGet

OpenID Callback


/session/openid/callback

Usage and SDK Samples

curl -X GET "https://localhost/session/openid/callback"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

                                    public static void main(String[] args) {

                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionOpenidCallbackGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionOpenidCallbackGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

                                    public static void main(String[] args) {
                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionOpenidCallbackGet();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionOpenidCallbackGet");
                                    e.printStackTrace();
                                }
                                }
                                }

SessionApi *apiInstance = [[SessionApi alloc] init];

// OpenID Callback
[apiInstance sessionOpenidCallbackGetWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.SessionApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.sessionOpenidCallbackGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class sessionOpenidCallbackGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new SessionApi();

                                      try
                                  {
                                      // OpenID Callback
                                      apiInstance.sessionOpenidCallbackGet();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling SessionApi.sessionOpenidCallbackGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionApi();

try {
                                      $api_instance->sessionOpenidCallbackGet();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling SessionApi->sessionOpenidCallbackGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();

eval {
                                      $api_instance->sessionOpenidCallbackGet();
                                  };
if ($@) {
                                      warn "Exception when calling SessionApi->sessionOpenidCallbackGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionApi()

try:
    # OpenID Callback
    api_instance.session_openid_callback_get()
except ApiException as e:
    print("Exception when calling SessionApi->sessionOpenidCallbackGet: %s\n" % e)

Parameters

Responses

Status: 303 - Successful authentication, redirect to homepage


sessionPost

Create a new Session


/session

Usage and SDK Samples

curl -X POST "https://localhost/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SessionApi;

import java.io.File;
import java.util.*;

public class SessionApiExample {

                                    public static void main(String[] args) {

                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.SessionApi;

public class SessionApiExample {

                                    public static void main(String[] args) {
                                    SessionApi apiInstance = new SessionApi();
                                    try {
                                    apiInstance.sessionPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling SessionApi#sessionPost");
                                    e.printStackTrace();
                                }
                                }
                                }

SessionApi *apiInstance = [[SessionApi alloc] init];

// Create a new Session
[apiInstance sessionPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.SessionApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.sessionPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class sessionPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new SessionApi();

                                      try
                                  {
                                      // Create a new Session
                                      apiInstance.sessionPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling SessionApi.sessionPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SessionApi();

try {
                                      $api_instance->sessionPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling SessionApi->sessionPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SessionApi;

my $api_instance = WWW::SwaggerClient::SessionApi->new();

eval {
                                      $api_instance->sessionPost();
                                  };
if ($@) {
                                      warn "Exception when calling SessionApi->sessionPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SessionApi()

try:
    # Create a new Session
    api_instance.session_post()
except ApiException as e:
    print("Exception when calling SessionApi->sessionPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK

Status: 401 - Unauthorized


Statistics

statisticsGet

Fetch server Statistics


/statistics

Usage and SDK Samples

curl -X GET "https://localhost/statistics?from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StatisticsApi;

import java.io.File;
import java.util.*;

public class StatisticsApiExample {

                                    public static void main(String[] args) {

                                    StatisticsApi apiInstance = new StatisticsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    try {
                                    apiInstance.statisticsGet(from, to);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling StatisticsApi#statisticsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.StatisticsApi;

public class StatisticsApiExample {

                                    public static void main(String[] args) {
                                    StatisticsApi apiInstance = new StatisticsApi();
                                    Object from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    Object to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                    try {
                                    apiInstance.statisticsGet(from, to);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling StatisticsApi#statisticsGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *from = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Object *to = ; // in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

StatisticsApi *apiInstance = [[StatisticsApi alloc] init];

// Fetch server Statistics
[apiInstance statisticsGetWith:from
    to:to
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.StatisticsApi()

var from = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

var to = ; // {Object} in ISO 8601 format. eg. `1963-11-22T18:30:00Z`


var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.statisticsGet(from, to, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class statisticsGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new StatisticsApi();
                                      var from = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
                                      var to = new Object(); // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

                                      try
                                  {
                                      // Fetch server Statistics
                                      apiInstance.statisticsGet(from, to);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling StatisticsApi.statisticsGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StatisticsApi();
$from = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
$to = ; // Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

try {
                                      $api_instance->statisticsGet($from, $to);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling StatisticsApi->statisticsGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StatisticsApi;

my $api_instance = WWW::SwaggerClient::StatisticsApi->new();
my $from = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
my $to = ; # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

eval {
                                      $api_instance->statisticsGet(from => $from, to => $to);
                                  };
if ($@) {
                                      warn "Exception when calling StatisticsApi->statisticsGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.StatisticsApi()
from =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
to =  # Object | in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

try:
    # Fetch server Statistics
    api_instance.statistics_get(from, to)
except ApiException as e:
    print("Exception when calling StatisticsApi->statisticsGet: %s\n" % e)

Parameters

Query parameters
Name Description
from*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required
to*
Object
in ISO 8601 format. eg. `1963-11-22T18:30:00Z`
Required

Responses

Status: 200 - OK


Users

usersGet

Fetch a list of Users


/users

Usage and SDK Samples

curl -X GET "https://localhost/users?userId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

import java.io.File;
import java.util.*;

public class UsersApiExample {

                                    public static void main(String[] args) {

                                    UsersApi apiInstance = new UsersApi();
                                    Object userId = ; // Object | Can only be used by admin or manager users
                                    try {
                                    apiInstance.usersGet(userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersGet");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

                                    public static void main(String[] args) {
                                    UsersApi apiInstance = new UsersApi();
                                    Object userId = ; // Object | Can only be used by admin or manager users
                                    try {
                                    apiInstance.usersGet(userId);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersGet");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *userId = ; // Can only be used by admin or manager users (optional)

UsersApi *apiInstance = [[UsersApi alloc] init];

// Fetch a list of Users
[apiInstance usersGetWith:userId
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.UsersApi()

var opts = {
                                      'userId':  // {Object} Can only be used by admin or manager users
                                  };

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.usersGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class usersGetExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new UsersApi();
                                      var userId = new Object(); // Object | Can only be used by admin or manager users (optional)

                                      try
                                  {
                                      // Fetch a list of Users
                                      apiInstance.usersGet(userId);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling UsersApi.usersGet: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UsersApi();
$userId = ; // Object | Can only be used by admin or manager users

try {
                                      $api_instance->usersGet($userId);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling UsersApi->usersGet: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UsersApi;

my $api_instance = WWW::SwaggerClient::UsersApi->new();
my $userId = ; # Object | Can only be used by admin or manager users

eval {
                                      $api_instance->usersGet(userId => $userId);
                                  };
if ($@) {
                                      warn "Exception when calling UsersApi->usersGet: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.UsersApi()
userId =  # Object | Can only be used by admin or manager users (optional)

try:
    # Fetch a list of Users
    api_instance.users_get(userId=userId)
except ApiException as e:
    print("Exception when calling UsersApi->usersGet: %s\n" % e)

Parameters

Query parameters
Name Description
userId
Object
Can only be used by admin or manager users

Responses

Status: 200 - OK

Status: 400 - No Permission


usersIdDelete

Delete a User


/users/{id}

Usage and SDK Samples

curl -X DELETE "https://localhost/users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

import java.io.File;
import java.util.*;

public class UsersApiExample {

                                    public static void main(String[] args) {

                                    UsersApi apiInstance = new UsersApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.usersIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

                                    public static void main(String[] args) {
                                    UsersApi apiInstance = new UsersApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.usersIdDelete(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersIdDelete");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

UsersApi *apiInstance = [[UsersApi alloc] init];

// Delete a User
[apiInstance usersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.UsersApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.usersIdDelete(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class usersIdDeleteExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new UsersApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Delete a User
                                      apiInstance.usersIdDelete(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling UsersApi.usersIdDelete: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UsersApi();
$id = ; // Object |

try {
                                      $api_instance->usersIdDelete($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling UsersApi->usersIdDelete: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UsersApi;

my $api_instance = WWW::SwaggerClient::UsersApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->usersIdDelete(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling UsersApi->usersIdDelete: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.UsersApi()
id =  # Object |

try:
    # Delete a User
    api_instance.users_id_delete(id)
except ApiException as e:
    print("Exception when calling UsersApi->usersIdDelete: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 204 - No Content


usersIdPut

Update a User


/users/{id}

Usage and SDK Samples

curl -X PUT "https://localhost/users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

import java.io.File;
import java.util.*;

public class UsersApiExample {

                                    public static void main(String[] args) {

                                    UsersApi apiInstance = new UsersApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.usersIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

                                    public static void main(String[] args) {
                                    UsersApi apiInstance = new UsersApi();
                                    Object id = ; // Object |
                                    try {
                                    apiInstance.usersIdPut(id);
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersIdPut");
                                    e.printStackTrace();
                                }
                                }
                                }
Object *id = ; //

UsersApi *apiInstance = [[UsersApi alloc] init];

// Update a User
[apiInstance usersIdPutWith:id
              completionHandler: ^(NSError* error) {
                                      if (error) {
                                      NSLog(@"Error: %@", error);
                                  }
                                  }];
var Antrack = require('antrack');

var api = new Antrack.UsersApi()

var id = ; // {Object}


                                  var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.usersIdPut(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class usersIdPutExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new UsersApi();
                                      var id = new Object(); // Object |

                                      try
                                  {
                                      // Update a User
                                      apiInstance.usersIdPut(id);
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling UsersApi.usersIdPut: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UsersApi();
$id = ; // Object |

try {
                                      $api_instance->usersIdPut($id);
                                  } catch (Exception $e) {
                                      echo 'Exception when calling UsersApi->usersIdPut: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UsersApi;

my $api_instance = WWW::SwaggerClient::UsersApi->new();
my $id = ; # Object |

eval {
                                      $api_instance->usersIdPut(id => $id);
                                  };
if ($@) {
                                      warn "Exception when calling UsersApi->usersIdPut: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.UsersApi()
id =  # Object |

try:
    # Update a User
    api_instance.users_id_put(id)
except ApiException as e:
    print("Exception when calling UsersApi->usersIdPut: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Object
Required

Responses

Status: 200 - OK


usersPost

Create a User


/users

Usage and SDK Samples

curl -X POST "https://localhost/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

import java.io.File;
import java.util.*;

public class UsersApiExample {

                                    public static void main(String[] args) {

                                    UsersApi apiInstance = new UsersApi();
                                    try {
                                    apiInstance.usersPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersPost");
                                    e.printStackTrace();
                                }
                                }
                                }
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

                                    public static void main(String[] args) {
                                    UsersApi apiInstance = new UsersApi();
                                    try {
                                    apiInstance.usersPost();
                                } catch (ApiException e) {
                                    System.err.println("Exception when calling UsersApi#usersPost");
                                    e.printStackTrace();
                                }
                                }
                                }

UsersApi *apiInstance = [[UsersApi alloc] init];

// Create a User
[apiInstance usersPostWithCompletionHandler:
              ^(NSError* error) {
                                  if (error) {
                                  NSLog(@"Error: %@", error);
                              }
                              }];
var Antrack = require('antrack');

var api = new Antrack.UsersApi()

var callback = function(error, data, response) {
                                      if (error) {
                                      console.error(error);
                                  } else {
                                      console.log('API called successfully.');
                                  }
                                  };
api.usersPost(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
                                  {
                                      public class usersPostExample
                                  {
                                      public void main()
                                  {

                                      var apiInstance = new UsersApi();

                                      try
                                  {
                                      // Create a User
                                      apiInstance.usersPost();
                                  }
                                      catch (Exception e)
                                  {
                                      Debug.Print("Exception when calling UsersApi.usersPost: " + e.Message );
                                  }
                                  }
                                  }
                                  }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UsersApi();

try {
                                      $api_instance->usersPost();
                                  } catch (Exception $e) {
                                      echo 'Exception when calling UsersApi->usersPost: ', $e->getMessage(), PHP_EOL;
                                  }
                                  ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UsersApi;

my $api_instance = WWW::SwaggerClient::UsersApi->new();

eval {
                                      $api_instance->usersPost();
                                  };
if ($@) {
                                      warn "Exception when calling UsersApi->usersPost: $@\n";
                                  }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.UsersApi()

try:
    # Create a User
    api_instance.users_post()
except ApiException as e:
    print("Exception when calling UsersApi->usersPost: %s\n" % e)

Parameters

Responses

Status: 200 - OK