Download OpenAPI specification:Download
An open RESTful API for Cirrus 2 integration
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string This field can not be empty. | 
| alt_name | string | 
| typeid required | integer | 
| number | string | 
| userid required | integer | 
| alternateuserid | integer | 
| phone | string | 
| cellphone | string | 
| fax | string | 
| string | |
| url | string | 
| vatno | string | 
| active | integer | 
| info | string | 
| socialmedia_fb | string | 
| socialmedia_tw | string | 
| socialmedia_li | string | 
| uservisitintervalweeks | integer | 
| alternateuservisitintervalweeks | integer | 
| parentaccountid | integer | 
| object (Addresses)  | |
| Array of objects (AccountGroup)  | |
| externalkey | string | 
| Array of objects (IdObject)  | |
| potentialid | integer | 
{- "name": "string",
- "alt_name": "string",
- "typeid": 0,
- "number": "string",
- "userid": 0,
- "alternateuserid": 0,
- "phone": "string",
- "cellphone": "string",
- "fax": "string",
- "email": "string",
- "url": "string",
- "vatno": "string",
- "active": 0,
- "info": "string",
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "uservisitintervalweeks": 0,
- "alternateuservisitintervalweeks": 0,
- "parentaccountid": 0,
- "addresses": {- "visiting": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "delivery": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "invoice": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "postal": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 }
 },
- "accountgroups": [- {- "id": 0,
- "name": "string"
 }
 ],
- "externalkey": "string",
- "tags": [- {- "id": 0
 }
 ],
- "potentialid": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| userid | integer id property of the user owning the account | 
| userids | string comma separated list of userids | 
| accountnumber | string number property of the account whith which the account takes place | 
| typeid | integer id property of the accountType | 
| typeids | integer comma separated list of typeids | 
| active | integer  Default:  1  Enum: 0 1 2  get active or inactive accounts, use the value 2 for both active and inactive | 
| name | string use % as a wildcard | 
| nearto | string will filter accounts based on proximty to supplied location {latitude, longitude} | 
| distance | string determines the proximity treshold for the nearto filter, treshold is in kilometers | 
| postal_city | string use % as a wildcard | 
| postal_street | string use % as a wildcard | 
| visitingaddress_city | string use % as a wildcard | 
| deliveryaddress_city | string use % as a wildcard | 
| invoiceaddress_city | string use % as a wildcard | 
| phone | string use % as a wildcard | 
| cellphone | string use % as a wildcard | 
| vatno | string use % as a wildcard | 
| externalkey | string | 
| followedby | integer id property of the user whose followed accounts are queried | 
| missionid | integer | 
| missionresult | integer  Enum: 0 1  only shows accounts connected to missionid with result 1/0 | 
| activity | integer  Enum: 0 1  Show accounts with at least one activity. use activity_* for more activity predicates | 
| activity_user | integer Show accounts with at least one activity where this user is responsible. Only in effect when activity=1. | 
| activity_closed | integer  Enum: 0 1  Show accounts with at least one (non-)closed activity if set to true. Only in effect when activity=1. | 
| activity_type | integer Show accounts with at least one activity of this type. Only in effect when activity=1. | 
| fulltext | string this property will be used in a search in name, alt_name, number, phone, cellphone, email, vatno, postal_street, postal_city, postal_zip, visitingaddress_careof, visitingaddress_street, visitingaddress_zip, visitingaddress_city, deliveryaddress_name, deliveryaddress_street, deliveryaddress_zip, deliveryaddress_city, invoiceaddress_name, invoiceaddress_street, invoiceaddress_zip, invoiceaddress_city | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "number_asc" "number_desc" "userid_asc" "userid_desc" "postaladdress_number_asc" "postaladdress_number_desc" "postaladdress_odd_asc" "postaladdress_odd_desc" "postaladdress_even_asc" "postaladdress_even_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "phone": "string",
- "cellphone": "string",
- "fax": "string",
- "email": "string",
- "url": "string",
- "vatno": "string",
- "active": 0,
- "info": "string",
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "department": "string",
- "externalkey": "string",
- "uservisitintervalweeks": 0,
- "alternateuservisitintervalweeks": 0,
- "addresses": {- "visiting": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "delivery": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "invoice": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "postal": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 }
 },
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "type": {- "id": 0,
- "name": "string"
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "parentaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "contacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "primary": 0,
- "title": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "accountgroups": [- {- "id": 0,
- "name": "string"
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "alternateuserid": "string",
- "alternateuser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "potentialid": 0
 }
 ]
 }
]| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg} | 
| userid | integer id property of the user owning the account | 
| userids | string comma separated list of userids | 
| accountnumber | string number property of the account whith which the account takes place | 
| typeid | integer id property of the accountType | 
| typeids | integer comma separated list of typeids | 
| active | integer  Default:  1  Enum: 0 1  get active or inactive accounts | 
| name | string use % as a wildcard | 
| nearto | string will filter accounts based on proximty to supplied location {latitude, longitude} | 
| distance | string determines the proximity treshold for the nearto filter, treshold is in kilometers | 
| postal_city | string use % as a wildcard | 
| visitingaddress_city | string use % as a wildcard | 
| deliveryaddress_city | string use % as a wildcard | 
| invoiceaddress_city | string use % as a wildcard | 
| phone | string use % as a wildcard | 
| cellphone | string use % as a wildcard | 
| vatno | string use % as a wildcard | 
| externalkey | string | 
| followedby | integer id property of the user whose followed accounts are queried | 
| fulltext | string this property will be used in a search in name, alt_name, number, phone, cellphone, email, vatno, postal_street, postal_city, postal_zip, visitingaddress_careof, visitingaddress_street, visitingaddress_zip, visitingaddress_city, deliveryaddress_name, deliveryaddress_street, deliveryaddress_zip, deliveryaddress_city, invoiceaddress_name, invoiceaddress_street, invoiceaddress_zip, invoiceaddress_city | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "number_asc" "number_desc" "userid_asc" "userid_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "accountid": 0,
- "addresstype": "string",
- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
{- "id": 0,
- "name": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| accountid | integer this property will filter all accountgroups by accountid | 
| fulltext | string this property will be used in a search in name | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string"
 }
 ]
 }
]Use this method to change root level properties of an accountgroup.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
{- "id": 0,
- "name": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
{- "id": 0,
- "name": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string"
 }
 ]
 }
]Use this method to change root level properties of an accountpotential.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
{- "id": 0,
- "name": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "defaulttab": "string",
- "sortorder": 0,
- "isdefault": 0,
- "turnover_from": 0,
- "turnover_to": 0,
- "turnoverpotential_from": 0,
- "turnoverpotential_to": 0,
- "turnover_volume1from": 0,
- "turnover_volume1to": 0,
- "turnover_volume2from": 0,
- "turnover_volume2to": 0,
- "turnoverpotential_volume1from": 0,
- "turnoverpotential_volume1to": 0,
- "turnoverpotential_volume2from": 0,
- "turnoverpotential_volume2to": 0,
- "typeiscustomer": 0,
- "typeisprospect": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| accountid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| budget | integer The budget assiged to the account for the year/month period. | 
{- "budget": 0
}| accountid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| accountid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "year": 0,
- "month": 0,
- "budget": 0
}Use this method to change root level properties of an account.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| alt_name | string | 
| typeid | integer | 
| number | string | 
| userid | integer | 
| alternateuserid | integer | 
| phone | string | 
| cellphone | string | 
| fax | string | 
| string | |
| url | string | 
| vatno | string | 
| active | integer | 
| info | string | 
| socialmedia_fb | string | 
| socialmedia_tw | string | 
| socialmedia_li | string | 
| uservisitintervalweeks | integer | 
| alternateuservisitintervalweeks | integer | 
| parentaccountid | integer | 
| object (Addresses)  | |
| Array of objects (AccountGroup)  | |
| externalkey | string | 
| Array of objects (IdObject)  | |
| potentialid | integer or null | 
{- "name": "string",
- "alt_name": "string",
- "typeid": 0,
- "number": "string",
- "userid": 0,
- "alternateuserid": 0,
- "phone": "string",
- "cellphone": "string",
- "fax": "string",
- "email": "string",
- "url": "string",
- "vatno": "string",
- "active": 0,
- "info": "string",
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "uservisitintervalweeks": 0,
- "alternateuservisitintervalweeks": 0,
- "parentaccountid": 0,
- "addresses": {- "visiting": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "delivery": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "invoice": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "postal": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 }
 },
- "accountgroups": [- {- "id": 0,
- "name": "string"
 }
 ],
- "externalkey": "string",
- "tags": [- {- "id": 0
 }
 ],
