Rajveer singh jhala
unread,Nov 26, 2018, 4:26:26 AM11/26/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Capsule API
Hello All,
Can anyone tell us the JSON format to add custom field from V2 API. Right now i am using below format but it is giving error.
$json_array = [
"kase" => [
"id" => xxxxxx,
"party" => [
"id" => xxxxxx,
"name" => "Workout Email",
],
"owner" => [
"id" => xxxxxx,
"username" => "Workout"
],
"description" => "Scope and design web site shopping cart",
"name" => "testds1 Consulting",
"fields" => [
"definition"=>[ ["name"=>"Employee Name","value"=> "ds ds test"] ]
]
]
];
it is giving error
"errors":[{"message":"invalid type for field","resource":"kase","field":"fields"}]}