You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api_data.js
+282-1Lines changed: 282 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -960,6 +960,123 @@ define({ "api": [
960
960
]
961
961
}
962
962
},
963
+
{
964
+
"type": "Post",
965
+
"url": "/crm/client/:id/contact/",
966
+
"title": "Add Contact",
967
+
"name": "AddContact",
968
+
"order": "7",
969
+
"group": "CRM",
970
+
"version": "1.0.0",
971
+
"parameter": {
972
+
"fields": {
973
+
"Contact Fields": [
974
+
{
975
+
"group": "Contact Fields",
976
+
"type": "Number",
977
+
"optional": true,
978
+
"field": "id",
979
+
"description": "<p>The ID of the client's contact.</p>"
980
+
},
981
+
{
982
+
"group": "Contact Fields",
983
+
"type": "String",
984
+
"optional": true,
985
+
"field": "firstName",
986
+
"description": "<p>First name of contact.</p>"
987
+
},
988
+
{
989
+
"group": "Contact Fields",
990
+
"type": "String",
991
+
"optional": true,
992
+
"field": "lastName",
993
+
"description": "<p>Last name of contact.</p>"
994
+
},
995
+
{
996
+
"group": "Contact Fields",
997
+
"type": "String",
998
+
"optional": true,
999
+
"field": "email",
1000
+
"description": "<p>First name of contact.</p>"
1001
+
},
1002
+
{
1003
+
"group": "Contact Fields",
1004
+
"type": "String",
1005
+
"optional": true,
1006
+
"field": "mobile",
1007
+
"description": "<p>Mobile number.</p>"
1008
+
},
1009
+
{
1010
+
"group": "Contact Fields",
1011
+
"type": "String",
1012
+
"optional": true,
1013
+
"field": "mobileAreaCode",
1014
+
"description": "<p>Mobile number area code.</p>"
1015
+
},
1016
+
{
1017
+
"group": "Contact Fields",
1018
+
"type": "String",
1019
+
"optional": true,
1020
+
"field": "workPhone",
1021
+
"description": "<p>Work phone number.</p>"
1022
+
},
1023
+
{
1024
+
"group": "Contact Fields",
1025
+
"type": "String",
1026
+
"optional": true,
1027
+
"field": "workPhoneAreaCode",
1028
+
"description": "<p>Work phone number area code.</p>"
1029
+
},
1030
+
{
1031
+
"group": "Contact Fields",
1032
+
"type": "String",
1033
+
"optional": true,
1034
+
"field": "homePhone",
1035
+
"description": "<p>Home phone number.</p>"
1036
+
},
1037
+
{
1038
+
"group": "Contact Fields",
1039
+
"type": "String",
1040
+
"optional": true,
1041
+
"field": "homePhoneAreaCode",
1042
+
"description": "<p>Home phone number area code.</p>"
1043
+
},
1044
+
{
1045
+
"group": "Contact Fields",
1046
+
"type": "Object",
1047
+
"optional": true,
1048
+
"field": "custom",
1049
+
"description": "<p>Object of custom variables.</p>"
1050
+
},
1051
+
{
1052
+
"group": "Contact Fields",
1053
+
"type": "Object",
1054
+
"optional": true,
1055
+
"field": "custom.OBJECT_1",
1056
+
"description": "<p>Custom variable of a client. To set values requires an Object of {"value": "Example", "type": "String"}</p>"
1057
+
}
1058
+
]
1059
+
}
1060
+
},
1061
+
"examples": [
1062
+
{
1063
+
"title": "CURL Example",
1064
+
"content": "curl -A YourCompany -u admin:password -X \"POST\" https://service.formitize.com/api/rest/v2/crm/client/77/contact/ {POSTFIELDS}",
"description": "<p>Work phone number area code.</p>"
1193
+
},
1194
+
{
1195
+
"group": "Contact Fields",
1196
+
"type": "String",
1197
+
"optional": true,
1198
+
"field": "homePhone",
1199
+
"description": "<p>Home phone number.</p>"
1200
+
},
1201
+
{
1202
+
"group": "Contact Fields",
1203
+
"type": "String",
1204
+
"optional": true,
1205
+
"field": "homePhoneAreaCode",
1206
+
"description": "<p>Home phone number area code.</p>"
1207
+
},
1208
+
{
1209
+
"group": "Contact Fields",
1210
+
"type": "Object",
1211
+
"optional": true,
1212
+
"field": "custom",
1213
+
"description": "<p>Object of custom variables.</p>"
1214
+
},
1215
+
{
1216
+
"group": "Contact Fields",
1217
+
"type": "Object",
1218
+
"optional": true,
1219
+
"field": "custom.OBJECT_1",
1220
+
"description": "<p>Custom variable of a client. To set values requires an Object of {"value": "Example", "type": "String"}</p>"
1221
+
}
1222
+
]
1223
+
}
1224
+
},
1225
+
"examples": [
1226
+
{
1227
+
"title": "CURL Example",
1228
+
"content": "curl -A YourCompany -u admin:password -X \"POST\" https://service.formitize.com/api/rest/v2/crm/client/77/contact/78 {POSTFIELDS}",
0 commit comments