- "potentialid": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "phone": "string",
- "cellphone": "string",
- "fax": "string",
- "email": "string",
- "url": "string",
- "vatno": "string",
- "active": 0,
- "info": "string",
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "department": "string",
- "externalkey": "string",
- "uservisitintervalweeks": 0,
- "alternateuservisitintervalweeks": 0,
- "addresses": {- "visiting": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "delivery": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "invoice": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 },
- "postal": {- "careof": "nullable string",
- "name": "nullable string",
- "street": "nullable string",
- "zip": "nullable string",
- "city": "nullable string",
- "country": "nullable string",
- "email": "nullable string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 },
- "number": "nullable string",
- "letter": "nullable string"
 }
 },
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "type": {- "id": 0,
- "name": "string"
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "parentaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "contacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "primary": 0,
- "title": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "accountgroups": [- {- "id": 0,
- "name": "string"
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "alternateuserid": "string",
- "alternateuser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "potentialid": 0
}| target required | integer | 
| source required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer The unique identifier of an Activity | 
| object (ListedAccount)  | |
| accountid required | integer The unique identifier of the Account to which the Activity belongs | 
| closed | integer Is the Activity closed or open | 
| Array of objects (ActivityAttempt)  | |
| description required | string The description of the Activity | 
| date | string <date>  Date for when the Activity is scheduled | 
| extrasexternalid | integer | 
| Array of objects (ListedFile)  | |
| Array of objects (ListedUser)  | |
| Array of objects (ListedUser)  | |
| Array of objects (ListedContact)  | |
| location required | string Location of the activity | 
| required | object (PrimaryContact)  | 
| object (ActivityPriority)  | |
| object (ProgressionState)  | |
| object (ListedOpportunity)  | |
| object (ActivityReminder)  | |
| start | string <date-time>  The time when the Activity starts | 
| starttime | string The time when the Activity starts | 
| stop | string <date-time>  End time of the Activity | 
| stoptime | string End time of the Activity | 
| result required | string | 
| required | object (ListedActivityType)  | 
| Array of objects (ListedUser)  | |
| userid required | integer The unique identifier of the owning User | 
| Array of objects (ActivityTypeAnswer)  | |
| externalkey | string | 
| Array of objects (Tag)  | 
{- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "accountid": 0,
- "closed": 0,
- "contactattempts": [- {- "id": 0,
- "note": "string",
- "timestamp": "string",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "description": "string",
- "date": "2019-08-24",
- "extrasexternalid": 0,
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedusers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedcontacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "location": "string",
- "primarycontact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "title": "string"
 },
- "priority": {- "id": 0,
- "description": "string"
 },
- "progressionstate": {- "id": 0,
- "name": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "reminder": {- "text": "string",
- "min": 0,
- "done": 0
 },
- "start": "2019-01-25T00:00:00.000Z",
- "starttime": "string",
- "stop": "2019-01-25T00:00:00.000Z",
- "stoptime": "string",
- "result": "string",
- "type": {- "id": 0,
- "name": "string"
 },
- "user": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "userid": 0,
- "answers": [- {- "questionid": 0
 }
 ],
- "externalkey": "string",
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| accountid | integer id property of the account with which the appointment takes place | 
| accounttypeids | string Comma separated list of AccountType.id whose contacts are queried | 
| accountuserids | string Comma separated list of User.id of the user responsible for the Accounts whose contacts are queried | 
| date | string date formatted(YYYY-MM-DD) for when the appointment takes place | 
| startdate | string date formatted(YYYY-MM-DD) start of a date range for appointments | 
| enddate | string date formatted(YYYY-MM-DD) end of a date range for appointments | 
| closed | integer  Enum: 0 1  get open or closed appointments | 
| userid | integer id property of the user owning the appointment | 
| userids | string comma separated list of userids | 
| missionids | string comma separated list of missionids | 
| typeid | integer id property of the AppointmentType | 
| typeids | string comma separated list of typeids | 
| contactid | integer id property of the contact with which the appointment takes place | 
| opportunityid | integer id property of the opportunity to which the appointment belongs | 
| location | string use % as a wildcard | 
| description | string use % as a wildcard | 
| progressionstateid | integer id propterty of the ProgressionState object | 
| followedby | integer id property of the user whose followed activities are queried | 
| fulltext | string this property will be used in a search in description, date, result and location | 
| sorting required | string  Default:  "date_desc"  Enum: "date_asc" "date_desc" "account_asc" "account_desc" "userid_asc" "userid_desc"  | 
| externalkey | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "accountid": 0,
- "closed": 0,
- "contactattempts": [- {- "id": 0,
- "note": "string",
- "timestamp": "string",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "description": "string",
- "date": "2019-08-24",
- "extrasexternalid": 0,
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedusers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedcontacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "location": "string",
- "primarycontact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "title": "string"
 },
- "priority": {- "id": 0,
- "description": "string"
 },
- "progressionstate": {- "id": 0,
- "name": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "reminder": {- "text": "string",
- "min": 0,
- "done": 0
 },
- "start": "2019-01-25T00:00:00.000Z",
- "starttime": "string",
- "stop": "2019-01-25T00:00:00.000Z",
- "stoptime": "string",
- "result": "string",
- "type": {- "id": 0,
- "name": "string"
 },
- "user": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "userid": 0,
- "answers": [- {- "questionid": 0
 }
 ],
- "externalkey": "string",
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg} | 
| accountid | integer id property of the account with which the appointment takes place | 
| accounttypeids | string Comma separated list of AccountType.id whose contacts are queried | 
| accountuserids | string Comma separated list of User.id of the user responsible for the Accounts whose contacts are queried | 
| date | string date formatted(YYYY-MM-DD) for when the appointment takes place | 
| startdate | string date formatted(YYYY-MM-DD) start of a date range for appointments | 
| enddate | string date formatted(YYYY-MM-DD) end of a date range for appointments | 
| closed | integer  Enum: 0 1  get open or closed appointments | 
| userid | integer id property of the user owning the appointment | 
| userids | string comma separated list of userids | 
| typeid | integer id property of the AppointmentType | 
| typeids | string comma separated list of typeids | 
| contactid | integer id property of the contact with which the appointment takes place | 
| opportunityid | integer id property of the opportunity to which the appointment belongs | 
| location | string use % as a wildcard | 
| description | string use % as a wildcard | 
| progressionstateid | integer id propterty of the ProgressionState object | 
| followedby | integer id property of the user whose followed activities are queried | 
| fulltext | string this property will be used in a search in description, date, result and location | 
| sorting required | string  Default:  "date_desc"  Enum: "date_asc" "date_desc" "account_asc" "account_desc" "userid_asc" "userid_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "activityid": 0,
- "addresstype": "string",
- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "value": 0,
- "icon": 0,
- "sortorder": 0,
- "default": 0,
- "quick": 0,
- "defaultdescription": "string",
- "defaultresult": "string",
- "userfollowups": 0,
- "alternateuserfollowups": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "value": 0,
- "icon": 0,
- "sortorder": 0,
- "default": 0,
- "quick": 0,
- "defaultdescription": "string",
- "defaultresult": "string",
- "userfollowups": 0,
- "alternateuserfollowups": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "question": "string",
- "activitytypeid": 0,
- "sortorder": 0
 }
]Use this method to change root level properties of an activity.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| value | integer | 
| icon | integer | 
| sortorder | integer | 
| default | integer | 
| quick | integer | 
| defaultdescription | string | 
| defaultresult | string | 
| userfollowups | integer | 
| alternateuserfollowups | integer | 
{- "id": 0,
- "name": "string",
- "value": 0,
- "icon": 0,
- "sortorder": 0,
- "default": 0,
- "quick": 0,
- "defaultdescription": "string",
- "defaultresult": "string",
- "userfollowups": 0,
- "alternateuserfollowups": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "value": 0,
- "icon": 0,
- "sortorder": 0,
- "default": 0,
- "quick": 0,
- "defaultdescription": "string",
- "defaultresult": "string",
- "userfollowups": 0,
- "alternateuserfollowups": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}Use this method to change root level properties of an activity.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| closed | integer Is the Activity closed or open | 
| date | string <date>  Date 'YYYY-MM-DD' for when the Activity is scheduled | 
| description | string The description of the Activity | 
| location | string Location of the activity | 
| result | string | 
| starttime | string The time 'HH:MM' when the Activity starts | 
| stoptime | string End time 'HH:MM' of the Activity | 
| typeid | integer The unique id for the ActivityType for the Activity | 
| opportunityid | integer | 
| userid | integer The unique identifier of the owning User | 
| object Optional way of providing user owning the activity | |
| object (PrimaryContact)  | |
| Array of objects (ListedUser)  | |
| Array of objects (ListedContact)  | |
| Array of objects (ActivityTypeAnswer)  | |
| Array of objects (IdObject)  | 
{- "closed": 0,
- "date": "2019-08-24",
- "description": "string",
- "location": "string",
- "result": "string",
- "starttime": "string",
- "stoptime": "string",
- "typeid": 0,
- "opportunityid": 0,
- "userid": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "primarycontact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "title": "string"
 },
- "invitedusers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedcontacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "answers": [- {- "questionid": 0
 }
 ],
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "accountid": 0,
- "closed": 0,
- "contactattempts": [- {- "id": 0,
- "note": "string",
- "timestamp": "string",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "description": "string",
- "date": "2019-08-24",
- "extrasexternalid": 0,
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedusers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "invitedcontacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "location": "string",
- "primarycontact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "title": "string"
 },
- "priority": {- "id": 0,
- "description": "string"
 },
- "progressionstate": {- "id": 0,
- "name": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "reminder": {- "text": "string",
- "min": 0,
- "done": 0
 },
- "start": "2019-01-25T00:00:00.000Z",
- "starttime": "string",
- "stop": "2019-01-25T00:00:00.000Z",
- "stoptime": "string",
- "result": "string",
- "type": {- "id": 0,
- "name": "string"
 },
- "user": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "userid": 0,
- "answers": [- {- "questionid": 0
 }
 ],
- "externalkey": "string",
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| externalkey | string | 
| sortorder | integer  Default:  0 | 
{- "id": 0,
- "name": "string",
- "externalkey": "string",
- "sortorder": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| externalkey | string | 
| name | string this property will match groups with a name that begins with the supplied text | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "id_asc" "id_desc" "sort_asc" "sort_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "externalkey": "string"
 }
 ]
 }
]Use this method to change root level properties of an articlegroup.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| externalkey | string | 
| sortorder | integer  Default:  0 | 
{- "id": 0,
- "name": "string",
- "externalkey": "string",
- "sortorder": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "externalkey": "string",
- "sortorder": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| price required | number | 
| description required | string | 
| warehousestatusid | integer | 
| businessareaid | integer | 
| servicelevelid | integer | 
| warehouseid | integer | 
| unitid | integer | 
| groupid | integer | 
| number | string | 
| buyprice | number | 
| commision | number | 
| externalkey | string | 
| imageurl | string | 
| url1 | string | 
| url2 | string | 
| stockbalance | integer | 
| vat required | number | 
| accountid | integer | 
| suppliername | string | 
| supplierarticlenumber | string | 
| stockbalancewarningtreshold | integer | 
| brandid | integer | 
| materialid | integer | 
| incampaign | integer | 
| volume | integer | 
| area | number | 
| volumegroupid | integer | 
| discountgroupid | integer | 
| budgetgroupid | integer | 
| active | integer | 
| presentation | string | 
| discount | number | 
| sortorder | integer  Default:  0 | 
| Array of objects (IdObject)  | 
{- "name": "string",
- "price": 0,
- "description": "string",
- "warehousestatusid": 0,
- "businessareaid": 0,
- "servicelevelid": 0,
- "warehouseid": 0,
- "unitid": 0,
- "groupid": 0,
- "number": "string",
- "buyprice": 0,
- "commision": 0,
- "externalkey": "string",
- "imageurl": "string",
- "url1": "string",
- "url2": "string",
- "stockbalance": 0,
- "vat": 0,
- "accountid": 0,
- "suppliername": "string",
- "supplierarticlenumber": "string",
- "stockbalancewarningtreshold": 0,
- "brandid": 0,
- "materialid": 0,
- "incampaign": 0,
- "volume": 0,
- "area": 0,
- "volumegroupid": 0,
- "discountgroupid": 0,
- "budgetgroupid": 0,
- "active": 0,
- "presentation": "string",
- "discount": 0,
- "sortorder": 0,
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| number | string query articles by number | 
| groupid | string query articles by id property of the ArticleGroup | 
| active | integer  Enum: 0 1  get active or inactive articles | 
| supplierarticlenumber | string get active or inactive articles | 
| warehousestatusid | integer | 
| businessareaid' | integer | 
| servicelevelid | integer | 
| warehouseid | integer | 
| unitid | integer | 
| externalkey | string | 
| brandid | integer | 
| materialid | integer | 
| volumegroupid | integer | 
| discountgroupid | integer | 
| budgetgroupid | integer | 
| missionid | integer | 
| fulltext | string this property will be used in a search in title, description and result | 
| sorting required | string  Default:  "number_asc"  Enum: "name_asc" "name_desc" "number_asc" "number_desc" "suppliername_asc" "suppliername_desc" "supplierarticlenumber_asc" "supplierarticlenumber_desc" "externalkey_asc" "externalkey_desc" "sort_asc" "sort_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "price": 0,
- "description": "string",
- "warehousestatusid": 0,
- "businessareaid": 0,
- "servicelevelid": 0,
- "warehouseid": 0,
- "unitid": 0,
- "groupid": 0,
- "number": "string",
- "buyprice": 0,
- "commision": 0,
- "externalkey": "string",
- "imageurl": "string",
- "url1": "string",
- "url2": "string",
- "stockbalance": 0,
- "vat": 0,
- "accountid": 0,
- "suppliername": "string",
- "supplierarticlenumber": "string",
- "stockbalancewarningtreshold": 0,
- "brandid": 0,
- "materialid": 0,
- "incampaign": 0,
- "volume": 0,
- "area": 0,
- "volumegroupid": 0,
- "discountgroupid": 0,
- "budgetgroupid": 0,
- "active": 0,
- "presentation": "string",
- "discount": 0,
- "sortorder": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "externalkey": "string",
- "sortorder": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "externalkey": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]Use this method to change root level properties of a article.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| price required | number | 
| description required | string | 
| warehousestatusid | integer | 
| businessareaid | integer | 
| servicelevelid | integer | 
| warehouseid | integer | 
| unitid | integer | 
| groupid | integer | 
| number | string | 
| buyprice | number | 
| commision | number | 
| externalkey | string | 
| imageurl | string | 
| url1 | string | 
| url2 | string | 
| stockbalance | integer | 
| vat required | number | 
| accountid | integer | 
| suppliername | string | 
| supplierarticlenumber | string | 
| stockbalancewarningtreshold | integer | 
| brandid | integer | 
| materialid | integer | 
| incampaign | integer | 
| volume | integer | 
| area | number | 
| volumegroupid | integer | 
| discountgroupid | integer | 
| budgetgroupid | integer | 
| active | integer | 
| presentation | string | 
| discount | number | 
| sortorder | integer  Default:  0 | 
| Array of objects (IdObject)  | 
{- "name": "string",
- "price": 0,
- "description": "string",
- "warehousestatusid": 0,
- "businessareaid": 0,
- "servicelevelid": 0,
- "warehouseid": 0,
- "unitid": 0,
- "groupid": 0,
- "number": "string",
- "buyprice": 0,
- "commision": 0,
- "externalkey": "string",
- "imageurl": "string",
- "url1": "string",
- "url2": "string",
- "stockbalance": 0,
- "vat": 0,
- "accountid": 0,
- "suppliername": "string",
- "supplierarticlenumber": "string",
- "stockbalancewarningtreshold": 0,
- "brandid": 0,
- "materialid": 0,
- "incampaign": 0,
- "volume": 0,
- "area": 0,
- "volumegroupid": 0,
- "discountgroupid": 0,
- "budgetgroupid": 0,
- "active": 0,
- "presentation": "string",
- "discount": 0,
- "sortorder": 0,
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "price": 0,
- "description": "string",
- "warehousestatusid": 0,
- "businessareaid": 0,
- "servicelevelid": 0,
- "warehouseid": 0,
- "unitid": 0,
- "groupid": 0,
- "number": "string",
- "buyprice": 0,
- "commision": 0,
- "externalkey": "string",
- "imageurl": "string",
- "url1": "string",
- "url2": "string",
- "stockbalance": 0,
- "vat": 0,
- "accountid": 0,
- "suppliername": "string",
- "supplierarticlenumber": "string",
- "stockbalancewarningtreshold": 0,
- "brandid": 0,
- "materialid": 0,
- "incampaign": 0,
- "volume": 0,
- "area": 0,
- "volumegroupid": 0,
- "discountgroupid": 0,
- "budgetgroupid": 0,
- "active": 0,
- "presentation": "string",
- "discount": 0,
- "sortorder": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| externalkey | string | 
{- "id": 0,
- "name": "string",
- "externalkey": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| externalkey | string | 
| name | string this property will match units with a name that begins with the supplied text | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "id_asc" "id_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "externalkey": "string"
 }
 ]
 }
]Use this method to change root level properties of an articleunit.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| externalkey | string | 
{- "id": 0,
- "name": "string",
- "externalkey": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "externalkey": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string This field must not be empty. | 
| surname required | string This field must not be empty. | 
| function | string | 
| department | string | 
| string | |
| officephone | string | 
| cellphone | string | 
| info | string | 
| title | string | 
| street | string | 
| city | string | 
| zip | string | 
| accountid required | integer | 
| primarycontact | integer | 
| socialmedia_fb | string | 
| socialmedia_tw | string | 
| socialmedia_li | string | 
| idnumber | string | 
| externalkey | string | 
| active | integer | 
| superiorid | integer | 
| Array of objects (IdObject)  | 
{- "name": "string",
- "surname": "string",
- "function": "string",
- "department": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "info": "string",
- "title": "string",
- "street": "string",
- "city": "string",
- "zip": "string",
- "accountid": 0,
- "primarycontact": 0,
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "idnumber": "string",
- "externalkey": "string",
- "active": 0,
- "superiorid": 0,
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| accountid | integer Contact.id with which the Contact takes place | 
| accounttypeids | string Comma separated list of AccountType.id whose contacts are queried | 
| accountuserids | string Comma separated list of User.id of the user responsible for the Accounts whose contacts are queried | 
| active | integer  Enum: 0 1  get active or inactive contacts | 
| cellphone | string use % as a wildcard | 
| city | string use % as a wildcard | 
| string use % as a wildcard | |
| externalkey | string | 
| followedby | integer User.id whose followed accounts are queried | 
| fulltext | string this property will be used in a search in name, surname, email, officephone, cellphone, title, idnumber, street, city, zip | 
| name | string use % as a wildcard | 
| officephone | string use % as a wildcard | 
| surname | string use % as a wildcard | 
| title | string use % as a wildcard | 
| primarycontact | integer  Enum: 0 1  get marked as primarycontact or not primarycontact contacts | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "surname_asc" "surname_desc" "email_asc" "email_desc" "primarycontact_asc" "primarycontact_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "name": "string",
- "surname": "string",
- "function": "string",
- "department": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "title": "string",
- "street": "string",
- "city": "string",
- "zip": "string",
- "primarycontact": 0,
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "idnumber": "string",
- "externalkey": "string",
- "active": 0,
- "info": "string",
- "superior": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "photo": {- "avatar": "string",
- "photo": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}Use this method to change root level properties of a contact.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| surname | string | 
| function | string | 
| department | string | 
| string | |
| officephone | string | 
| cellphone | string | 
| info | string | 
| title | string | 
| street | string | 
| city | string | 
| zip | string | 
| primarycontact | integer | 
| socialmedia_fb | string | 
| socialmedia_tw | string | 
| socialmedia_li | string | 
| idnumber | string | 
| externalkey | string | 
| active | integer | 
| superiorid | integer | 
| Array of objects (IdObject)  | 
{- "name": "string",
- "surname": "string",
- "function": "string",
- "department": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "info": "string",
- "title": "string",
- "street": "string",
- "city": "string",
- "zip": "string",
- "primarycontact": 0,
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "idnumber": "string",
- "externalkey": "string",
- "active": 0,
- "superiorid": 0,
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "name": "string",
- "surname": "string",
- "function": "string",
- "department": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "title": "string",
- "street": "string",
- "city": "string",
- "zip": "string",
- "primarycontact": 0,
- "socialmedia_fb": "string",
- "socialmedia_tw": "string",
- "socialmedia_li": "string",
- "idnumber": "string",
- "externalkey": "string",
- "active": 0,
- "info": "string",
- "superior": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "photo": {- "avatar": "string",
- "photo": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
| externalkey required | string | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| default | integer | 
| externalkey | string | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "id_asc" "id_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string"
 }
 ]
 }
]Use this method to change root level properties of an deliveryterm.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
| externalkey required | string | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
{- "id": 0,
- "name": "string",
- "default": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| default | integer | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "id_asc" "id_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "default": 0
 }
 ]
 }
]Use this method to change root level properties of an deliverytype.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
{- "id": 0,
- "name": "string",
- "default": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "default": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| groups | Array of strings comma separated list of groups [account, contact, order, opportunity, article] | 
| typeid | integer | 
| fieldname | string | 
| sorting required | string  Default:  "sorting_asc"  Enum: "name_asc" "name_desc" "sorting_asc" "sorting_desc" "groupname_asc" "groupname_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "group": "string",
- "sortorder": 0,
- "size": 0,
- "help": "string",
- "required": true,
- "inoverview": true,
- "visible": true,
- "readonly": true,
- "options": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "type": {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 },
- "fieldgroup": {- "id": 0,
- "name": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "selected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "unselected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ]
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "group": "string",
- "sortorder": 0,
- "size": 0,
- "help": "string",
- "required": true,
- "inoverview": true,
- "visible": true,
- "readonly": true,
- "options": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "type": {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 },
- "fieldgroup": {- "id": 0,
- "name": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "selected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "unselected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| resourcetype required | string  Enum: "account" "contact" "order" "quote" "opportunity" "activity" "article"  | 
| resourceid required | integer | 
| fieldname | string | 
| fieldids | Array of integers | 
| sorting required | string  Default:  "sorting_asc"  Enum: "name_asc" "name_desc" "sorting_asc" "sorting_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "required": true,
- "inoverview": true,
- "visible": true,
- "readonly": true,
- "selected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "unselected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "type": {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 },
- "value": "string"
 }
 ]
 }
]| fieldid required | integer | 
| resourceid required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| Array of objects (FieldType)  | |
| Array of objects (FieldType)  | |
| value | string | 
{- "selected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "unselected": [- {- "id": 0,
- "fieldid": 0,
- "label": "string",
- "sortorder": 0,
- "group": "string"
 }
 ],
