Graph
Json
Request
[
{
"PlannedTime": "2018-01-30T12:23:43.683",
"ColorCode": "#e842f4",
"Duration": "00:30:00",
"UserEmail": "travis@sequens.ch",
"JobTemplateTitle": "API Example 1",
"Parameters": [
{
"Type": "Text",
"StatusTransitionTitle": "Create",
"Title": "Task description",
"Name": "TASK",
"DefaultValue": "Write something...",
"ForTemplateOnly": true,
"Settings": [
{
"Key": "Lines",
"Value": "4"
}
]
},
{
"Type": "Contact",
"StatusTransitionTitle": "Create",
"Title": "Customer address",
"MinOcc": 1,
"Name": "CUSTOMER",
"Contact": {
"Reference": "AB123",
"LanguageCode": "en",
"Team": "ABM",
"Salutation": "Mr",
"CompanyName": "Sequens IT",
"FirstName": "James",
"Name": "Molleston",
"Role": "CEO",
"Remarks": "A great guy",
"Location": {
"Street": "Waisenhausplatz",
"StreetNumber": "22",
"StreetSupplement": "Building A",
"Zip": "3011",
"City": "Bern",
"CountryIsoCode": "CH"
},
"ContactDetails": [
{
"Name": "Work-Email",
"Type": "Email",
"Value": "jm@goana.net",
"IsPreferred": false
},
{
"Type": "Phone",
"Value": "+4131 333 09 00",
"IsPreferred": true
}
]
}
},
{
"Type": "Number",
"StatusTransitionTitle": "Finish",
"Title": "Time used (hours)",
"MinOcc": 1,
"Name": "TIME",
"ForTemplateOnly": true
},
{
"Type": "Dropdown",
"StatusTransitionTitle": "Finish",
"Title": "Charge as",
"Name": "TYPE",
"DefaultValue": "Full charge",
"DataCollectionValues": [
{
"Key": "A",
"Label": "Warranty"
},
{
"Key": "B",
"Label": "Full charge"
}
],
"ForTemplateOnly": true
}
]
}
]
Response
[
{
"Id": 1,
"Key": "64e7dc1a-2e8b-4b65-b222-8379102a1762",
"Successful": true,
"Message": "created"
}
]
Mobile View
Create
Finish