- "value": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| info | string | 
| folderid | integer | 
| content required | string base64 representation of the file content. | 
| connectedactivities | Array of integers this is a list of Activity.id to which the file will be connected | 
| connectedaccounts | Array of integers this is a list of Account.id to which the file will be connected | 
| connectedcontacts | Array of integers this is a list of Contact.id to which the file will be connected | 
| connectedopportunities | Array of integers this is a list of Opportunity.id to which the file will be connected | 
| connectedorders | Array of integers this is a list of Order.id to which the file will be connected | 
| connectedleads | Array of integers this is a list of Lead.id to which the file will be connected | 
| connectedquotes | Array of integers this is a list of Quote.id to which the file will be connected | 
| connectedprojects | Array of integers this is a list of Project.id to which the file will be connected | 
| connectedobjects | Array of integers this is a list of Object.id to which the file will be connected | 
| connectedusers | Array of integers this is a list of User.id to which the file will be connected | 
| connectedarticles | Array of integers this is a list of Article.id to which the file will be connected | 
| connectedmissions | Array of integers this is a list of Mission.id to which the file will be connected | 
| connectedsubscriptions | Array of integers this is a list of Subscription.id to which the file will be connected | 
{- "name": "string",
- "info": "string",
- "folderid": 0,
- "content": "string",
- "connectedactivities": [- 0
 ],
- "connectedaccounts": [- 0
 ],
- "connectedcontacts": [- 0
 ],
- "connectedopportunities": [- 0
 ],
- "connectedorders": [- 0
 ],
- "connectedleads": [- 0
 ],
- "connectedquotes": [- 0
 ],
- "connectedprojects": [- 0
 ],
- "connectedobjects": [- 0
 ],
- "connectedusers": [- 0
 ],
- "connectedarticles": [- 0
 ],
- "connectedmissions": [- 0
 ],
- "connectedsubscriptions": [- 0
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| activityid | integer | 
| articleid | integer | 
| accountid | integer | 
| contactid | integer | 
| opportunityid | integer | 
| quoteid | integer | 
| orderid | integer | 
| leadid | integer | 
| projectid | integer | 
| objectid | integer | 
| userid | integer | 
| missionid | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "info": "string",
- "timestamp": "string",
- "folderid": 0,
- "templateid": 0,
- "folder": {- "id": 0,
- "name": "string",
- "parentfolderid": 0
 },
- "template": {- "id": 0,
- "name": "string"
 },
- "activities": [- {- "id": 0,
- "description": "string",
- "date": "2019-08-24",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 }
 ],
- "accounts": [- {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 ],
- "contacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "opportunities": [- {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "connectedactivities": [- 0
 ],
- "connectedaccounts": [- 0
 ],
- "connectedcontacts": [- 0
 ],
- "connectedopportunities": [- 0
 ],
- "connectedorders": [- 0
 ],
- "connectedleads": [- 0
 ],
- "connectedquotes": [- 0
 ],
- "connectedprojects": [- 0
 ],
- "connectedobjects": [- 0
 ],
- "connectedusers": [- 0
 ],
- "connectedarticles": [- 0
 ],
- "connectedmissions": [- 0
 ],
- "connectedsubscriptions": [- 0
 ]
 }
 ]
 }
]| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| folderid | integer | 
| accountid | integer | 
| parentfolderid | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "parentfolderid": 0,
- "accountid": 0,
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "folders": [- {- "id": 0,
- "name": "string"
 }
 ]
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "parentfolderid": 0,
- "accountid": 0,
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "folders": [- {- "id": 0,
- "name": "string"
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| info | string | 
| folderid | integer | 
| content required | string base64 representation of the file content. | 
| connectedactivities | Array of integers this is a list of Activity.id to which the file will be connected | 
| connectedaccounts | Array of integers this is a list of Account.id to which the file will be connected | 
| connectedcontacts | Array of integers this is a list of Contact.id to which the file will be connected | 
| connectedopportunities | Array of integers this is a list of Opportunity.id to which the file will be connected | 
| connectedorders | Array of integers this is a list of Order.id to which the file will be connected | 
| connectedleads | Array of integers this is a list of Lead.id to which the file will be connected | 
| connectedquotes | Array of integers this is a list of Quote.id to which the file will be connected | 
| connectedprojects | Array of integers this is a list of Project.id to which the file will be connected | 
| connectedobjects | Array of integers this is a list of Object.id to which the file will be connected | 
| connectedusers | Array of integers this is a list of User.id to which the file will be connected | 
| connectedarticles | Array of integers this is a list of Article.id to which the file will be connected | 
| connectedmissions | Array of integers this is a list of Mission.id to which the file will be connected | 
| connectedsubscriptions | Array of integers this is a list of Subscription.id to which the file will be connected | 
{- "name": "string",
- "info": "string",
- "folderid": 0,
- "content": "string",
- "connectedactivities": [- 0
 ],
- "connectedaccounts": [- 0
 ],
- "connectedcontacts": [- 0
 ],
- "connectedopportunities": [- 0
 ],
- "connectedorders": [- 0
 ],
- "connectedleads": [- 0
 ],
- "connectedquotes": [- 0
 ],
- "connectedprojects": [- 0
 ],
- "connectedobjects": [- 0
 ],
- "connectedusers": [- 0
 ],
- "connectedarticles": [- 0
 ],
- "connectedmissions": [- 0
 ],
- "connectedsubscriptions": [- 0
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "info": "string",
- "timestamp": "string",
- "folderid": 0,
- "templateid": 0,
- "folder": {- "id": 0,
- "name": "string",
- "parentfolderid": 0
 },
- "template": {- "id": 0,
- "name": "string"
 },
- "activities": [- {- "id": 0,
- "description": "string",
- "date": "2019-08-24",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 }
 ],
- "accounts": [- {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 ],
- "contacts": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 }
 ],
- "opportunities": [- {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "connectedactivities": [- 0
 ],
- "connectedaccounts": [- 0
 ],
- "connectedcontacts": [- 0
 ],
- "connectedopportunities": [- 0
 ],
- "connectedorders": [- 0
 ],
- "connectedleads": [- 0
 ],
- "connectedquotes": [- 0
 ],
- "connectedprojects": [- 0
 ],
- "connectedobjects": [- 0
 ],
- "connectedusers": [- 0
 ],
- "connectedarticles": [- 0
 ],
- "connectedmissions": [- 0
 ],
- "connectedsubscriptions": [- 0
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| required | object (NewCahllengeUser)  | 
| startdate required | string <date-time>  | 
| object (ChallengeType)  | 
{- "challenged": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string"
 },
- "startdate": "2019-08-24T14:15:22Z",
- "type": {- "id": 0,
- "name": "string"
 }
}[- {- "id": 0,
- "active": 0,
- "challenged": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "challenger": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "created": { },
- "daysremaining": 0,
- "startdate": { },
- "stopdate": { },
- "type": {- "id": 0,
- "name": "string"
 },
- "winner": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
]| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| challengerid | integer Userid of the user who issued the challenge | 
| challengedid | integer userid of the challenged user | 
| typeid | integer | 
| winnerid | integer Userid of the user who won the challenge | 
| status required | string  Default:  "pending"  Enum: "pending" "unanswered" "ongoing" "won" "lost" "all" "closed"  | 
| datespan_start | string Start of date span formatted(YYYY-MM-DD) for filtering challenges that took place within this span | 
| datespan_end | string End of date span formatted(YYYY-MM-DD) for filtering challenges that took place within this span | 
| sorting required | string  Default:  "active_desc"  Enum: "active_asc" "active_desc" "type_asc" "type_desc" "winner_asc" "winner_desc" "challenger_asc" "challenger_desc" "challenged_asc" "challenged_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "active": 0,
- "challenged": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "challenger": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "created": { },
- "daysremaining": 0,
- "startdate": { },
- "stopdate": { },
- "type": {- "id": 0,
- "name": "string"
 },
- "winner": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "achievements": {- "day": 0,
- "week": 0,
- "month": 0
 },
- "category": "string",
- "heartbeat": 0,
- "level": 0,
- "score": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "active": 0,
- "challenged": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "challenger": {- "id": 0,
- "accepted": { },
- "challengeid": 0,
- "owner": true,
- "score": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "created": { },
- "daysremaining": 0,
- "startdate": { },
- "stopdate": { },
- "type": {- "id": 0,
- "name": "string"
 },
- "winner": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "status": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "status": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| object (LeadActivityType)  | |
| comment required | string | 
| object (LeadUser)  | |
| followup | string <date-time>  | 
| done required | integer | 
| created | string <date-time>  this will be ignored on PUT/POST requests | 
| updated | string <date-time>  this will be ignored on PUT/POST requests | 
| object (ListedLead)  | 
{- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| done | integer Filter Leads based on date of creation formatted(YYYY-MM-DD) | 
| typeid | integer | 
| leadid | integer | 
| userid | integer | 
| folowupdate | string | 
| comment | string | 
| sorting required | string  Default:  "done_asc"  Enum: "followupdate_asc" "followupdate_desc" "created_asc" "created_desc" "done_asc" "done_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
 }
 ]
 }
]Use this method to change root level properties of an leadactivity.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| object (LeadActivityType)  | |
| comment required | string | 
| object (LeadUser)  | |
| followup | string <date-time>  | 
| done required | integer | 
| created | string <date-time>  this will be ignored on PUT/POST requests | 
| updated | string <date-time>  this will be ignored on PUT/POST requests | 
| object (ListedLead)  | 
{- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| contacttitle | string | 
| contactname | string | 
| contactsurname | string | 
| contactcompany | string | 
| contactstreet | string | 
| contactcity | string | 
| contactzip | string | 
| contactphone | string | 
| contactcellphone | string | 
| contactemail | string | 
| contactvatno | string | 
| value | number | 
| created | string <date-time>  this will be ignored on PUT/POST requests | 
| updated | string <date-time>  this will be ignored on PUT/POST requests | 
| title | string | 
| description | string | 
| rating | integer | 
| object (LeadUser)  | |
| object (Source)  | |
| object (Status)  | |
| Array of objects (IdObject)  | 
{- "contacttitle": "string",
- "contactname": "string",
- "contactsurname": "string",
- "contactcompany": "string",
- "contactstreet": "string",
- "contactcity": "string",
- "contactzip": "string",
- "contactphone": "string",
- "contactcellphone": "string",
- "contactemail": "string",
- "contactvatno": "string",
- "value": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "title": "string",
- "description": "string",
- "rating": 0,
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| created | string Filter Leads based on date of creation formatted(YYYY-MM-DD) | 
| status | integer | 
| source | integer | 
| rating | integer | 
| fulltext | string | 
| userid | integer | 
| userids | string | 
| sorting required | string  Default:  "age_desc"  Enum: "age_asc" "age_desc" "statusid_asc" "statusid_desc" "userid_asc" "userid_desc" "sourceid_asc" "sourceid_desc" "value_asc" "value_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "contacttitle": "string",
- "contactname": "string",
- "contactsurname": "string",
- "contactcompany": "string",
- "contactstreet": "string",
- "contactcity": "string",
- "contactzip": "string",
- "contactphone": "string",
- "contactcellphone": "string",
- "contactemail": "string",
- "contactvatno": "string",
- "value": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "title": "string",
- "description": "string",
- "rating": 0,
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "activities": [- {- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
 }
 ]
 }
 ]
 }
]Use this method to change root level properties of an lead.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| contacttitle | string | 
| contactname | string | 
| contactsurname | string | 
| contactcompany | string | 
| contactstreet | string | 
| contactcity | string | 
| contactzip | string | 
| contactphone | string | 
| contactcellphone | string | 
| contactemail | string | 
| contactvatno | string | 
| value | number | 
| created | string <date-time>  this will be ignored on PUT/POST requests | 
| updated | string <date-time>  this will be ignored on PUT/POST requests | 
| title | string | 
| description | string | 
| rating | integer | 
| object (LeadUser)  | |
| object (Source)  | |
| object (Status)  | |
| Array of objects (IdObject)  | 
{- "contacttitle": "string",
- "contactname": "string",
- "contactsurname": "string",
- "contactcompany": "string",
- "contactstreet": "string",
- "contactcity": "string",
- "contactzip": "string",
- "contactphone": "string",
- "contactcellphone": "string",
- "contactemail": "string",
- "contactvatno": "string",
- "value": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "title": "string",
- "description": "string",
- "rating": 0,
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "contacttitle": "string",
- "contactname": "string",
- "contactsurname": "string",
- "contactcompany": "string",
- "contactstreet": "string",
- "contactcity": "string",
- "contactzip": "string",
- "contactphone": "string",
- "contactcellphone": "string",
- "contactemail": "string",
- "contactvatno": "string",
- "value": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "title": "string",
- "description": "string",
- "rating": 0,
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "activities": [- {- "id": 0,
- "type": {- "id": 0,
- "name": "string"
 },
- "comment": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string",
- "title": "nullable string",
- "email": "nullable string",
- "phone": "nullable string",
- "cellphone": "nullable string"
 },
- "followup": "2019-08-24T14:15:22Z",
- "done": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lead": {- "id": 0,
- "title": "string",
- "user": {- "id": 0,
- "name": "nullable string",
- "surname": "nullable string"
 }
 }
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| accountid required | integer | 
| altaccountid | integer | 
| contactid required | integer | 
| phone | string | 
| title required | string | 
| description required | string | 
| userid required | integer | 
| result | string | 
| value | number | 
| altvalue | string | 
| altvaluelabel | string | 
| statusid required | integer | 
| estimatedenddate required | string | 
| lostreasonid | integer | 
| typeid required | integer | 
| winreasonid | integer | 
| enddate | string <date>  2020-01-25 | 
| stateid | integer | 
| estimateid | integer | 
| sourceid | string | 
| closed | integer | 
| Array of objects (IdObject)  | 
{- "accountid": 0,
- "altaccountid": 0,
- "contactid": 0,
- "phone": "string",
- "title": "string",
- "description": "string",
- "userid": 0,
- "result": "string",
- "value": 0,
- "altvalue": "string",
- "altvaluelabel": "string",
- "statusid": 0,
- "estimatedenddate": "string",
- "lostreasonid": 0,
- "typeid": 0,
- "winreasonid": 0,
- "enddate": "2019-08-24",
- "stateid": 0,
- "estimateid": 0,
- "sourceid": "string",
- "closed": 0,
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| userid | integer id property of the Contact whith which the Contact takes place | 
| userids | string comma separated list of userids | 
| accountid | integer | 
| accounttypeids | string Comma separated list of AccountType.id whose contacts are queried | 
| accountuserids | string Comma separated list of User.id of the user responsible for the Accounts whose contacts are queried | 
| estimated_startdate | string Start of date span formatted(YYYY-MM-DD) for filtering via estimatedenddate | 
| estimated_enddate | string End of date span formatted(YYYY-MM-DD) for filtering via estimatedenddate | 
| actual_startdate | string Start of date span formatted(YYYY-MM-DD) for filtering via actual end date | 
| actual_enddate | string End of date span formatted(YYYY-MM-DD) for filtering via actual end date | 
| statusid | integer id propterty of the OpportunityStatus object | 
| statusids | string comma separated list of statusids | 
| estimateid | integer id propterty of the OpportunityEstimate object | 
| estimateids | string comma separated list of estimateids | 
| lostreasonid | integer id propterty of the OpportunityLost object | 
| winreasonid | integer id propterty of the OpportunityWin object | 
| contactid | integer id property of the contact with which the appointment takes place | 
| typeid | integer id propterty of the OpportunityType object | 
| closed | integer  Enum: 0 1  get open or closed opportunities | 
| progressionstateid | integer id propterty of the ProgressionState object | 
| description | string string to be matched against description | 
| followedby | integer id property of the user whose followed accounts are queried | 
| fulltext | string this property will be used in a search in title, description and result | 
| sorting required | string  Default:  "date_asc"  Enum: "date_asc" "date_desc" "account_asc" "account_desc" "userid_asc" "userid_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "accountid": 0,
- "altaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "altaccountid": 0,
- "altvalue": 0,
- "altvaluelabel": "string",
- "changedate": { },
- "changeuserid": 0,
- "changeuser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "closed": 0,
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "contactid": 0,
- "description": "string",
- "estimate": {- "id": 0,
- "description": "string",
- "sortorder": 0,
- "value": "string",
- "visible": 0
 },
- "estimatedenddate": "2020-01-25",
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "lostreason": {- "id": 0,
- "name": "string",
- "sortorder": 0
 },
- "lostreasonid": 0,
- "phone": "string",
- "progressionstate": {- "id": 0,
- "name": "string"
 },
- "regdate": { },
- "reguser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "reguserid": 0,
- "result": "string",
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "sourceid": 0,
- "state": {- "id": 0,
- "state": "string",
- "sortorder": 0
 },
- "stateid": 0,
- "status": {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 },
- "statusid": 0,
- "title": "string",
- "type": {- "id": 0,
- "isdefault": 0,
- "name": "string",
- "sortorder": 0,
- "validstatuses": {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 }
 },
- "typeid": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "userid": 0,
- "value": 0,
- "businessarea": {- "opportunityid": 0,
- "businessareaid": 0
 },
- "winreason": {- "id": 0,
- "name": "string",
- "sortorder": 0
 },
- "winreasonid": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "description": "string",
- "sortorder": 0,
- "value": "string",
- "visible": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "sortorder": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "default": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "isdefault": 0,
- "name": "string",
- "sortorder": 0,
- "validstatuses": {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 }
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| key required | integer | 
| userid required | integer | 
{- "key": 0,
- "userid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "sortorder": 0
 }
]Use this method to change root level properties of an opportunity.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| accountid required | integer | 
| altaccountid | integer | 
| contactid required | integer | 
| phone | string | 
| title required | string | 
| description required | string | 
| userid required | integer | 
| result | string | 
| value | number | 
| altvalue | string | 
| altvaluelabel | string | 
| statusid required | integer | 
| estimatedenddate required | string | 
| lostreasonid | integer | 
| typeid required | integer | 
| winreasonid | integer | 
| enddate | string <date>  2020-01-25 | 
| stateid | integer | 
| estimateid | integer | 
| sourceid | string | 
| closed | integer | 
| Array of objects (IdObject)  | 
{- "accountid": 0,
- "altaccountid": 0,
- "contactid": 0,
- "phone": "string",
- "title": "string",
- "description": "string",
- "userid": 0,
- "result": "string",
- "value": 0,
- "altvalue": "string",
- "altvaluelabel": "string",
- "statusid": 0,
- "estimatedenddate": "string",
- "lostreasonid": 0,
- "typeid": 0,
- "winreasonid": 0,
- "enddate": "2019-08-24",
- "stateid": 0,
- "estimateid": 0,
- "sourceid": "string",
- "closed": 0,
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "accountid": 0,
- "altaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "altaccountid": 0,
- "altvalue": 0,
- "altvaluelabel": "string",
- "changedate": { },
- "changeuserid": 0,
- "changeuser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "closed": 0,
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "contactid": 0,
- "description": "string",
- "estimate": {- "id": 0,
- "description": "string",
- "sortorder": 0,
- "value": "string",
- "visible": 0
 },
- "estimatedenddate": "2020-01-25",
- "files": [- {- "id": 0,
- "name": "string"
 }
 ],
- "followers": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ],
- "lostreason": {- "id": 0,
- "name": "string",
- "sortorder": 0
 },
- "lostreasonid": 0,
- "phone": "string",
- "progressionstate": {- "id": 0,
- "name": "string"
 },
- "regdate": { },
- "reguser": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "reguserid": 0,
- "result": "string",
- "source": {- "id": 0,
- "name": "string",
- "default": 0
 },
- "sourceid": 0,
- "state": {- "id": 0,
- "state": "string",
- "sortorder": 0
 },
- "stateid": 0,
- "status": {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 },
- "statusid": 0,
- "title": "string",
- "type": {- "id": 0,
- "isdefault": 0,
- "name": "string",
- "sortorder": 0,
- "validstatuses": {- "id": 0,
- "color": "string",
- "description": "string",
- "name": "string",
- "lost": 0,
- "opportunitytypeid": 0,
- "sortorder": 0,
- "sortorderplug": 0,
- "won": 0
 }
 },
- "typeid": 0,
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "userid": 0,
- "value": 0,
- "businessarea": {- "opportunityid": 0,
- "businessareaid": 0
 },
- "winreason": {- "id": 0,
- "name": "string",
- "sortorder": 0
 },
- "winreasonid": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| placedate required | string <_DateTime>  Date for when the order was placed, only the date part will be used | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| price | number | 
| currencycode | string | 
| currencyrate | number | 
| statisticsprice | number | 
| alternativevalue | number | 
| alternateid | string | 
| externalcomment | string | 
| delivered | integer | 
| deliverydate | string <_DateTime>  Date for when the order will be delivered, only the date part will be used | 
| deliveryname | string | 
| deliverystreet | string | 
| deliveryzip | string | 
| deliverycity | string | 
| deliverycountry | string | 
| invoicename | string | 
| invoicestreet | string | 
| invoicezip | string | 
| invoicecity | string | 
| invoicecountry | string | 
| invoiceemail | string | 
| invoicenumber | string | 
| invoicedate | string | 
| externalkey | string | 
| internalcomment | string | 
| marking | string | 
| referencecode | string | 
| extracode | string | 
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| Array of objects (IdObject)  | |
| Array of objects (OrderRow)  | 
{- "placedate": "2019-01-25T00:00:00.000Z",
- "account": {- "id": 0
 },
- "user": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "status": {- "id": 0
 },
- "deliveryterm": {- "id": 0
 },
- "paymentterm": {- "id": 0
 },
- "deliverytype": {- "id": 0
 },
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "alternateid": "string",
- "externalcomment": "string",
- "delivered": 0,
- "deliverydate": "2019-01-25T00:00:00.000Z",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "invoicename": "string",
- "invoicestreet": "string",
- "invoicezip": "string",
- "invoicecity": "string",
- "invoicecountry": "string",
- "invoiceemail": "string",
- "invoicenumber": "string",
- "invoicedate": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "user2": {- "id": 0
 },
- "opportunity": {- "id": 0
 },
- "type": {- "id": 0
 },
- "tags": [- {- "id": 0
 }
 ],
- "rows": [- {- "id": 0,
- "orderid": 0,
- "accountid": 0,
- "userid": 0,
- "opportunityid": 0,
- "quantityordered": 0,
- "quantitydelivered": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternatvievalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "externalkey": "nullable string",
- "noprint": 0,
- "deleted": 0,
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "sortgroup": 0,
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| number | string | 
| altnumber | string | 
| externalkey | string | 
| accountids | string | 
| statusids | string | 
| opportunityid | integer | 
| contactid | integer | 
| userids | string comma separated list of userids | 
| missionids | string comma separated list of missionids | 
| missionresult | integer  Enum: 0 1  only shows orders connected to missionid with result 1/0 | 
| datespan_start | string Start of date span formatted(YYYY-MM-DD) | 
| datespan_end | string End of date span formatted(YYYY-MM-DD) | 
| fulltext | string this property will be used in a search in internal and external comments | 
| typeids | string comma separated list of typeids | 
| accountresponsibleids | string comma separated list of accountresponsibleids | 
| accounttypeids | string comma separated list of accounttypeids | 
| sorting required | string  Default:  "placedate_desc"  Enum: "placedate_asc" "placedate_desc" "deliverydate_asc" "deliverydate_desc" "number_asc" "number_desc" "accountid_asc" "accountid_desc" "externalkey_asc" "externalkey_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25T00:00:00.000Z",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25T00:00:00.000Z",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "invoicename": "string",
- "invoicestreet": "string",
- "invoicezip": "string",
- "invoicecity": "string",
- "invoicecountry": "string",
- "invoiceemail": "string",
- "invoicenumber": "string",
- "invoicedate": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "user2": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "status": {- "id": 0,
- "name": "string"
 },
- "deliveryterm": {- "id": 0,
- "name": "string"
 },
- "paymentterm": {- "id": 0,
- "name": "string"
 },
- "deliverytype": {- "id": 0,
- "name": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "delivered": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "rows": [- {- "id": 0,
- "orderid": 0,
- "accountid": 0,
- "userid": 0,
- "opportunityid": 0,
- "quantityordered": 0,
- "quantitydelivered": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternatvievalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "externalkey": "nullable string",
- "noprint": 0,
- "deleted": 0,
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": null,
- "name": null,
- "unit": null,
- "min": null,
- "max": null
 },
- "article": {- "id": null,
- "name": null,
- "number": null
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "sortgroup": 0,
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
 ]
 }
]Use this method to change root level properties of an order.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| price | number | 
| currencycode | string | 
| currencyrate | number | 
| statisticsprice | number | 
| alternativevalue | number | 
| buyprice | number | 
| discounted | boolean | 
| placedate | string <_DateTime>  Date for when the order was placed, only the date part will be used | 
| alternateid | string | 
| externalcomment | string | 
| deliverydate | string <_DateTime>  Date for when the order will be delivered, only the date part will be used | 
| deliveryname | string | 
| deliverystreet | string | 
| deliveryzip | string | 
| deliverycity | string | 
| deliverycountry | string | 
| invoicename | string | 
| invoicestreet | string | 
| invoicezip | string | 
| invoicecity | string | 
| invoicecountry | string | 
| invoiceemail | string | 
| invoicenumber | string | 
| invoicedate | string | 
| externalkey | string | 
| internalcomment | string | 
| marking | string | 
| referencecode | string | 
| extracode | string | 
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| delivered | integer | 
| Array of objects (IdObject)  | |
| Array of objects (OrderRow)  | 
{- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25T00:00:00.000Z",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25T00:00:00.000Z",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "invoicename": "string",
- "invoicestreet": "string",
- "invoicezip": "string",
- "invoicecity": "string",
- "invoicecountry": "string",
- "invoiceemail": "string",
- "invoicenumber": "string",
- "invoicedate": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "account": {- "id": 0
 },
- "user": {- "id": 0
 },
- "user2": {- "id": 0
 },
- "opportunity": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "status": {- "id": 0
 },
- "deliveryterm": {- "id": 0
 },
- "paymentterm": {- "id": 0
 },
- "deliverytype": {- "id": 0
 },
- "type": {- "id": 0
 },
- "delivered": 0,
- "tags": [- {- "id": 0
 }
 ],
- "rows": [- {- "id": 0,
- "orderid": 0,
- "accountid": 0,
- "userid": 0,
- "opportunityid": 0,
- "quantityordered": 0,
- "quantitydelivered": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternatvievalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "externalkey": "nullable string",
- "noprint": 0,
- "deleted": 0,
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "sortgroup": 0,
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25T00:00:00.000Z",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25T00:00:00.000Z",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "invoicename": "string",
- "invoicestreet": "string",
- "invoicezip": "string",
- "invoicecity": "string",
- "invoicecountry": "string",
- "invoiceemail": "string",
- "invoicenumber": "string",
- "invoicedate": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "user2": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "status": {- "id": 0,
- "name": "string"
 },
- "deliveryterm": {- "id": 0,
- "name": "string"
 },
- "paymentterm": {- "id": 0,
- "name": "string"
 },
- "deliverytype": {- "id": 0,
- "name": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "delivered": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "rows": [- {- "id": 0,
- "orderid": 0,
- "accountid": 0,
- "userid": 0,
- "opportunityid": 0,
- "quantityordered": 0,
- "quantitydelivered": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternatvievalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "externalkey": "nullable string",
- "noprint": 0,
- "deleted": 0,
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "sortgroup": 0,
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| default | integer | 
| name required | string | 
| sortorder required | integer | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "sortorder": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| default | integer | 
| sortorder | integer | 
| sorting required | string  Default:  "sortorder_asc"  Enum: "name_asc" "name_desc" "sortorder_asc" "sortorder_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "default": 0,
- "name": "string",
- "sortorder": 0
 }
 ]
 }
]Use this method to change root level properties of an ordertype.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| default | integer | 
| name required | string | 
| sortorder required | integer | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "sortorder": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "sortorder": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
| externalkey required | string | 
| days required | integer | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string",
- "days": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| default | integer | 
| externalkey | string | 
| days | integer | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "days_asc" "days_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string",
- "days": 0
 }
 ]
 }
]Use this method to change root level properties of an paymentterm.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| default | integer | 
| externalkey required | string | 
| days required | integer | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string",
- "days": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "default": 0,
- "externalkey": "string",
- "days": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| active required | boolean | 
| start required | string <date-time>  | 
| stop required | string <date-time>  | 
| default required | boolean | 
| externalkey | string | 
| strict required | boolean | 
| description | string | 
| currencyid | integer | 
| required | Array of objects (ArticlePrice)  | 
{- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| active | integer | 
| start | string Start of date span formatted(YYYY-MM-DD) | 
| stop | string End of date span formatted(YYYY-MM-DD) | 
| default | integer | 
| accountid | integer | 
| accountnumber | string | 
| externalkey | string | 
| strict | integer | 
| currencyid | integer | 
| sorting required | string  Default:  "start_asc"  Enum: "name_asc" "name_desc" "start_asc" "start_desc" "active_asc" "active_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| required | object (ListedArticleUnit)  | 
| min required | integer | 
| max required | integer | 
{- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| unitid | integer | 
| quantity | integer | 
| sorting required | string  Default:  "quantity_asc"  Enum: "unitid_asc" "unitid_desc" "quantity_asc" "quantity_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 }
 ]
 }
]Use this method to change root level properties of an pricegroup.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| required | object (ListedArticleUnit)  | 
| min required | integer | 
| max required | integer | 
{- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
}Use this method to change root level properties of an pricelist.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| active required | boolean | 
| start required | string <date-time>  | 
| stop required | string <date-time>  | 
| default required | boolean | 
| externalkey | string | 
| strict required | boolean | 
| description | string | 
| currencyid | integer | 
| required | Array of objects (ArticlePrice)  | 
{- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| person_number required | string | 
{- "person_number": "string"
}{- "name": "string",
- "surname": "string",
- "street": "string",
- "city": "string",
- "zip": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| abstract required | string userVisibleData | 
| digest | string userNonVisibleData | 
| personalnumber | string personalNumber of the person supposed to sign | 
| requirement | object | 
| nonce | string | 
{- "abstract": "string",
- "digest": "string",
- "personalnumber": "string",
- "requirement": { },
- "nonce": "string"
}{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| person_number required | string  = 12 characters ^[0-9]{12}$ | 
{- "person_number": "stringstring"
}{- "person_number": "string",
- "status": "string",
- "correlationid": "string",
- "checkdate": "2019-08-24T14:15:22Z",
- "outcome": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| brandid | integer Filter models by brand | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string"
 }
]| modelid | integer Filter options by model | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "colours": {- "id": 0,
- "name": "string"
 },
- "sizes": {- "id": 0,
- "name": "string"
 }
}| modelid required | integer Filter phones | 
| colourid | integer Filter phones | 
| sizeid | integer Filter by size | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "id": 0,
- "name": "string",
- "description": "string",
- "price": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| active | integer | 
| cellphone required | string | 
| Array of objects (Department1)  | |
| string | |
| id | integer | 
| language | string | 
| lastactive | object | 
| name required | string | 
| phone | string | 
| presentation | string | 
| startpage | integer DEPRECATED | 
| surname required | string | 
| title required | string | 
| avatar_b64 | string | 
| photo_b64 | string | 
| Array of objects (UserSetting)  | |
| required | Array of objects (Role)  | 
| Array of objects (Tag)  | 
{- "active": 0,
- "cellphone": "string",
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "email": "string",
- "id": 0,
- "language": "string",
- "lastactive": { },
- "name": "string",
- "phone": "string",
- "presentation": "string",
- "startpage": 0,
- "surname": "string",
- "title": "string",
- "avatar_b64": "string",
- "photo_b64": "string",
- "settings": [- {- "id": 0,
- "key": "string",
- "value": "string",
- "userid": 0
 }
 ],
- "roles": [- {- "id": 0,
- "name": "string"
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| active | integer | 
| code | string Filter users matching the external system code | 
| fulltext | string this property will be used in a search in name, surname, and email | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "active_asc" "active_desc" "surname_asc" "surname_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "active": 0,
- "cellphone": "string",
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": null,
- "name": null,
- "surname": null,
- "title": null,
- "email": null,
- "phone": null,
- "cellphone": null
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "email": "string",
- "id": 0,
- "language": "string",
- "lastactive": { },
- "name": "string",
- "phone": "string",
- "presentation": "string",
- "startpage": 0,
- "surname": "string",
- "title": "string",
- "avatar_b64": "string",
- "photo_b64": "string",
- "settings": [- {- "id": 0,
- "key": "string",
- "value": "string",
- "userid": 0
 }
 ],
- "roles": [- {- "id": 0,
- "name": "string"
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| userids | string comma separated list of userids | 
| year_from | integer | 
| month_from | integer | 
| year_to | integer | 
| month_to | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "userid": 0,
- "year": 0,
- "month": 0,
- "budget": 0,
- "pipeline": 0,
- "weeks": [- {- "week": "string",
- "budget": 0,
- "pipeline": 0,
- "days": [- {- "day": "string",
- "budget": 0,
- "pipeline": 0
 }
 ]
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id required | integer | 
| name | string | 
| object (Department4)  | |
| object (ListedUser)  | |
| Array of objects (ListedUser)  | 
{- "id": 0,
- "name": "string",
- "parent": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "users": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| parentid | integer | 
| managerid | integer | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "parent": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "users": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ]
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id required | integer | 
| name | string | 
| object (Department4)  | |
| object (ListedUser)  | |
| Array of objects (ListedUser)  | 
{- "id": 0,
- "name": "string",
- "parent": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "users": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "parent": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "users": [- {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 ]
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| active | integer | 
| cellphone | string | 
| customerid | integer | 
| Array of objects (Department1)  | |
| string | |
| object (UserEmailSetting)  | |
| id | integer | 
| language | string | 
| lastactive | object | 
| name | string | 
| phone | string | 
| presentation | string | 
| object (UserProperty)  | |
| Array of objects (UserSetting)  | |
| startpage | integer DEPRECATED | 
| surname | string | 
| title | string | 
| avatar_b64 | string | 
| photo_b64 | string | 
{- "active": 0,
- "cellphone": "string",
- "customerid": 0,
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "email": "string",
- "emailsettings": {- "id": 0,
- "email": "string",
- "name": "string",
- "username": "string",
- "password": "string",
- "port": "string",
- "authtype": 0,
- "incominserver": "string",
- "smtpserver": "string",
- "userid": 0,
- "signature": "string",
- "defaultemailtype": 0
 },
- "id": 0,
- "language": "string",
- "lastactive": { },
- "name": "string",
- "phone": "string",
- "presentation": "string",
- "properties": {- "userid": 0,
- "licenceadmin": 0,
- "elevatedaccount": 0,
- "salescoach": 0,
- "crmversion": 0
 },
- "settings": [- {- "id": 0,
- "key": "string",
- "value": "string",
- "userid": 0
 }
 ],
- "startpage": 0,
- "surname": "string",
- "title": "string",
- "avatar_b64": "string",
- "photo_b64": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "active": 0,
- "cellphone": "string",
- "customerid": 0,
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "email": "string",
- "emailsettings": {- "id": 0,
- "email": "string",
- "name": "string",
- "username": "string",
- "password": "string",
- "port": "string",
- "authtype": 0,
- "incominserver": "string",
- "smtpserver": "string",
- "userid": 0,
- "signature": "string",
- "defaultemailtype": 0
 },
- "id": 0,
- "language": "string",
- "lastactive": { },
- "name": "string",
- "phone": "string",
- "presentation": "string",
- "properties": {- "userid": 0,
- "licenceadmin": 0,
- "elevatedaccount": 0,
- "salescoach": 0,
- "crmversion": 0
 },
- "settings": [- {- "id": 0,
- "key": "string",
- "value": "string",
- "userid": 0
 }
 ],
- "startpage": 0,
- "surname": "string",
- "title": "string",
- "avatar_b64": "string",
- "photo_b64": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
{- "id": 0,
- "name": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "id_asc" "id_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name | string | 
| surname | string | 
| string | |
| language | string | 
| startpage | integer DEPRECATED | 
| active | integer | 
| phone | string | 
| cellphone | string | 
| title | string | 
| presentation | string | 
| avatar_b64 | string | 
| photo_b64 | string | 
| Array of objects (Department1)  | |
| Array of objects (IdObject)  | 
{- "id": 0,
- "name": "string",
- "surname": "string",
- "email": "string",
- "language": "string",
- "startpage": 0,
- "active": 0,
- "phone": "string",
- "cellphone": "string",
- "title": "string",
- "presentation": "string",
- "avatar_b64": "string",
- "photo_b64": "string",
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "active": 0,
- "cellphone": "string",
- "departments": [- {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentdepartment": {- "id": 0,
- "name": "string",
- "parentid": 0,
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "manager": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 }
 ],
- "email": "string",
- "id": 0,
- "language": "string",
- "lastactive": { },
- "name": "string",
- "phone": "string",
- "presentation": "string",
- "startpage": 0,
- "surname": "string",
- "title": "string",
- "avatar_b64": "string",
- "photo_b64": "string",
- "settings": [- {- "id": 0,
- "key": "string",
- "value": "string",
- "userid": 0
 }
 ],
- "roles": [- {- "id": 0,
- "name": "string"
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| userid required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| userids | string comma separated list of userids | 
| year_from | integer | 
| month_from | integer | 
| year_to | integer | 
| month_to | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "userid": 0,
- "year": 0,
- "month": 0,
- "budget": 0,
- "pipeline": 0,
- "weeks": [- {- "week": "string",
- "budget": 0,
- "pipeline": 0,
- "days": [- {- "day": "string",
- "budget": 0,
- "pipeline": 0
 }
 ]
 }
 ]
 }
 ]
 }
]| userid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| budget | integer | 
| pipeline | integer | 
{- "budget": 0,
- "pipeline": 0
}| userid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| userid required | integer | 
| year required | integer | 
| month required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "userid": 0,
- "year": 0,
- "month": 0,
- "budget": 0,
- "pipeline": 0,
- "weeks": [- {- "week": "string",
- "budget": 0,
- "pipeline": 0,
- "days": [- {- "day": "string",
- "budget": 0,
- "pipeline": 0
 }
 ]
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| userid required | integer | 
| sorting required | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc"  | 
| location required | string  Default:  "dashboard"  Enum: "dashboard" "all"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "title": "string",
- "type": "string",
- "subtitle": "string",
- "value": "string",
- "period": "string",
- "average": "string"
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| default | integer | 
| name required | string | 
| step required | integer | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "step": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| default | integer | 
| step | integer | 
| sorting required | string  Default:  "name_asc"  Enum: "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "default": 0,
- "name": "string",
- "step": 0
 }
 ]
 }
]Use this method to change root level properties of an orderstatus.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| default | integer | 
| name required | string | 
| step required | integer | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "step": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "default": 0,
- "name": "string",
- "step": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| active | integer | 
| description | string | 
| startdate | string <date>  Date 'YYYY-MM-DD' for when the Mission starts | 
| enddate | string <date>  Date 'YYYY-MM-DD' for when the Mission ends | 
| script | string | 
| string | |
| video | string | 
| terms | string | 
| userid | integer | 
| typeid | integer | 
{- "name": "string",
- "active": 0,
- "description": "string",
- "startdate": "1985-11-17",
- "enddate": "2010-03-15",
- "script": "string",
- "pdf": "string",
- "video": "string",
- "terms": "string",
- "userid": 0,
- "typeid": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| active | integer  Default:  1  Enum: 0 1  get active or inactive missions | 
| datespan_start | string <date-time>  | 
| datespan_end | string <date-time>  | 
| ownerid | integer id property of the user owning the mission | 
| ownerids | string comma separated list of userids | 
| typeid | integer id property of the mission type | 
| sorting | string  Default:  "enddate_asc"  Enum: "enddate_asc" "enddate_desc" "startdate_asc" "startdate_desc" "name_asc" "name_desc" "number_asc" "number_desc"  | 
| accountids | string | 
| activityids | string | 
| articleids | string | 
| userids | string | 
| orderids | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]Use this method to change root level properties of an mission.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| active | integer | 
| description | string | 
| startdate | string <date>  Date 'YYYY-MM-DD' for when the Mission starts | 
| enddate | string <date>  Date 'YYYY-MM-DD' for when the Mission ends | 
| script | string | 
| string | |
| video | string | 
| terms | string | 
| userid | integer | 
| typeid | integer | 
{- "name": "string",
- "active": 0,
- "description": "string",
- "startdate": "1985-11-17",
- "enddate": "2010-03-15",
- "script": "string",
- "pdf": "string",
- "video": "string",
- "terms": "string",
- "userid": 0,
- "typeid": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "description": "string",
- "startdate": "1985-11-17",
- "enddate": "2010-03-15",
- "active": 0,
- "script": "string",
- "pdf": "string",
- "video": "string",
- "terms": "string",
- "userid": 0,
- "typeid": 0
}| mission_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| result | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| mission_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| result | integer | 
| typeids | string comma separated list of activity type ids | 
| userids | string comma separated list of user ids | 
| start | string <date-time>  | 
| end | string <date-time>  | 
| sorting | string  Default:  "number_asc"  Enum: "start_asc" "start_desc" "end_asc" "end_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z",
- "activity": {- "id": 0,
- "description": "string",
- "date": "2019-08-24",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 }
 }
 ]
 }
]| mission_id required | integer | 
| connection_type required | string | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| result | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| mission_id required | integer | 
| connection_type required | string | 
| other_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| type | string | 
| connectid | integer | 
| result | integer | 
| tscreated | string <date-time>  | 
| tsupdated | string <date-time>  | 
{- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
}| mission_id required | integer | 
| connection_type required | string | 
| other_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
{- "type": "string",
- "connectid": 0,
- "result": 0,
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
}| mission_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| accountids | string comma separated list of accountids | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "activity": {- "id": 0,
- "description": "string",
- "date": "2019-08-24",
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "type": {- "id": 0,
- "name": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 }
 },
- "accountid": 0,
- "accountname": "string",
- "lastactivity": "2019-08-24T14:15:22Z",
- "completed": true
 }
 ],
- "totalactive": 0,
- "totalcompleted": 0
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| number required | string | 
| number2 | string or null | 
| description | string or null | 
| object (IdObject)  | |
| start required | string <date-time>  | 
| end required | string <date-time>  | 
| installdate | string or null <date-time>  | 
| value | number | 
| financed | integer | 
| object (IdObject)  | |
| object (IdObject)  | |
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| object (IdObject)  | |
| reminderdays required | integer | 
| externalkey | string or null | 
{- "number": "string",
- "number2": "nullable string",
- "description": "nullable string",
- "status": {- "id": 0
 },
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "installdate": "2019-08-24T14:15:22Z",
- "value": 0,
- "financed": 0,
- "financeaccount": {- "id": 0
 },
- "type": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "responsible": {- "id": 0
 },
- "responsibleservice": {- "id": 0
 },
- "reminderdays": 0,
- "externalkey": "nullable string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| number | string | 
| fulltext | string | 
| contactids | string comma separated list of contactids | 
| financeaccountids | string comma separated list of accountids | 
| responsibleids | string comma separated list of userids | 
| responsibleserviceids | string comma separated list of userids | 
| typeids | string comma separated list of objectcategoryids | 
| statusids | string comma separated list of objectcategoryids | 
| objectids | string comma separated list of objectids | 
| externalkey | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "number": "nullable string",
- "number2": "nullable string",
- "description": "nullable string",
- "status": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "installdate": "2019-08-24T14:15:22Z",
- "value": "nullable number",
- "financed": 0,
- "financeaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "type": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "responsible": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "responsibleservice": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "reminderdays": 0,
- "externalkey": "nullable string"
 }
 ]
 }
]| contract_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| location | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "contractid": 0,
- "objectid": 0,
- "location": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| contract_id required | integer | 
| object_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| location | string or null | 
{- "location": "nullable string"
}| contract_id required | integer | 
| object_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
{- "contractid": 0,
- "objectid": 0,
- "location": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}| contract_id required | integer | 
| activity_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
{- "activityid": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}| contract_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "activityid": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| number | string or null | 
| number2 | string or null | 
| description | string or null | 
| object (IdObject)  | |
| start | string <date-time>  | 
| end | string <date-time>  | 
| installdate | string or null <date-time>  | 
| value | number or null | 
| financed | integer or null | 
| IdObject (object) or (object or null) | |
| object (IdObject)  | |
| object (IdObject)  | |
| IdObject (object) or (object or null) | |
| IdObject (object) or (object or null) | |
| reminderdays | integer or null | 
| externalkey | string or null | 
{- "number": "nullable string",
- "number2": "nullable string",
- "description": "nullable string",
- "status": {- "id": 0
 },
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "installdate": "2019-08-24T14:15:22Z",
- "value": "nullable number",
- "financed": 0,
- "financeaccount": {- "id": 0
 },
- "type": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "responsible": {- "id": 0
 },
- "responsibleservice": {- "id": 0
 },
- "reminderdays": 0,
- "externalkey": "nullable string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "number": "nullable string",
- "number2": "nullable string",
- "description": "nullable string",
- "status": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "installdate": "2019-08-24T14:15:22Z",
- "value": "nullable number",
- "financed": 0,
- "financeaccount": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "type": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "responsible": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "responsibleservice": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "reminderdays": 0,
- "externalkey": "nullable string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| description | string or null | 
| serialnumber | string or null | 
| required | object (IdObject)  | 
| object (IdObject)  | |
| url | string or null | 
| image1 | string or null | 
| image2 | string or null | 
| image3 | string or null | 
| externalkey | string or null | 
| Array of objects (IdObject)  | 
{- "name": "string",
- "description": "nullable string",
- "serialnumber": "nullable string",
- "manufacturer": {- "id": 0
 },
- "modelgroup": {- "id": 0
 },
- "url": "nullable string",
- "image1": "nullable string",
- "image2": "nullable string",
- "image3": "nullable string",
- "externalkey": "nullable string",
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| serialnumber | string | 
| fulltext | string | 
| name | string | 
| manufacturerids | string comma separated list of accountids | 
| modelgroupids | string comma separated list of objectcategoryids | 
| externalkey | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "nullable string",
- "description": "nullable string",
- "serialnumber": "nullable string",
- "manufacturer": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "modelgroup": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "url": "nullable string",
- "image1": "nullable string",
- "image2": "nullable string",
- "image3": "nullable string",
- "externalkey": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| type required | string | 
| name required | string or null | 
| sort | integer | 
| default | integer | 
{- "type": "string",
- "name": "nullable string",
- "sort": 0,
- "default": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| type | string  Enum: "modelgroup" "contracttype" "contractstatus"  | 
| name | string | 
| default | integer | 
| sorting | string  Enum: "order_asc" "order_desc" "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| type | string | 
| name | string or null | 
| sort | integer | 
| default | integer | 
{- "type": "string",
- "name": "nullable string",
- "sort": 0,
- "default": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string or null | 
| description | string or null | 
| serialnumber | string or null | 
| object (IdObject)  | |
| object (IdObject)  | |
| url | string or null | 
| image1 | string or null | 
| image2 | string or null | 
| image3 | string or null | 
| externalkey | string or null | 
| Array of objects (IdObject)  | 
{- "name": "nullable string",
- "description": "nullable string",
- "serialnumber": "nullable string",
- "manufacturer": {- "id": 0
 },
- "modelgroup": {- "id": 0
 },
- "url": "nullable string",
- "image1": "nullable string",
- "image2": "nullable string",
- "image3": "nullable string",
- "externalkey": "nullable string",
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "nullable string",
- "description": "nullable string",
- "serialnumber": "nullable string",
- "manufacturer": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "modelgroup": {- "id": 0,
- "type": "nullable string",
- "name": "nullable string",
- "sort": 0,
- "default": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 },
- "url": "nullable string",
- "image1": "nullable string",
- "image2": "nullable string",
- "image3": "nullable string",
- "externalkey": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}| object_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| location | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "contractid": 0,
- "objectid": 0,
- "location": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| object_id required | integer | 
| contract_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| location | string or null | 
{- "location": "nullable string"
}| object_id required | integer | 
| contract_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
{- "contractid": 0,
- "objectid": 0,
- "location": "nullable string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}| object_id required | integer | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "objectid": 0,
- "otherid": 0
 }
 ]
 }
]| object_id required | integer | 
| relation_type required | string | 
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "type": "string",
- "objectid": 0,
- "otherid": 0
 }
 ]
 }
]| object_id required | integer | 
| relation_type required | string | 
| other_id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
{- "type": "string",
- "objectid": 0,
- "otherid": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| currency | string or null | 
| object (PortalSettings)  | |
| object (SalesSettings)  | |
| object (FieldsalesSettings)  | |
| object (ConsentSettings)  | 
{- "currency": "nullable string",
- "portal": {- "name": "string",
- "street": "string",
- "zip": "string",
- "city": "string",
- "country": "string",
- "phone": "string",
- "fax": "string",
- "email": "string",
- "plusgiro": "string",
- "bankgiro": "string",
- "vatnumber": "string",
- "vatregnumber": "string",
- "url": "string",
- "iban": "nullable string",
- "swift": "nullable string",
- "seat": "nullable string"
 },
- "sales": {- "defaultinterest": 0
 },
- "fieldsales": {- "activitytypes": {- "assigned": 0,
- "knock": 0,
- "note": 0,
- "return": 0,
- "notavailable": 0,
- "rejected": 0,
- "erpaccepted": 0,
- "erpdeclined": 0
 },
- "numberporting": {- "group": 0,
- "name": 0,
- "number": 0,
- "phone": 0
 },
- "filter": 0,
- "headlines": [- {- "title": "string",
- "body": "string"
 }
 ],
- "erpurl": "string",
- "signaturefields": [- 0
 ],
- "terms": "string"
 },
- "consent": {- "logofileid": 0,
- "email": {- "fromemail": "string",
- "fromname": "string",
- "user": "string",
- "port": "string",
- "server": "string",
- "body": "string",
- "password": "string",
- "auth": 0,
- "userid": 0,
- "type": 0
 }
 }
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "currency": "nullable string",
- "portal": {- "name": "string",
- "street": "string",
- "zip": "string",
- "city": "string",
- "country": "string",
- "phone": "string",
- "fax": "string",
- "email": "string",
- "plusgiro": "string",
- "bankgiro": "string",
- "vatnumber": "string",
- "vatregnumber": "string",
- "url": "string",
- "iban": "nullable string",
- "swift": "nullable string",
- "seat": "nullable string"
 },
- "sales": {- "defaultinterest": 0
 },
- "fieldsales": {- "activitytypes": {- "assigned": 0,
- "knock": 0,
- "note": 0,
- "return": 0,
- "notavailable": 0,
- "rejected": 0,
- "erpaccepted": 0,
- "erpdeclined": 0
 },
- "numberporting": {- "group": 0,
- "name": 0,
- "number": 0,
- "phone": 0
 },
- "filter": 0,
- "headlines": [- {- "title": "string",
- "body": "string"
 }
 ],
- "erpurl": "string",
- "signaturefields": [- 0
 ],
- "terms": "string"
 },
- "consent": {- "logofileid": 0,
- "email": {- "fromemail": "string",
- "fromname": "string",
- "user": "string",
- "port": "string",
- "server": "string",
- "body": "string",
- "password": "string",
- "auth": 0,
- "userid": 0,
- "type": 0
 }
 }
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| internalname | string | 
| sorting | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc" "title_asc" "title_desc" "internalname_asc" "internalname_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "title": "string",
- "url": "string",
- "internalname": "string",
- "sort": 0,
- "enabled": true,
- "parameters": [- {- "id": 0,
- "name": "string",
- "value": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "title": "string",
- "url": "string",
- "internalname": "string",
- "sort": 0,
- "enabled": true,
- "parameters": [- {- "id": 0,
- "name": "string",
- "value": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
}This API offers no support for animated QR codes, which will be mandatory for all signatures by 2024-05-01. New implementations must use Cirrus API Gateway instead.
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| abstract required | string userVisibleData | 
| digest | string userNonVisibleData | 
| personalnumber | string personalNumber of the person supposed to sign | 
| requirement | object | 
| nonce | string | 
{- "abstract": "string",
- "digest": "string",
- "personalnumber": "string",
- "requirement": { },
- "nonce": "string"
}{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| signature required | integer | 
| type required | string | 
| otherid required | integer | 
{- "signature": 0,
- "type": "string",
- "otherid": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| type | string  Value: "order"  | 
| otherid | integer | 
| signatureid | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "signature": 0,
- "type": "string",
- "otherid": 0,
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| nonce | string | 
| status | string | 
| hintcode | string | 
| orderref | string | 
| completiondata | string | 
| errorcode | string | 
{- "nonce": "string",
- "status": "string",
- "hintcode": "string",
- "orderref": "string",
- "completiondata": "string",
- "errorcode": "string"
}{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "message": "string",
- "status": "string",
- "orderref": "string",
- "personalnumber": "string",
- "autostarttoken": "string",
- "hintcode": "string",
- "completiondata": {- "user": {- "personalnumber": "string",
- "name": "string",
- "givenname": "string",
- "surname": "string"
 },
- "device": {- "ipaddress": "string"
 },
- "cert": {- "notbefore": "string",
- "notafter": "string"
 },
- "signature": "string",
- "ocspresponse": "string"
 }
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| placedate required | string <date>  Date for when the quote was placed | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| required | object (IdObject)  | 
| object (IdObject)  | |
| object (IdObject)  | |
| validtodate | string <date>  Last date the quote is valid (inclusive) | 
| price | number | 
| currencycode | string | 
| currencyrate | number | 
| statisticsprice | number | 
| alternativevalue | number | 
| alternateid | string | 
| externalcomment | string | 
| deliverydate | string <date>  Date for when the quote will be delivered | 
| deliveryname | string | 
| deliverystreet | string | 
| deliveryzip | string | 
| deliverycity | string | 
| deliverycountry | string | 
| externalkey | string | 
| internalcomment | string | 
| marking | string | 
| referencecode | string | 
| extracode | string | 
| Array of objects (IdObject)  | |
| Array of objects (QuoteRow)  | 
{- "placedate": "2019-01-25",
- "status": {- "id": 0
 },
- "deliveryterm": {- "id": 0
 },
- "paymentterm": {- "id": 0
 },
- "deliverytype": {- "id": 0
 },
- "account": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "user": {- "id": 0
 },
- "user2": {- "id": 0
 },
- "opportunity": {- "id": 0
 },
- "validtodate": "2019-01-25",
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "tags": [- {- "id": 0
 }
 ],
- "rows": [- {- "id": 0,
- "quoteid": 0,
- "alternateid": "string",
- "quantity": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "costcenter": "string",
- "externalkey": "nullable string",
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "sortgroup": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| externalkey | string | 
| altnumber | string | 
| accountids | string comma separated list of accountids | 
| statusids | string comma separated list of statusids | 
| contactids | string comma separated list of contactids | 
| opportunityids | string comma separated list of opportunityids | 
| userids | string comma separated list of userids | 
| user2ids | string comma separated list of userids | 
| orderids | string comma separated list of orderids | 
| activityids | string comma separated list of activityids | 
| placedate_start | string Start of date span formatted(YYYY-MM-DD) | 
| placedate_end | string End of date span formatted(YYYY-MM-DD) | 
| validtodate_start | string Start of date span formatted(YYYY-MM-DD) | 
| validtodate_end | string End of date span formatted(YYYY-MM-DD) | 
| deliverydate_start | string Start of date span formatted(YYYY-MM-DD) | 
| deliverydate_end | string End of date span formatted(YYYY-MM-DD) | 
| fulltext | string this property will be used in a search in internal and external comments | 
| sorting required | string  Default:  "placedate_desc"  Enum: "placedate_asc" "placedate_desc" "validtodate_asc" "validtodate_desc" "deliverydate_asc" "deliverydate_desc" "number_asc" "number_desc" "externalkey_asc" "externalkey_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25",
- "validtodate": "2019-01-25",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z",
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string",
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 },
- "deliveryterm": {- "id": 0,
- "name": "string"
 },
- "paymentterm": {- "id": 0,
- "name": "string"
 },
- "deliverytype": {- "id": 0,
- "name": "string"
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "user2": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "rows": [- {- "id": 0,
- "quoteid": 0,
- "alternateid": "string",
- "quantity": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "costcenter": "string",
- "externalkey": "nullable string",
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": null,
- "name": null,
- "unit": null,
- "min": null,
- "max": null
 },
- "article": {- "id": null,
- "name": null,
- "number": null
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "sortgroup": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| quoteid required | integer | 
| type required | string | 
| otherid required | integer | 
| value | string | 
{- "quoteid": 0,
- "type": "string",
- "otherid": 0,
- "value": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| type | string  Enum: "account" "opportunity" "contact" "user" "user2" "order"  | 
| otherid | integer | 
| quoteid | integer | 
| value | string | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "quoteid": 0,
- "otherid": 0,
- "type": "string",
- "value": "string"
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| sortorder | integer | 
| isdefault | integer | 
| metatype | string | 
{- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| metatype | string  Enum: "active" "expired" "denied" "order"  | 
| default | integer | 
| sorting required | string  Default:  "sorting_asc"  Enum: "sorting_asc" "sorting_desc" "name_asc" "name_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string",
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| sortorder | integer | 
| isdefault | integer | 
| metatype | string | 
{- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string",
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
}Use this method to change root level properties of a quote.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| price | number | 
| currencycode | string | 
| currencyrate | number | 
| statisticsprice | number | 
| alternativevalue | number | 
| buyprice | number | 
| discounted | boolean | 
| placedate | string <date>  Date for when the quote was placed | 
| validtodate | string <date>  Last date the quote is valid (inclusive) | 
| alternateid | string | 
| externalcomment | string | 
| deliverydate | string <date>  Date for when the quote will be delivered | 
| deliveryname | string | 
| deliverystreet | string | 
| deliveryzip | string | 
| deliverycity | string | 
| deliverycountry | string | 
| externalkey | string | 
| internalcomment | string | 
| marking | string | 
| referencecode | string | 
| extracode | string | 
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| object (IdObject)  | |
| Array of objects (IdObject)  | |
| Array of objects (QuoteRow)  | 
{- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25",
- "validtodate": "2019-01-25",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "user": {- "id": 0
 },
- "user2": {- "id": 0
 },
- "account": {- "id": 0
 },
- "contact": {- "id": 0
 },
- "opportunity": {- "id": 0
 },
- "status": {- "id": 0
 },
- "deliveryterm": {- "id": 0
 },
- "paymentterm": {- "id": 0
 },
- "deliverytype": {- "id": 0
 },
- "tags": [- {- "id": 0
 }
 ],
- "rows": [- {- "id": 0,
- "quoteid": 0,
- "alternateid": "string",
- "quantity": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "costcenter": "string",
- "externalkey": "nullable string",
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "sortgroup": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "discounted": true,
- "placedate": "2019-01-25",
- "validtodate": "2019-01-25",
- "alternateid": "string",
- "externalcomment": "string",
- "deliverydate": "2019-01-25",
- "deliveryname": "string",
- "deliverystreet": "string",
- "deliveryzip": "string",
- "deliverycity": "string",
- "deliverycountry": "string",
- "externalkey": "string",
- "internalcomment": "string",
- "marking": "string",
- "referencecode": "string",
- "extracode": "string",
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z",
- "status": {- "id": 0,
- "name": "string",
- "sortorder": 0,
- "isdefault": 0,
- "metatype": "string",
- "tscreated": "2019-08-24T14:15:22Z",
- "tsupdated": "2019-08-24T14:15:22Z"
 },
- "deliveryterm": {- "id": 0,
- "name": "string"
 },
- "paymentterm": {- "id": 0,
- "name": "string"
 },
- "deliverytype": {- "id": 0,
- "name": "string"
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "user2": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 },
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "contact": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "officephone": "string",
- "cellphone": "string",
- "idnumber": "string"
 },
- "opportunity": {- "id": 0,
- "title": "string",
- "description": "string",
- "estimatedenddate": "string",
- "account": {- "id": 0,
- "name": "string",
- "alt_name": "string",
- "number": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string",
- "coordinates": {- "latitude": "nullable string",
- "longitude": "nullable string",
- "distance": "nullable string"
 }
 },
- "user": {- "id": 0,
- "name": "string",
- "surname": "string",
- "title": "string",
- "email": "string",
- "phone": "string",
- "cellphone": "string"
 }
 },
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ],
- "rows": [- {- "id": 0,
- "quoteid": 0,
- "alternateid": "string",
- "quantity": 0,
- "discountspecial": 0,
- "sortorder": 0,
- "price": 0,
- "currencycode": "string",
- "currencyrate": 0,
- "statisticsprice": 0,
- "alternativevalue": 0,
- "buyprice": 0,
- "specification": "string",
- "discountpercent": 0,
- "discountamount": 0,
- "costcenter": "string",
- "externalkey": "nullable string",
- "pricewarning": 0,
- "totalprice": 0,
- "totalpricestatistics": 0,
- "totalalternativevalue": 0,
- "pricelist": {- "id": 0,
- "name": "string",
- "active": true,
- "start": "2019-08-24T14:15:22Z",
- "stop": "2019-08-24T14:15:22Z",
- "default": true,
- "externalkey": "string",
- "strict": true,
- "description": "string",
- "currencyid": 0,
- "prices": [- {- "id": 0,
- "price": 0,
- "discountpercent": 0,
- "discountamount": 0,
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 }
 }
 ]
 },
- "pricegroup": {- "id": 0,
- "name": "string",
- "unit": {- "id": 0,
- "name": "string"
 },
- "min": 0,
- "max": 0
 },
- "article": {- "id": 0,
- "name": "string",
- "number": "string"
 },
- "articleunit": {- "id": 0,
- "name": "string"
 },
- "sortgroup": 0,
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| accountid | integer | 
| contactid | integer | 
| date | string <date-time>  | 
| sorting required | string  Default:  "date_desc"  Enum: "date_asc" "date_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "sender": "string",
- "to": [- "string"
 ],
- "cc": [- "string"
 ],
- "subject": "string",
- "date": "2019-01-25T00:00:00.000Z",
- "body": "string",
- "text": "string"
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "sender": "string",
- "to": [- "string"
 ],
- "cc": [- "string"
 ],
- "subject": "string",
- "date": "2019-01-25T00:00:00.000Z",
- "body": "string",
- "text": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| sort required | integer | 
| externalkey | string | 
{- "name": "string",
- "sort": 0,
- "externalkey": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| sort | integer | 
| sorting | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc" "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "sort": 0,
- "externalkey": "string"
 }
 ]
 }
]Use this method to change root level properties of a sorgroup.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| sort | integer | 
| externalkey | string | 
{- "name": "string",
- "sort": 0,
- "externalkey": "string"
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sort": 0,
- "externalkey": "string"
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| resource required | string | 
| html | string | 
| url | string | 
| active | integer | 
| Array of objects (IdObject)  | |
| Array of objects (IdObject)  | |
| Array of objects (IdObject)  | 
{- "name": "string",
- "resource": "string",
- "html": "string",
- "url": "string",
- "active": 0,
- "languages": [- {- "id": 0
 }
 ],
- "categories": [- {- "id": 0
 }
 ],
- "tags": [- {- "id": 0
 }
 ]
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| active | integer  Enum: 0 1  get active or inactive templates | 
| resource | string  Enum: "order" "quote"  | 
| languageids | string Only list templates with languages in this comma separated list of ids | 
| categoryids | string Only list templates with categories in this comma separated list of ids | 
| sorting | string  Default:  "number_asc"  Enum: "name_asc" "name_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "description": "string",
- "resource": "string",
- "html": "string",
- "url": "string",
- "active": 0,
- "languages": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ],
- "categories": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| sort | integer | 
{- "name": "string",
- "sort": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| sorting | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc" "name_asc" "name_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| sort | integer | 
{- "name": "string",
- "sort": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sort": 0
}| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name required | string | 
| sort | integer | 
{- "name": "string",
- "sort": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| sorting | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc" "name_asc" "name_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| sort | integer | 
{- "name": "string",
- "sort": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sort": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| resource | string | 
| html | string | 
| url | string | 
| active | integer | 
| Array of objects (IdObject)  | |
| Array of objects (IdObject)  | |
| Array of objects (IdObject)  | 
{- "name": "string",
- "resource": "string",
- "html": "string",
- "url": "string",
- "active": 0,
- "languages": [- {- "id": 0
 }
 ],
- "categories": [- {- "id": 0
 }
 ],
- "tags": [- {- "id": 0
 }
 ]
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "description": "string",
- "resource": "string",
- "html": "string",
- "url": "string",
- "active": 0,
- "languages": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ],
- "categories": [- {- "id": 0,
- "name": "string",
- "sort": 0
 }
 ],
- "tags": [- {- "id": 0,
- "name": "string",
- "type": "company"
 }
 ]
}TODO: do it properly
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| active | integer | 
| name | string | 
| note | string | 
| startdate | string | 
| orderstartdate | string | 
| typeid | integer | 
| statusid | integer | 
| intervalid | integer | 
| periodid | integer | 
| nextperiodid | integer | 
| renewalperiodid | integer | 
| renewalid | integer | 
| advanceid | integer | 
| parentid | integer | 
| userid | integer | 
| contactid | integer | 
{- "id": 0,
- "active": 0,
- "name": "string",
- "note": "string",
- "startdate": "string",
- "orderstartdate": "string",
- "typeid": 0,
- "statusid": 0,
- "intervalid": 0,
- "periodid": 0,
- "nextperiodid": 0,
- "renewalperiodid": 0,
- "renewalid": 0,
- "advanceid": 0,
- "parentid": 0,
- "userid": 0,
- "contactid": 0
}TODO.
| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| sort | integer | 
| sorting | string  Default:  "sort_asc"  Enum: "sort_asc" "sort_desc" "name_asc" "name_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "active": 0,
- "name": "string",
- "note": "string",
- "startdate": "string",
- "orderstartdate": "string",
- "typeid": 0,
- "statusid": 0,
- "intervalid": 0,
- "periodid": 0,
- "nextperiodid": 0,
- "renewalperiodid": 0,
- "renewalid": 0,
- "advanceid": 0,
- "parentid": 0,
- "userid": 0,
- "contactid": 0
 }
 ]
 }
]| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| name | string | 
| sort | integer | 
| externalkey | string | 
{- "name": "string",
- "sort": 0,
- "externalkey": "string"
}TODO.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sort": 0,
- "externalkey": "string"
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| dynamicfield_id | Array of integers Query by dynamicfield value. Each dynamicfield_id must be paired with a dynamicfield_val parameter in order to filter | 
| dynamicfield_val | Array of strings Query by dynamicfield value. Each dynamicfield_val must be paired with a dynamicfield_id parameter in order to filter | 
| accountid | integer | 
| sorting | string  Default:  "name_asc"  Enum: "name_asc" "name_desc" "number_asc" "number_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "type": {- "id": 0,
- "name": "string"
 }
 }
 ]
 }
]| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| sortorder required | integer | 
{- "id": 0,
- "name": "string",
- "sortorder": 0
}| page | integer  Default:  1 Page number | 
| per_page | integer  Default:  10 Results per page {error_msg}, max pagesize is 50 | 
| name | string | 
| sortorder | integer | 
| sorting required | string  Default:  "sortorder_asc"  Enum: "name_asc" "name_desc" "sortorder_asc" "sortorder_desc"  | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
[- {- "page": 0,
- "pages": 0,
- "per_page": 0,
- "total": 0,
- "items": [- {- "id": 0,
- "name": "string",
- "sortorder": 0
 }
 ]
 }
]Use this method to change root level properties of an leadstatus.
| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
| id | integer | 
| name required | string | 
| sortorder required | integer | 
{- "id": 0,
- "name": "string",
- "sortorder": 0
}| id required | integer | 
| X-Token | string X-Token can not be blank unless using a Bearer token from new auth | 
| X-Fields | string Mask which fields to include in the response '{id,name,description, etc}' | 
{- "id": 0,
- "name": "string",
- "sortorder": 0
}